When you install a Snap, a .desktop
file gets
created at /var/lib/snapd/desktop/applications
. For example, after running snap install authy
,
my directory looks like this:
applications ⟩ ls -la /v/l/s/d/applications
total 8
drwxr-xr-x. 1 root root 66 Nov 20 13:23 ./
drwxr-xr-x. 1 root root 34 Nov 19 14:25 ../
-rwxr-xr-x. 1 root root 377 Nov 19 14:47 authy_authy.desktop*
-rw-r--r--. 1 root root 13 Nov 20 13:23 mimeinfo.cache
To add Authy as an entry to the KDE launcher, you need to symlink the .desktop
file to the
/usr/share/applications
directory which is searched by KDE:
sudo ln -s /var/lib/snapd/desktop/applications/authy_authy.desktop /usr/share/applications/authy_authy.desktop