Built-in tool to make .desktop files quick and easy!

Hey all,

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!
Greetings,
OSW :male_detective:

///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 :slight_smile:

1 Like

Thanks for this. Just created the launcher for this and already added two starters. What is missing however (and that’s in the GUI/command, not your explaining) is that with the GUI you cannot set a categories selection (or I am missing something). But very useful this!