Linux雙顯示器配置解析度

2021-07-28 23:23:22 字數 2262 閱讀 5955

首先,需要先執行xrandr

xrandr
輸出:

screen 0: minimum 8 x 8, current 2646 x 1024, maximum 32767 x 32767

edp1 connected primary 1366x768+0+256 (normal left inverted right x axis y axis) 344mm x 193mm

1366x768 60.00*+

1360x768 59.80

59.96

1280x720 60.00

1024x768 60.00

1024x576 60.00

960x540 60.00

800x600 60.32

56.25

864x486 60.00

640x480 59.94

720x405 60.00

680x384 60.00

640x360 60.00

dp1 disconnected (normal left inverted right x axis y axis)

dp2 connected 1280x1024+1366+0 (normal left inverted right x axis y axis) 0mm x 0mm

1280x1024 59.89*+

1024x768 60.00

800x600 60.32

56.25

848x480 60.00

640x480 59.94

1280x1024_60.00

59.89

hdmi1 disconnected (normal left inverted right x axis y axis)

hdmi2 disconnected (normal left inverted right x axis y axis)

virtual1 disconnected (normal left inverted right x axis y axis)

之後,執行

cvt 1280 1024
注意:這裡的解析度是你最適合的解析度。

輸出:

# 1280x1024 59.89 hz (cvt 1.31m4) hsync: 63.67 khz; pclk: 109.00 mhz

modeline "1280x1024_60.00"

109.00

1280

1368

1496

1712

1024

1027

1034

1063 -hsync +vsync

之後,執行

xrandr --newmode "1280x1024_60.00"

109.00

1280

1368

1496

1712

1024

1027

1034

1063

-hsync

+vsync

這裡沒有輸出

繼續執行

xrandr --addmode dp2 "1280x1024_60.00"
啟用模式

xrandr--

output

dp2-

-mode

"1280x1024_60

.00"

最後,為了之後不必每次都執行這些指令,我們需要把指令寫入到.profile中,

vim /etc/profile
在檔案最後新增

xrandr --newmode "1280x1024_60.00"

109.00

1280

1368

1496

1712

1024

1027

1034

1063

-hsync

+vsync

xrandr --addmode dp2 "1280x1024_60.00"

顯示器解析度

液晶顯示器和傳統的crt顯示器,解析度都是重要的引數之一。解析度是指單位面積顯示畫素的數量。液晶顯示器的物理解析度是固定不變的,對於crt顯示器而言,只要調整電子束的偏轉電壓,就可以改變不同的解析度。但是在液晶顯示器裡面實現起來就複雜得多了,必須要通過運算來模擬出顯示效果,實際上的解析度是沒有改變的...

顯示器解析度

普屏液晶顯示器專用桌布 1280 1024 桌布 1600 1200 桌布 1920 1440 桌布 16 10寬屏液晶專用桌布 1280 800 寬屏桌布 1440 900 寬屏桌布 1680 1050 寬屏桌布 1920 1200 寬屏桌布 2560 1600 寬屏桌布 16 9液晶和寬屏本本桌...

Ubuntu雙顯示器解析度問題

1 xrandr 得到顯示器名稱,我的為 vga1,筆記本為lvds1,大家以此類推,不一定都一樣 2 sudo xrandr newmode 1440x900 60.00 106.50 1440 1528 1672 1904 900 903 909 934 hsync vsync 引數就是cvt結...