Xonotic Forums

Full Version: How to create a (desktop) link to the autobuild game? (Fedora)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I feel silly, I recently switched to Fedora. I'm trying to create a link to xonotic on my desktop but for whatever reason it doesn't work. I tired it with:

Code:
ln -s /home/noclue/Downloads/xonotic/xonotic-linux-glx /home/noclue/desktop/xonotic


It would create a link on my desktop however the link just wouldn't work.
I then tried it by rightclicking on Desktop and creatining a link to programm then select the xonotic-linux-glx file.  If i run this file in the terminal i see that xonotic tries to exec some files but it doesn't start.

Can someone help a noob telling how to create a link on desktop that starts the autobuild? If i head to the folder and clicking the file the game will run but i just can't seem to get a shortcut to work.
You can try creating your own .desktop file in $HOME/.local/share/applications

I'm using two of them:



Xonotic-GLX.desktop:

Code:
[Desktop Entry]
Type=Application

Name=Xonotic-GLX 0.8.5
GenericName=AFPS game
Comment=Arena FPS powered by DarkPlaces engine (GLX backend)

Exec=bash -c "vblank_mode=0 /media/almacen/jul_Apps/Xonotic-0.8.5/xonotic-linux-glx.sh"
Path=/media/almacen/jul_Apps/Xonotic-0.8.5
Icon=/home/julius/.jul-media/icons/xonotic.png

Categories=Shooter;Game;

StartupNotify=false
Terminal=false



Xonotic-SDL.desktop:

Code:
[Desktop Entry]
Type=Application

Name=Xonotic-SDL 0.8.5
GenericName=AFPS game
Comment=Arena FPS powered by DarkPlaces engine (SDL2 backend)

Exec=bash -c "vblank_mode=0 /media/almacen/jul_Apps/Xonotic-0.8.5/xonotic-linux-sdl.sh"
Path=/media/almacen/jul_Apps/Xonotic-0.8.5
Icon=/home/julius/.jul-media/icons/xonotic.png

Categories=Shooter;Game;

StartupNotify=false
Terminal=false
Ty that did the trick Smile