Go Down

Topic: Editing the preferences.txt file (Read 965 times) previous topic - next topic

Jassper

Just wondering if there is any reason I can't organize my preferences.txt file or do they have to be read in that order? (for the Arduino interface)

Also, is it possible to make comments in that file?

Thanks.

RoyK

It appears you can order it any way you like - but before it exits the IDE rewrites the file with the current data so it will revert to the order that the IDE wants.

Jassper

#2
Oct 23, 2011, 04:28 am Last Edit: Oct 23, 2011, 05:00 am by Jassper Reason: 1
I want to change the colors of the interface and I get tired hunting for all the colors.

EDIT
I guess you can't do that either
Why put all these parameters in the preferences file if you can't change them?


Nick Gammon

You can change them. But the IDE reads them all into memory. Then when it shuts down it writes it out again, in the order it wants to.
http://www.gammon.com.au/electronics

Jassper


You can change them. But the IDE reads them all into memory. Then when it shuts down it writes it out again, in the order it wants to.


I understand that, but changing the values don't change the colors.
So far all I have been able to change is the window size. None of the colors I have tried work.

FirstName

Hi everyone. I have a strange problem. I cant upload anything to Uno. So i tried find some infromation. And find some answers about preferences.txt file. So i try to edit this file but have:

Code: [Select]
[user@localhost home]$ ~/.arduino/preferences.txt
-bash: /home/user/.arduino/preferences.txt: Permission denied



And even in root i have this:
Code: [Select]
[root@localhost user]# .arduino/preferences.txt
-bash: .arduino/preferences.txt: Permission denied


So maybe some one can help me. Thanks.

billroy


spatula


Hi everyone. I have a strange problem. I cant upload anything to Uno. So i tried find some infromation. And find some answers about preferences.txt file. So i try to edit this file but have:

Code: [Select]
[user@localhost home]$ ~/.arduino/preferences.txt
-bash: /home/user/.arduino/preferences.txt: Permission denied


And even in root i have this:
Code: [Select]
[root@localhost user]# .arduino/preferences.txt
-bash: .arduino/preferences.txt: Permission denied


So maybe some one can help me. Thanks.


You are trying to execute the preferences.txt file, which is just a text file and not an executable.

FirstName

#8
Mar 15, 2013, 04:35 pm Last Edit: Mar 15, 2013, 04:37 pm by FirstName Reason: 1

What platform are you on?

-br


Fedora 18, KDE. Linux.



Hi everyone. I have a strange problem. I cant upload anything to Uno. So i tried find some infromation. And find some answers about preferences.txt file. So i try to edit this file but have:

Code: [Select]
[user@localhost home]$ ~/.arduino/preferences.txt
-bash: /home/user/.arduino/preferences.txt: Permission denied


And even in root i have this:
Code: [Select]
[root@localhost user]# .arduino/preferences.txt
-bash: .arduino/preferences.txt: Permission denied


So maybe some one can help me. Thanks.


You are trying to execute the preferences.txt file, which is just a text file and not an executable.

Yes. Just used this
Code: [Select]
kwrite ~/.arduino/preferences.txt with normal user works fine. Thank you.

Go Up