I used to be able to copy and paste the .desktop files from use/share/applications to my desktop for shortcuts. When I first upgraded to 19.04, I selected the allow launching option on the right click context menu and they worked fine.
However, on one of the most recent updates, my shortcuts got deleted. When trying to add them and selecting allow launching, the shortcut will work but the icon will not change to the correct application and if I log out and back in again, the .desktop files are back to being opened in my text editor.
Is it possible to add .desktop files to the desktop and have them permanently launch-able again with the correct icons displaying as they used to before?
ls -al ~/.local/share/gnome-shell/extensions
gives me:
total 20
drwxr-xr-x 5 user user 4096 Apr 18 12:33 .
drwx------ 3 user user 4096 Jun 25 00:46 ..
drwxrwxr-x 3 user user 4096 Apr 12 12:14 [email protected]
drwxrwxr-x 4 user user 4096 Apr 18 12:32 [email protected]
drwxrwxr-x 5 user user 4096 Apr 18 12:33 [email protected]
Files
app, move your .desktop file into the new folder, and see if it works from there. I'll explain more later, if that works for you.ls -al ~/.local/share/gnome-shell/extensions
.ls -al ~/.local/share/gnome-shell/extensions
I also added another user and tried to add a shortcut to desktop. When selecting allow launching, it worked perfectly. So I must have something installed or enabled on my default account