How can i create any software shortcut

Whatever the environment is GNOME,KDE,LXDE how can i easyly create application shortcut.
I am useing lxde now, I INSTALLED snap and flatpak application but auto shortcut didn’t generated .I am able to open those application’s with terminal but the problem is on the background that app and the terminal both running on background if i close that running terminal the application close.

Try adding this to ~/.xprofile:

for f in /etc/profile.d/{snapd,flatpak}.sh ; do
   . "$f"
done
unset f

^ That sources the scripts that are supposed to add the snap & flatpak .desktop files to XDG_DATA_DIRS and so should make them appear in your menu.

1 Like