Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#!/bin/bash
# Restarts Bumblebee for multi-screen functionality.
tee /proc/acpi/bbswitch <<<ON
modprobe bbswitch
optirun true
intel-virtual-output
xrandr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment