
如何永久更改上網本螢幕解析度?
這是xrandr
命令後螢幕上顯示的內容
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected primary 1024x600+0+0 (normal left inverted right x axis y axis) 222mm x 125mm
1024x600 60.0*+
960x600 60.0
960x540 60.0
800x600 60.0 60.3 56.2
840x525 60.0 59.9
800x512 60.2
700x525 60.0
640x512 60.0
720x450 59.9
640x480 60.0 59.9
680x384 59.8 60.0
576x432 60.1
512x384 60.0
400x300 60.3 56.3
320x240 60.1
DVI-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
1024x768_60.00 (0x19c) 63.5MHz
h: width 1024 start 1072 end 1176 total 1328 skew 0 clock 47.8KHz
v: height 768 start 771 end 775 total 798 clock 59.9Hz
答案1
只需輸入 xrandr,這將列出所有可用的顯示器以及您可以使用的可能的模式/解析度。您將在目前使用的模式上看到一個星號 (*)。例如:
>xrandr
Screen 0: minimum 320 x 200, current 2720 x 1024, maximum 8192 x 8192
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 340mm x 270mm
1280x1024 60.02 + 75.02*
1024x768 75.08 70.07 60.00
800x600 75.00 60.32
640x480 75.00 60.00
720x400 70.08
HDMI-0 connected primary 1440x900+1280+124 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00 +
1280x1024 60.02
1440x900 59.90*
1280x800 59.91
1152x864 75.00
1024x768 70.07 60.00
800x600 60.32 56.25
640x480 66.67 60.00
720x400 70.08
要更改它,只需鍵入:
xrandr --output HDMI-0 --mode 1920x900
這會將我的第二台顯示器(透過 HDMI 連接埠連接)變更為新的解析度。
您可以設定更多參數,例如頻率等。xrandr --help
答案2
使用這個指令:
gksudo -k gedit /etc/gdm/Init/Default
將以下腳本新增至顯示管理器預設初始化設定檔中:
xrandr --newmode "1600x900" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync
xrandr --addmode VGA1 1600x900
xrandr --output VGA1 --mode 1600x900
模式詳細資訊可以從無段變速器命令
cvt -v 1440 900
其中 1440 是螢幕寬度,900 是螢幕高度。您可以從筆記型電腦資料表/製造商網站取得螢幕解析度尺寸。欲了解更多詳細信息,請查看此部落格文章