I hereby claim:
- I am sagark on github.
- I am sagark (https://keybase.io/sagark) on keybase.
- I have a public key ASDs0w7MTFvscRjQ-ADSve3VAJ0tW3X8qm5ELs5czgffOAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
sudo -s | |
echo xserver-xorg-video-intel hold | dpkg --set-selections | |
sudo apt-get update | |
sudo apt-get upgrade |
optirun true | |
##(this starts the xserver and the settings you've modded above will prevent bumblebee from shutting it off) | |
xrandr --output LVDS1 --auto --output VIRTUAL --mode 1440x900 --right-of LVDS1 | |
##(this activates the virtual screen on the intel chip - a 1440x900 external display placed to the right of the laptop's internal display) | |
screenclone -d :8 -x 1 | |
# Configuration file for Bumblebee. Values should **not** be put between quotes | |
## Server options. Any change made in this section will need a server restart | |
# to take effect. | |
[bumblebeed] | |
# The secondary Xorg server DISPLAY number | |
VirtualDisplay=:8 | |
# Should the unused Xorg server be kept running? Set this to true if waiting | |
# for X to be ready is too long and don't need power management at all. | |
KeepUnusedXServer=true |
Driver=nvidia | |
KeepUnusedXServer=true | |
PMMethod=none |
git clone git://github.com/liskin/hybrid-screenclone.git | |
cd hybrid-screenclone | |
sudo make | |
sudo cp screenclone /usr/bin/ | |
sudo chmod +x /usr/bin/screenclone | |
sudo cp xorg.conf.nvidia /etc/bumblebee/xorg.conf.nvidia | |
sudo rm /etc/X11/xorg.conf |
sudo apt-get build-dep xserver-xorg-video-intel | |
sudo apt-get source xserver-xorg-video-intel | |
cd xserver-xorg... #(the source you just downloaded, tab to autocomplete) | |
wget https://raw.github.com/liskin/patches/master/hacks/xserver-xorg-video-intel-2.18.0_virtual_crtc.patch | |
patch -p1 < xserver-xorg-video-intel-2.18.0_virtual_crtc.patch | |
sudo dpkg-buildpackage -b | |
cd .. | |
sudo dpkg --install xserver-xorg-video-intel_2.17.0-1ubuntu4_amd64.deb #(again, tab to autocomplete will let you avoid typing this long name) |
sudo apt-get install xorg-dev | |
sudo apt-get install git |
sudo add-apt-repository ppa:bumblebee/stable | |
sudo apt-get update | |
sudo apt-get install bumblebee bumblebee-nvidia |