Add better .desktop example
Include more of the common options and provide a better example for (potentially) more complicated custom .desktop apps.
This commit is contained in:
@@ -271,13 +271,16 @@ sudo systemctl enable btrbk.timer
|
|||||||
2. You need to `dnf install xrandr` to launch any modpacks
|
2. You need to `dnf install xrandr` to launch any modpacks
|
||||||
3. You can create a desktop icon by putting this at ~/.local/share/applications/*.desktop:
|
3. You can create a desktop icon by putting this at ~/.local/share/applications/*.desktop:
|
||||||
|
|
||||||
```
|
```conf
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Encoding=UTF-8
|
|
||||||
Name=Technic Launcher
|
|
||||||
Exec=/usr/bin/java -jar /home/ducoterra/Applications/TechnicLauncher.jar
|
|
||||||
Icon=/home/ducoterra/.icons/minecraft-launcher.png
|
|
||||||
Type=Application
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=Minecraft
|
||||||
|
Comment=Minecraft Launcher
|
||||||
|
Path=/home/ducoterra/Applications
|
||||||
|
Exec=minecraft-launcher
|
||||||
|
Icon=/home/ducoterra/Icons/minecraft-launcher.png
|
||||||
|
Terminal=false
|
||||||
Categories=Games;
|
Categories=Games;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user