I have done the following:
I copied
firefox.desktop
from/usr/share/applications
to~/Desktop
.In
Desktop
, I right-clicked and selected Allow launching.Repeated the same with many such
.desktop
files.I created a new folder in
Desktop
calledapps
.Moved all the
.desktop
files from~/Desktop
to~/Desktop/apps
.
The problem is that the .desktop
files are no longer launchable inside the apps
folder. By launchable, I mean when I click the .desktop
file it actually launches instead of just opening the text file.
So how do I make them launchable?
This is an issue in Ubuntu 21.04 too. There are some improvements in 21.04, such as fixing drag and drop for copy, but this issue looks like it hasn't been fixed in 21.04.
gtk-launch <desktopfile>
is the way do this – Rinzwind Jul 27 '21 at 19:33