Skip to content

Instantly share code, notes, and snippets.

@modulitos
Last active October 8, 2016 08:02
Embed
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