Oct 20, 2018

[HDGEM] How to create .desktop file in Xfce

If you prefer to work in a GUI (allows browsing for the icon) you can create the .desktop file using

exo-desktop-item-edit --create-new ~/.local/share/applications

But the new file will only have category Application so will probably need editing afterwards.

Example desktop file:

eclipse.desktop in ~/.local/share/applications:
[Desktop Entry]  Version=1.0  Type=Application  Encoding=UTF-8  Exec=eclipse  Icon=eclipse  StartupNotify=false  Categories=X-XFCE;X-Xfce-Toplevel;  OnlyShowIn=XFCE;  Name=Eclipse  Comment=Eclipse Java IDE

Posted By Blogger to HDGEM at 1/30/2017 08:35:00 AM