Last active
October 8, 2016 08:02
-
-
Save modulitos/eb18ec7099ea3f3557a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Initializes Bumblebee for multi-screen functionality. | |
xorg_process=$(ps aux | grep 'Xorg' | awk '{print $2}') | |
kill -15 $xorg_process | |
rmmod nvidia | |
tee /proc/acpi/bbswitch <<<OFF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment