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.

Running ubuntu 12.10 on a dell XPS15. To disable the second GPU on my laptop i used this code in my rc.local file (/etc/rc.local):

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

This code is doing its job just fine, but when i shutdown or reboot the pc (both with terminal commands and with the buttons in the top right) the GUI disappears and i am stuck with just the wallpaper and my laptop does not power down.

Does anyone know how to fix the this?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.