Ubuntu 之旅—— 調整擴充屏解析度,ubuntu之旅

來源:互聯網
上載者:User

Ubuntu 之旅—— 調整擴充屏解析度,ubuntu之旅

開啟終端輸入

xrandr

 

得到如下資訊

Screen 0: minimum 320 x 200, current 2390 x 768, maximum 8192 x 8192LVDS connected primary 1366x768+1024+0 (normal left inverted right x axis y axis) 309mm x 174mm   1366x768       60.0*+   1280x720       59.9     1152x768       59.8     1024x768       59.9     800x600        59.9     848x480        59.7     720x480        59.7     640x480        59.4  HDMI-0 disconnected (normal left inverted right x axis y axis)VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm   1024x768       60.0*    800x600        60.3     56.2     848x480        60.0     640x480        59.9  

 

這裡 LVDS是我的筆記本螢幕,外接顯示器是 VGA-0

我的外接顯示器的解析度是1440x900,而列表最大的是1024x768,所以需要增加我需要的解析度:

cvt 1440 900

得到輸出如下:

# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHzModeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync

這裡Modeline後面的內容就是需要添加的內容,然後添加:

sudo xrandr --addmode VGA-0 "1440x900_60.00"

最後改變顯示

sudo xrandr --output VGA-0 --mode "1440x900_60.00"

完成。

 

可能在每次開機時,又不能使用設定好的解析度了,使用如下命令:

sudo gedit ~/.profile

在 ~/.profile 最末尾添加修改解析度的命令:

cvt 1440 900xrandr --newmode "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsyncxrandr --addmode VGA-0 "1440x900_60.00"

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.