34 lines
697 B
Markdown
34 lines
697 B
Markdown
### 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
|