ubuntu添加新的分辨率选项(干货)

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  

大功告成!!!

原文地址:https://www.cnblogs.com/niulang/p/11639826.html