Arch Linux安裝後的問題,archlinux安裝後

來源:互聯網
上載者:User

Arch Linux安裝後的問題,archlinux安裝後

1.lspci、screenfetch等指令卡住,關機卡住的問題
本機顯卡規模是hd610+GTX950m

google了一下解決方案是把nouveau加入黑名單
那麼就直接裝N卡驅動
嘗試閉源驅動解決方案>>
結果是Xorg無法啟動,google了一下沒找到有效方法,詳細問題懶得折騰了。。
嘗試Bumblebee解決方案>>

1 pacman -S bumblebee bumblebee-settings mesa nvidia2 gpasswd -a riocke bumblebee3 systemctl start bumblebeed4 systemctl enable bumblebeed

測試

optirun glxgears -info//假如只是沒有軟體包的話,archlinux對應的軟體包為mesa-demos//還可以使用另外一個命令進行測試optirun glxspheres64    //64位optirun glxspheres32    //32位


2.fcitx無法啟動IME
我使用的是i3、lightdm
解決方案:
vi /etc/profile    或者    vi ~/.xprofile添加下面三(注意底線)行

1 export GTK_IM_MODULE=fcitx2 export QT_IM_MODULE=fcitx3 export XMODIFIERS=@im=fcitx


3.dmenu無法正常啟動程式

 vim /etc/profile 

嘗試

 dmenu_run 


4.畫面撕裂(tearing)
雙顯卡(i+n)使用bumblebee方案在不禁用核顯的情況下,是使用核顯作為顯示輸出。
那麼畫面撕裂自然和核顯有關了,在archwiki找到的解決方案是使用一個intel的X設定檔。
在/etc/X11/xorg.conf.d/目錄下建立檔案20-intel.conf,檔案內容為

1 Section "Device"2     Identifier "Intel Graphics"3     Driver "intel"4     Option "AccelMethod" "sna" //指定加速方式,預設為sna,其他還有uxa5     Option “TearFree” “true” //防止撕裂,僅作用於sna加速方式6 EndSection

如何使用的是i3wm這類沒有動畫合成的wm,那麼安裝compton可以極大改善動畫過渡效果,設定開機自啟的方法參見相應de/wm的應用開機自啟部分。i3wm的方法是向設定檔中添加exec命令。

 vim ~/.config/i3/config 

1 #autostart2 exec --no-startup-id compton 3 //命令選項部分參見archwiki用於解決i3wm滑鼠指標常處於忙碌狀態的問題

 
5.暫時的亮度調節

 echo xxx > /sys/class/backlight/intel_backlight/brightness 


7. ntfs、mtp掛載方法
安裝ntfs-3g gvfs-mtp

  pacman -S ntfs-3g gvfs-mtp  

 

8.字型基本最佳化方法
 autohint + hintslight + rgb + lcdlight

這樣基本可以做到字型的清晰銳利

具體實現方法參見發行版相關fontconfig部分

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.