With playing Alien Arena I have to go to the terminal, go to dir where the game is at and type ./crx to play the game. I am trying to make a icon on the desktop for it to work. So far everything I have tried does not work. I can double click on the crx file in nautil and it works from there. Somewhere when i copy it of to the desktop it stops.
This is Ubuntu 9.04 64 bit.
Thanks for any advice
-
There are a variety of ways you could do this. The simplest would be to make a shell script. Make a text file, call it AlienArena.sh and put something like this inside it:
Code:#!/bin/bash [B]/path/to/game/dir/crx[/B]
Code:$ chmod +x AlienArena.sh
You could also customize a .desktop file with an icon and such. It'll look prettier, but it's slightly more complicated. A .desktop is essentially a text file with variable definitions, such as this:
Code:[Desktop Entry] Name=Alien Arena 2009 Comment=First Person Shooter [B]Exec=/path/to/game/dir/crx Icon=/path/to/alien/icon[/B] Terminal=false Type=Application NoDisplay=true Encoding=UTF-8 StartupNotify=true
-
WoW I would have never figured that out on my own ! Thanks
I can see why people just run things from the terminal
LOL -
You're welcome. All you need to do is change the bolded text in the files above and you're good to go. It'll save you time in the long run. You only have this problem because you installed it yourself. The official packages should install the .desktop to /usr/applications automatically.
-
Hey help me what I have wrong with this Desktop Entry for Doom3; Right now it will look like it will load up and then does nothing. This is ubuntu 64..
Code:[Desktop Entry] Encoding=UTF-8 Name=Doom3 GenericName=Doom3 Comment=FPS Exec=/home/joeelmex/Games/Doom3/doom3 Terminal=True StartupNotify=true MultipleArgs=true Type=Application Categories=Games
-
Try taking out the Terminal=True line.
Help me make this into an icon on the Desktop
Discussion in 'Linux Compatibility and Software' started by joeelmex, Jun 21, 2009.