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

As title, I've installed BUMBLEBEE and now my NVidia Graphics card is enabled. However, I have to type "optirun" before the command I want to executed (e.x. $ optirun openrave) to change the graphics card to the NVidia OPTIMUS one, and it sometimes cause some trouble if I don't. Is there any tip that I can automatically change the Graphics Card mode to the NVidia OPTIMUS one?

share|improve this question

Yes, you can install the program alacarte, from where you can edit the execute commands for your program links (those you usually access programs with if you start them through your Desktop Environment).

So, if you want a game, let's say teeworlds, to always use your high performance graphics mode, you open alacarte, go to Games, then on teeworld. Then you click on "edit" and set the command from teeworlds to optirun teeworlds. Now teeworlds will use the high performance graphics mode whenever you start it through the dash, the Unity Launcher, the gnome-shell, e.g. but not if you execute teeworlds from the terminal or the command prompt (Alt+F2)

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.