Files
knowledge/linux/.desktop.md
2025-11-20 16:22:31 +01:00

697 B

Where and how to structure .desktop files:

Path:

User wide

~/.local/share/applications/

System wide

/usr/share/applications/

Structure:

[Desktop Entry]
Type=Application
Name="Name"
Exec="Command to be executed"
Icon="The Icon"
Terminal=false
Categories="Categories";

Steam fix:

Steam only needs the following stuff beginning frem the first Exec for the [Desktop Entry]

Exec=/usr/bin/steam %U
Icon=steam
Terminal=false
Type=Application
Categories=Network;FileTransfer;Game;
MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink;
Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;

More may break the launch