Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I wanted to create a script so i can start a game/program with the Nvidia gpu.

So that when i right-click, i get a option in the menu "Run with Nvidia card"
(Note: i am using Bumblebee)

I tried various things, but until now i dont have succes.

Can someone please help me?

share|improve this question

2 Answers 2

Assuming you want this to happen in nautilus the easiest way seems to be nautilus-actions.

The alternative is creating a nautilus extension in either C or Python (with nautilus-python).

share|improve this answer
    
Thanks for the suggestion. I will look into it as soon as i get behind my laptop... ;) –  glaasje Jun 11 '12 at 4:52
    
mmm... I think i need a bit of help for this one... I will search for that later... –  glaasje Jun 11 '12 at 14:05

Just some FYI.I believe i read it somewhere in the bumblebee wiki that states you can make a program open in optimus by default by editing something like *.deskop or something similar..i forget but im 100% percent sure..

share|improve this answer
    
I know that i can edit a .desktop file to add optirun but i would love to see it this way.. ;3 –  glaasje Jun 10 '12 at 12:05

Your Answer

 
discard

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.