Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
nickkennedy
PostPosted: Jul 29, 2011 - 01:35 AM
Rookie


Joined: Aug 26, 2008
Posts: 27
Location: Arkansas

I like to set my fonts larger in the editor, but I have to do it each time I start-up Studio 4. I thought maybe the settings would stay when I did a "save project", but that was not the case. Is there a way to set default editor settings that will be used with every startup?

Thanks,

Nick
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Jul 29, 2011 - 09:18 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62941
Location: (using avr-gcc in) Finchingfield, Essex, England

Have a rummage around in here:

Code:
E:\Program Files\Atmel\AVR Tools\AvrStudio4\edit>grep -i font *
AvrStudio.ini:[Font]
AvrStudio_asm.ini:[Font]
AvrStudio_c.ini:[Font]
AvrStudio_gas.ini:[Font]

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
nickkennedy
PostPosted: Jul 29, 2011 - 01:02 PM
Rookie


Joined: Aug 26, 2008
Posts: 27
Location: Arkansas

Thanks. I thought I was there when I edited that file but when I tried to save it I realized I was not permitted to save/edit files in the Program Files folder. This is with Windows Vista. Just a brief Google search makes me believe that doing it wouldn't be easy. Any magic key?
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Jul 29, 2011 - 01:42 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62941
Location: (using avr-gcc in) Finchingfield, Essex, England

I bet its that bloody UAC again! (first thing I switched off when I started to use Vista)

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
nickkennedy
PostPosted: Jul 29, 2011 - 05:52 PM
Rookie


Joined: Aug 26, 2008
Posts: 27
Location: Arkansas

OK I'm there at last. Thanks Clawson. First I had to F1 to Windows HELP and type "turn off UAC", then followed the instructions to shut if off. Then reboot, go to the "edit" folder for Studio 4, right-click & select "properties" for that folder and under the security tab, gave ordinary users like myself modify access. Then I could edit and change the file. I did it once for the generic editor properties but found I needed to do it for the file for .c specific file properties, since that's my current file type.

All there is to it. I turned UAC back on since I'm a bit of a security novice and want to be careful. I left the folder with "modify" rights enabled (I hope) so if I decide I want to make more changes I won't need to go through all this again.

Nick
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
thygate
PostPosted: Jul 29, 2011 - 07:13 PM
Resident


Joined: Sep 19, 2005
Posts: 768
Location: Belgium

Can't you just run notepad (or whatever other program you used to edit the .ini files) in Administrator mode and edit the files ? Works fine on Win7 with no further changes to UAC or file/dir privileges.
 
 View user's profile Send private message  
Reply with quote Back to top
flubberlab
PostPosted: Jun 26, 2012 - 12:17 AM
Newbie


Joined: Jun 08, 2008
Posts: 9


Quote:
Have a rummage around in here:

Code:
E:\Program Files\Atmel\AVR Tools\AvrStudio4\edit>grep -i font *
AvrStudio.ini:[Font]
AvrStudio_asm.ini:[Font]
AvrStudio_c.ini:[Font]
AvrStudio_gas.ini:[Font]


In AVR Studio 4.19 I can get the FaceName to be persistent, but not Size. Both INI file settings are updated immediately after OK in "Font and Color Settings" (no Save Project required), but only FaceName is honored after reopening AVR Studio. The font size is always 10 regardless of the INI file setting.

Any idea how to get AVR Studio to remember font size as well?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits