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 want to run this command at startup:

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

It turns off my second gpu. I added it to rc.local but it doesn't work.

Can someone help? Thanks in advance!

share|improve this question

closed as too localized by Luis Alvarado Mar 14 '13 at 15:59

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I was wrong. It doesn't work with Unity either. –  Garips Oct 16 '11 at 16:39
    
Into what script should i put this command, so that it is executed on login? –  Garips Oct 16 '11 at 16:40

Browse other questions tagged or ask your own question.