Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

How do I customize the following game launchers to use bumblebee to run these games with my Nvidia card?

The terminal command is:

optirun game

The games are Amnesia the dark descent and Psychonauts, both installed through Ubuntu Sotware Centre.

In the old days you simply right-clicked on the launcher and edited the preferences.

share|improve this question

Fortunately this is easy...

I assume that you have the Alacarte Menu Editor installed.

If not, please go to the Ubuntu Software Center and search for:


  • First you go to the dash and type:


  • Click to open and go to Games

  • Look here for Amenesia and/or Psychonauts.

  • Double click on the name.

  • You should see a new window popping up where you can edit the launcher to your needs.

  • You should see a line of text like this:


  • edit the command so it will use you Nvidia card.

optirun /home/ivo/.apps/Bastion/Bastion/Bastion.bin.x86_64

  • click close and close the menu editor

Start your game and have fun!

share|improve this answer
alacarte is not installed by default, not in 12.04 at least. – geirha Jun 25 '12 at 12:03
@geirha: ow, thats odd I always had it installed... – glaasje Jun 25 '12 at 12:51
Yeah, since 10.10 or 11.04 or so, alacarte is no longer installed by default, so the only way to edit launchers without installing additional packages, is to edit the .desktop-files with a regular text editor. (Unless there's a way I'm not currently aware of, of course) – geirha Jun 25 '12 at 12:54
I that case i better ad a extra section... – glaasje Jun 25 '12 at 13:42
Fixed! ;3 thanks for the tip! – glaasje Jun 25 '12 at 13:47
up vote 1 down vote accepted

Thanks for all your suggestions guys, I found an app in the software centre that does exactly what I need. Its called create launcher check it out and download it from

Hope this helps!

share|improve this answer

Unless I am mistaken, you can do that by editing the .sh file in /etc/psychonauts and /etc/amnesia respectively. All you have to change is to add

optirun bash

at the beginning of the file directly after the #!/bin/bash line.

share|improve this answer

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.