You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even if the part with "icon-copying' (see below) was something that may be 'bad' for some users, the rest should be helpful for all users of a portable installation for Linux.
Prerequisites:
I use the arduino ide version 1.8.15.
I had extracted the tar onto an USB-Stick and added the "portable" folder.
That works (in principle) as expected.
What was not so good is:
If the IDE was started by double clicking the (shell script) "arduino" there will be an open terminal window, which is (most of the time) useless.
When I had used the IDE at one PC, then move to another one (with a different mount point for the stick), my setting get's lost. I found that this is, because the file "preferences.txt" uses absolute path's, if the IDE was started from a different mount point all entries pointing to the previous path will be deleted 😦 That includes the board & board-settings, the recently used sketches and so on..
Here is what I have done to improve my portable installation:
To overcome these "problems", I had added 3 files to the root of the portable installation (beside the arduino file).
To avoid the terminal, I start the IDE via a ".desktop" file.
To have an Icon for that ".desktop" file the script ArduinoStart.sh will copy an icon onto the PC, which I had added to the root of the portable installation. So when You use this installation the first time on a PC, there might by no icon for this file, but as soon as you have started it once, the "starter" will be decorated by the arduino icon.
The adjustment of the (mount-)path inside "preferences.txt" was although done by the script ArduinoStart.sh.
This modification works for me on 3 different PCs with 3 different Linux-Installations (Ubuntu 14.04 LTS - 20.04 LTS)
I hope that was interesting for other users.
Here are the contents of the files "ArduinoStart.desktop" & "ArduinoStart.sh", the 3. file "arduino.png" should be any icon (of size 48) that You want to be shown.
I had already reported my idea for an improvement on the arduino forum.
see: https://forum.arduino.cc/t/improvement-for-portable-ide-linux/875534
Even if the part with "icon-copying' (see below) was something that may be 'bad' for some users, the rest should be helpful for all users of a portable installation for Linux.
Prerequisites:
That works (in principle) as expected.
What was not so good is:
Here is what I have done to improve my portable installation:
To overcome these "problems", I had added 3 files to the root of the portable installation (beside the arduino file).
This modification works for me on 3 different PCs with 3 different Linux-Installations (Ubuntu 14.04 LTS - 20.04 LTS)
I hope that was interesting for other users.
Here are the contents of the files "ArduinoStart.desktop" & "ArduinoStart.sh", the 3. file "arduino.png" should be any icon (of size 48) that You want to be shown.
ArduinoStart.desktop:
ArduinoStart.sh:
The text was updated successfully, but these errors were encountered: