UPDATE: Linux installation, folders, permissions

Hello Everyone,

I moved over to Linux and installed the 1.8.10 version of the IDE according to the "...Guide/Linux" web-page.

The Linux version is Ubuntu 18.04 with the KDE Plasma 5.12.9 front-end (Kubuntu).

The installation concluded without any problems and it put the icon on the desktop.
Also ran the "arduino-linux-setup.sh" script.
When clicking on the icon the IDE starts and then exits right away.

Starting the IDE from a console it starts and exits again with the following messages:

Picked up JAVA_TOOL_OPTIONS: 
Set log4j store directory /home/peter/.arduino15
Incorrect IDE installation folder: Your copy of the IDE is installed in a subfolder of your sketchbook.
Please move the IDE to another folder.

When starting from the console with the "sudo arduino" command the IDE starts up, and it stays open with the following messages:

Picked up JAVA_TOOL_OPTIONS: 
Set log4j store directory /root/.arduino15

(java:3268): Gtk-WARNING **: 10:35:12.138: Unable to locate theme engine in module_path: "adwaita",

(java:3268): Gtk-WARNING **: 10:35:12.144: Unable to locate theme engine in module_path: "adwaita",

Just curious how to fix this and make the IDE startup from the desktop icon?

Thanks, Peter

orbanp:
Incorrect IDE installation folder: Your copy of the IDE is installed in a subfolder of your sketchbook.

Is it? The default sketchbook location is ~/Arduino. Is the Arduino IDE installed to that folder or a subfolder of that folder?

Hello Everyone,

I deleted the installation, reinstalled from another directory where the installation files were extracted to, and specified a different folder for the sketches in the "preferences.txt" file.
This seems to be working, or at least the application does not exit right away.

Thanks, Peter

I'm glad to hear it's working now. Enjoy!
Per