Skip to content

Instantly share code, notes, and snippets.

@modulitos
Created May 23, 2014 20:59
Show Gist options
  • Save modulitos/ce89005d8c112bbf9ba2 to your computer and use it in GitHub Desktop.
Save modulitos/ce89005d8c112bbf9ba2 to your computer and use it in GitHub Desktop.
#!/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