Details to .desktop files
This commit is contained in:
33
linux/.desktop.md
Normal file
33
linux/.desktop.md
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user