Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

Way to change settings.path in installed IDE folder?

Open hanabanana opened this issue 10 years ago • 4 comments

I am using 1.6.7 IDE version. I wonder if there is a way to change the settings.path in the IDE installed folder instead of modifying the preferences.txt located at the %appdata% directory either manually or via CLI. I am asking because the IDE is installed on a network drive. I've downloaded the source for an additional board onto the same network drive. I want to set up the IDE such that the additional board is recognized by the IDE no matter which computer and which platform is trying to use this IDE. A solution to modify some "global preferences" text right in the IDE folder would be optimal for me.

I tried the preference.txt in /lib folder, but it didn't have any effect. I guess the local preferences has taken precedence.

hanabanana avatar Apr 15 '16 19:04 hanabanana

IIRC there is an option for "portable" installs, looks inside the install path for preferences.txt. I can't remember off-hand where it looks exactly, though (and no time right now to check).

matthijskooijman avatar Apr 16 '16 06:04 matthijskooijman

If you create a folder named portable in the Arduino IDE installation folder then the file {Arduino IDE install folder}/portable/preferences.txt will be used.

per1234 avatar Apr 16 '16 08:04 per1234

Is it documented somewhere? If it's not, it should (I suggest)

q2dg avatar Apr 16 '16 20:04 q2dg

https://www.arduino.cc/en/Guide/PortableIDE

SbiriJJ avatar May 29 '17 16:05 SbiriJJ