Skip to content

Commit b2c1742

Browse files
better docs on editing .desktop files
1 parent 55e5296 commit b2c1742

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

desktop_integration/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,16 @@ If you already have an existing application definition for launching Quake, you
4848

4949
### Configuration
5050

51-
**3. Set the Icon path in the "quake.desktop" file (optional)**
51+
**3. Set the Icon path and other things in the ".desktop" files (optional)**
5252

5353
You'll probably want an icon graphic for the Quake application. An example icon "quake-icon-512.png" is included in the "icons" directory here. Place that icon, or any other icon graphic you want to use for this, in some permanent location where it won't get deleted.
5454

5555
Now in "quake.desktop", uncomment the line that sets its Icon attribute and edit the value to be that icon's filepath.
5656

57-
Power users may want to edit other things about the desktop files. So FYI the most important aspect of the file is that its Exec path must point at the script as described above. And of course the MimeType list is significant. The name of the desktop file itself ("quake.desktop" or "quakecleanup.desktop") is also somewhat important; it's referenced when setting the default app for filetypes as described below, and it's also referenced inside the scripts when sending error notifications.
57+
Power users may want to edit other things about the two ".desktop" files. A few notes:
58+
* The most important aspect of each file is that its Exec path must properly locate the "quakelaunch" script. If you placed that script in a directory in your PATH as was recommended, then you don't need to change anything here; otherwise you will need to make this value be the whole absolute path to "quakelaunch".
59+
* The MimeType list declares the types of files this application is expected to be able to open. The list you'll see in these .desktop files is complete for the basic/common filetypes we expect to deal with. Note that if you later choose to open other kinds of files with the app (such as 7z archives, rar archives, etc.) those associations will also get remembered. Normally there's no need to modify this list.
60+
* The name of the desktop file itself ("quake.desktop" or "quakecleanup.desktop") is also significant, so don't change it unless you know what you're doing. This name is referenced when setting the default app for filetypes as described below, and it's also referenced inside the scripts when sending error notifications.
5861

5962
### Installation
6063

0 commit comments

Comments
 (0)