Pages: [1]   Go Down
Author Topic: Editing the preferences.txt file  (Read 941 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Sr. Member
****
Karma: 1
Posts: 415
MEGA_Stick_II is here
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Sr. Member
****
Karma: 4
Posts: 329
KC4MM
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Sr. Member
****
Karma: 1
Posts: 415
MEGA_Stick_II is here
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?

« Last Edit: October 22, 2011, 10:00:14 pm by Jassper » Logged

Global Moderator
Melbourne, Australia
Online Online
Brattain Member
*****
Karma: 511
Posts: 19333
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

http://www.gammon.com.au/electronics

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

0
Offline Offline
Sr. Member
****
Karma: 1
Posts: 415
MEGA_Stick_II is here
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
[user@localhost home]$ ~/.arduino/preferences.txt
-bash: /home/user/.arduino/preferences.txt: Permission denied


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

So maybe some one can help me. Thanks.
Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What platform are you on?

-br
Logged

Rome, Italy
Offline Offline
Sr. Member
****
Karma: 20
Posts: 442
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
[user@localhost home]$ ~/.arduino/preferences.txt
-bash: /home/user/.arduino/preferences.txt: Permission denied

And even in root i have this:
Code:
[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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
[user@localhost home]$ ~/.arduino/preferences.txt
-bash: /home/user/.arduino/preferences.txt: Permission denied

And even in root i have this:
Code:
[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:
kwrite ~/.arduino/preferences.txt
with normal user works fine. Thank you.
« Last Edit: March 15, 2013, 10:37:39 am by FirstName » Logged

Pages: [1]   Go Up
Jump to: