I want make a desktop icon, that will launch a program. Currently I can launch app from icon in "Show Applications", but I want icon on desktop.
I know, I should use
gnome-desktop-item-edit --create-new ~/Desktop
for creating shortcuts.
The problem is - I don't know command that will launch this particular app from terminal. And obviously, I need this unknown to me command for creating shortcuts.
I installed from snap, so I can't just copy icon from /usr/share/applications.
Any advice how to find such command or move icon from "Show Applications" to desktop?
.desktop
file from terminal, how to create a shortcut for snap, or how to place it onto desktop - because these are all separate issues and the post is considered too broad, and might be closed. I can give a hint on the first one : opening.desktop
from terminal can be done either viagtk-launch
or python script(https://askubuntu.com/a/239883/295286). – Sergiy Kolodyazhnyy Jan 27 '19 at 12:52/usr/share/applications
(since it's a snap application), and (2) they tried to create a launcher by hand usinggnome-desktop-item-edit
, and again they failed as they didn't know what was to be used in the 'command' box. – pomsky Jan 27 '19 at 13:27