I have been using a .desktop file to launch the IDE since ver 1.3. I am running Ubuntu 24.04 LTS. After installing 2.3.10, the desktop launcher no longer starts the IDE. I can navigate to my 2.3.10 folder in Files, and double-click on arduino-ide_2.3.10_Linux_64bit.AppImage and the program starts as it should.
Here is the .desktop file which fails to launch:
[Desktop Entry]
Name=IDE Ver 2.3.10
Comment=Open-source electronics prototyping platform
GenericName=Arduino IDE
Exec=/home/rjw/Arduino-IDE-2.3.10/arduino-ide_2.3.10_Linux_64bit.AppImage
Icon=/home/rjw/Arduino-IDE-2.3.10/arduinoide.png
Path=/home/rjw/Arduino-IDE-2.3.10
Type=Application
Terminal=false
Categories=Development;Engineering;Electronics;IDE;
MimeType=text/x-arduino
Keywords=embedded electronics;electronics;avr;microcontroller;
StartupWMClass=Arduino IDE
I have double-checked the spelling and case of my path name and all file names.
The only thing I can think of is the --no-sandbox flag that desktop entry file adds on the Arduino IDE invocation command. This is a hacky workaround for the problem of the AppArmor security software blocking Arduino IDE from starting (arduino/arduino-ide#2429).
However, if the cause of the "desktop launcher no longer starts the IDE" fault you encountered actually was interference from AppArmor, I would expect the same problem to occur even when you launched Arduino IDE manually. However, you state that the fault did not occur when you did that:
I did find this statement you made in the other topic odd:
I'm not sure what you were referring to by "arduino-ide" in that statement. Maybe you have multiple copies of the Arduino IDE installation on your computer? When you are using the AppImage package, you will only have the arduino-ide_2.3.10_Linux_64bit.AppImage file. However, if you used the ZIP package we offer for download as an alternative to the AppImage package, then you will indeed have a file named arduino-ide in the installation from that ZIP package.
In previous versions, I have always downloaded the ZIP file and extracted it. That ZIP file contains an executable file named arduino-ide, and in the past has contained a .desktop file.
When I couldn't get my .desktop file to launch the app, I downloaded the AppImage file for the first time; I'm guessing that there's no need to download both the ZIP file and the AppImage.
In any event, having downloaded and unpacked the ZIP file, I can launch the IDE manually in Nautilus (Files) by double-clicking on arduino-ide. I can also launch the IDE in Nautilus by double-clicking on the AppImage file. As far as I can tell, there's no difference.
This leads me to believe that my .desktop file could just as easily have used