ubuntu默認可選的分辨率不能夠滿足我的需求,在這里記錄增加1440*900分辨率的過程
1. 終端輸入:
cvt 1440 900
2. 修改配置文件:
vim /etc/profile
xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync xrandr --addmode DVI-0 "1440x900_60.00" xrandr --output DVI-0 --mode "1440x900_60.00"
DVI-0是顯示器名字,可用xrandr查到,
3. 系統文件的強制寫入命令:(指令模式)保存成功后再強制退出(:q!)
: w ! sudo tee %
4. 啟用修改好的配置:(終端輸入)
source /etc/profile
大功告成!!!