阿就操場啊~
2016年11月29日 星期二
Ubuntu16.04調整MBPR上的螢幕亮度
在MacBookPro Retina上面跑
Ubuntu 16.04
,遇到螢幕亮度無法調整的問題。參考
《Can't adjust screen brightness on Macbook Pro 10,1 Ubuntu 13.10》
,用root輸入:
setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0
上面那行放在 /etc/rc.local 裡面,開機後就會直接執行
_EOF_
2016年11月27日 星期日
重新掛載NFS檔案系統
某些時候像是跳電後,原本透過網路掛載的NFS檔案系統會卡住,這時候要強迫所有的NFS檔案系統重新掛載可以執行下面指令:
sudo mount -a
-t nfs
-o remount
_EOF_
2016年11月26日 星期六
Ubuntu16.04裝在MBPR上的無線網路
在MacBookPro上面裝完Ubuntu 16.04後,無線網路不會動。用iwconfig也看不到有無線網路的樣子,除了之前寫過的
《舊MacBook Pro安裝Ubuntu Gnome後,修正無線網路不會動的問題 》
解法以,另外又找到另外一個更簡單的解法
《Wireless driver not working for Broadcom BCM43224 after latest update》
,只要依序做下面三個指令:
sudo apt-get install linux-headers-generic
sudo apt-get install --reinstall bcmwl-kernel-source
sudo modprobe wl
_EOF_
2016年11月25日 星期五
從Fedora24升級到fc25
這次系統升級的部分參考
《What’s new in Fedora 25 Workstation》
,這邊介紹
建議的更新方式
。打開終端機之後,依找下面步驟一步一步來做:
sudo dnf upgrade --refresh
sudo dnf install dnf-plugin-system-upgrade
sudo dnf system-upgrade download --releasever=25
sudo dnf system-upgrade reboot
Read more »
2016年11月19日 星期六
Linux調整螢幕顯示設定
Linux的X視窗下,可用xrandr(
x resize and rotation
)指令直接調整螢幕相關設定,像是亮度、旋轉等等而不需要重新啟動X視窗,指令如下:
xrandr
xrandr | grep connected
xrandr --output HDMI-1 --brightness 0.87
xrandr --output VGA1 --mode 1440x900_60.00
Read more »
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)