Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#!/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