.desktop

From miki
Revision as of 16:51, 12 April 2020 by Mip (talk | contribs)
Jump to navigation Jump to search

Desktop file with extension .desktop.

Tips

Example desktop file

[Desktop Entry]
Type=Application
Encoding=UTF-8
Version=1.0
Name=No Name
Name[en_US]=Firefox
Comment[en_US]=Web Browser Firefox
Comment=Web Browser Firefox
Exec=firefox-2
X-GNOME-Autostart-enabled=true

Change environment variable for application

Edit the line Exec, and replace with env program.

Note: If Exec program is not found, the .desktop file will not be listed by Gnome / desktop environment!!!

-Exec=playonlinux %F
+Exec=env LC_ALL=en_US.UTF-8 playonlinux %F