From 427edb0e8c47d92d9112df50cf704fcbdcd07db9 Mon Sep 17 00:00:00 2001 From: Hannes Date: Thu, 20 Nov 2025 16:22:31 +0100 Subject: [PATCH] Details to .desktop files --- linux/.desktop.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 linux/.desktop.md 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