diff --git a/linux/.desktop.md b/linux/.desktop.md new file mode 100644 index 0000000..7edbb8d --- /dev/null +++ b/linux/.desktop.md @@ -0,0 +1,33 @@ +### 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