While working on adding some extra functionality to my taskbar/launcher I found this awesome (built-in) tool to make the process of making a .desktop file to put in /home/USER/.local/share/applications really easy and fast.
Just run this command :
exo-desktop-item-edit --create-new [DIRECTORY]
Or add this config :
[Desktop Entry] Version=1.0 Type=Application Name=Create Launcher Icon Comment=Easily Make .desktop File Exec=exo-desktop-item-edit --create-new [DIRECTORY] Icon=preferences-desktop-user Path= Terminal=false StartupNotify=false
to /home/USER/.local/share/applications as a .desktop file (can have any name)!
Hope it’s useful!
///EDIT : To put the Icon in the correct category in the menu’s, you also need to add this line:
Categories=Settings; or any other Category you want