I upgraded my linux distro to 20.3 so I needed to install the arduino ide again. I did it from the tar file but I had it on my desktop. The install did not create a shortcut on the desktop but I found it in /usr/share/applications. I copied it to my desktop and it seems to work however the folder arduino-1.8.19 needs to be on the desktop for the shortcut to work.
I want that folder in my home folder to save room on my desktop so I tried to edit the line
Exec="/home/sam/Desktop/arduino-1.8.19/arduino" to read
Exec="/home/sam/arduino-1-.8.19/arduino/arduino" so the shortcut points to my home folder. I think that should work.
Nano won't save it properly after the edit, I think because it's an executable with non ascii characters in it. So what do I use to edit this file so the shortcut works.
I should be able to move the shortcut to my home folder to save even more desktop room, It seems it shouldn't matter where the shortcut is
I solved this one, opened a copy of file in hexedit. put the cursor on the "D"
used the delete key until the /Desktop part was removed, saved the file and it worked. I had previously copied the folder arduino-1.8.19 to my home folder. Now the shortcut points to the right place
I simply go to the menu, select programming then right click on the Arduino icon and clock on where you want it to be. I have several versions operating on this machine without problems.