14.10顯卡驅動有問題linux
1.恢復啓動引導菜單:啓動盤 -> 運行到分區以前,不要分區 -> shift+f10 進入dos -> bootsec /fixmbr ->關閉重啓。chrome
2.easyBCD:shell
title Install Ubuntu
root (hd0,0)
kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu-14.04-desktop-i386.iso ro quiet splash
locale=zh_CN.UTF-8
initrd (hd0,0)/initrd.lzubuntu
注意iso-scan是連在一塊兒的vim
3.分區: /,swap,/home 都是邏輯分區bash
4.更新源app
cp /etc/apt/sources.list /etc/apt/sources.list.bak
ide
gedit /etc/apt/sources.list
工具
#網易163源:
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
#搜狐源:
deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
#oschina源:
deb http://mirrors.oschina.net/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.oschina.net/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe multiverse
字體
apt-get update
5.字體
文泉驛:
apt-get install ttf-wqy-zenhei
aptitude install ttf-wqy-microhei
inconsolata:
sudo apt-get install fonts-inconsolata
6.unity-tweak-tool
apt-get install unity-tweak-tool
7.http://pinyin.sogou.com/linux/?r=pinyin
#update-manager -> 在更新管理器中,選擇菜單:編輯->軟件源,點擊添加...按鈕,在彈出的窗口
#中輸入ppa:fcitx-team/nightly, 點擊添加源。-> 從新載入 -> Ubuntu軟件中心,在搜索欄輸入
#fcitx,將會搜出fcitx,而後按照通常軟件安裝步驟安裝便可完成升級。
#im-switch: apt-get install language-selector-gnome
8.Indicator Synapse
add-apt-repository ppa:noobslab/apps
apt-get update
apt-get install indicator-synapse
其默認的快捷鍵super+Alt+Spaces在Ubuntu14.04下不能用,只能採用變通的方式。先安裝Xdotool工具。
sudo apt-get install xdotool
而後在系統的快捷鍵設置keyboard中的custom shortcuts中添加新快捷鍵並用以下命令:
xdotool mousemove 1220 5 click 1 mousemove restore
其中1220
須要本身根據本身屏幕的分辨率嘗試。添加好後設置本身的快捷鍵。
9.nvidia
wget cn.download.nvidia.com/XFree86/Linux-x86/340.58/NVIDIA-Linux-x86-340.58.run
10.亮度
sudo
gedit
/etc/default/grub
sudo
update-grub
sudo
gedit
/etc/rc
.
local
在打開文件裏增長一句(加在exit 0以前)
代碼:
echo 500 > /sys/class/backlight/intel_backlight/brightness
而後保存便可
11.bumblebee
sudo add-apt-repository ppa:bumblebee/stable sudo apt-get update sudo apt-get install bumblebee bumblebee-nvidia
lspci |grep VGA
此時會輸出:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) //rev 09表示正在使用
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev ff) //rev ff表示關閉
而後輸入代碼:
optirun nvidia-settings -c :8
另外,在用擎天柱的時候可能會出現如下狀況
[ 76.145099] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ 76.145199] [ERROR]Aborting because fallback start is disabled.
而後再用
lspci |grep VGA
會發現
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev a1) //N卡打開了!!!
怎麼破呢?
這時候咱們之須要修改 /etc/bumblebee/xorg.conf.nvidia 便可。
代碼:
sudo vim /etc/bumblebee/xorg.conf.nvidia 或 sudo gedit /etc/bumblebee/xorg.conf.nvidia
將BusID "PCI:01:00:0" 前面的 # 去掉 ,而後保存便可。
而後再次輸入
optirun nvidia-settings -c :8
此次察看顯卡信息的窗口就會出現了,並且關閉後再輸入
lspci |grep VGA
會顯示N卡是關閉的。
optirun glxgears
找不到NVIDIA
sudo update-alternatives --config x86_64-linux-gnu_gl_conf
------------------------------------------------------------
0 /usr/lib/nvidia-331/ld.so.conf 8604 auto mode
1 /usr/lib/nvidia-331-prime/ld.so.conf 8603 manual mode
2 /usr/lib/nvidia-331/ld.so.conf 8604 manual mode
* 3 /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf 500 manual mode
Press enter to keep the current choice[*], or type selection number: (Tried with all the above selections)
update-alternatives: using /usr/lib/nvidia-331-prime/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in manual mode
sudo ldconfig -n
sudo update-initramfs -u
12. chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
dpkg -i google-chrome-stable_current_amd64.deb
13. qt5
下載地址爲:http://qt-project.org/。
文件名是」qt-linux-opensource-5.0.2-x86-offline.run」。
./qt-linux-opensource-5.0.2-x86-offline.run
選擇LGPL許可協議
14. tint2
apt-get install tint2
打開Unity Dash(按下Windows鍵吧),而後搜索啓動程序。
命令那欄輸入tint2,
15. Ambiance和Radiance colors主題包
sudo
add-apt-repository ppa:ravefinity-project
/ppa
sudo
apt-get update
sudo
apt-get
install
ambiance-colors radiance-colors
16.詞典sudo apt-get install stardict17.dockysudo add-apt-repository ppa:ricotz/dockysudo apt-get updatesudo apt-get install docky