Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to make a shortcut on the desktop that will open the game Unreal Tournament 2004. Usually in terminal I type:

sudo aoss ut2004

But when I make a shortcut and type the command in it, it doesn't open. What can I do in order to create a working shortcut? Also, I have Ubuntu 12.4 LTS if that helps.

share|improve this question
Can you run the game without sudo? It is hanging while asking for your password. – Nathaniel Pisarski May 13 '12 at 14:37
up vote 0 down vote accepted

maybe using gksu instead of sudo will solve your problem, create a new shortcut using this command:

gksu aoss ut2004
share|improve this answer
thank you so much it works, but my profile, and saved games are missing for some reason – Nick Bailuc May 13 '12 at 14:51
about saved game did you try to find something like .aoss in your home folder. If you find that just move it to /root/ folder and I think your saved game will stay @NickyBailuc – geoh May 13 '12 at 14:54
do you always use 'sudo' to run the game? doing so will run the game under the root user and it won't open the save games from your own user. – Ali Alidoust May 13 '12 at 14:56
once again thank you so much, everything works – Nick Bailuc May 13 '12 at 14:57

Make some file with extension `.desktop`

and write this in

[Desktop Entry]
Name=Unreal Tournament 2004
Exec=gksudo aoss ut2004
Icon=(select an icon and write its path here)

then you need to write your password every time you run application but its OK.

Other way

We will make script and make .desktop file to that file, don't know will this work or no but give try.
Make file called for example aoss and write this in:

gksudo aoss ut2004

save file than open terminal and type thins command in

chmod +x aoss

and than look at how to create .desktop file and create .desktop file to that scrypt

share|improve this answer
its i got it working already, but thanks anyway – Nick Bailuc May 13 '12 at 15:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.