intel/nvidia optimus support for ubuntu

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-01-03 17:42:37 +01:00
parent 666a883c4f
commit 2798d4a6cd
2 changed files with 7 additions and 1 deletions

6
install_optimus.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
sudo aptitude install -y bumblebee
sudo aptitude install -y nvidia-331-updates
sudo aptitude install -y bumblebee-nvidia

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
sudo apt-get update sudo apt-get update
sudo apt-get full-upgrade sudo apt-get full-upgrade
sudo apt-get install meld whois zsh tmux vim atop aria2 curl pv pixz gajim tor torsocks nodejs npm terminator gsmartcontrol python-pip sudo apt-get install meld whois zsh tmux vim atop aria2 curl pv pixz gajim tor torsocks nodejs npm terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
$DIR/install_common.sh $DIR/install_common.sh