CentOS 7 修改螢幕解析度

2021-10-01 13:18:37 字數 1237 閱讀 7389

我的環境:

centos 7

核心版本:linux 3.10.0-514.10.2.el7.x86_64

cpu:i5 2300

aoc 19英吋顯示器

安裝完成時進入圖形介面,最高解析度是1024x768

因此想修改他的最佳解析度。

經過很長時間的測試發現,主要借助這篇文章

感謝這位仁兄!

整理出解決方案(我的實測修改1440x900解析度)

screen 0: minimum 8 x 8, current 1440 x 900, maximum 32767 x 32767

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

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

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

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

vga1 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 0mm x 0mm

1440x900 59.89*+

1024x768 60.00

800x600 60.32 56.25

848x480 60.00

640x480 59.94

1440x900_60.00 59.89

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

查詢connected字樣前面的名稱vga1他就是顯示器名稱,這後引數後面會用到

# 1440x900 59.89 hz (cvt 1.30ma) hsync: 55.93 khz; pclk: 106.50 mhz

modeline 「1440x900_60.00」 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync

–newmode後面的引數就是使用cvt的返回值modeline後面的部分

ok,解析度修改過來了。

寫全了,用到的人不是專家農不出來。

但是他說的在啟動的時候增加新解析度的方法還是可行的。

CentOS 7 修改螢幕解析度

網上很多類似的文章但是都沒有詳細步驟只是說了大概,根本不好用。我的環境 centos 7 核心版本 linux 3.10.0 514.10.2.el7.x86 64 cpu i5 2300 aoc 19英吋顯示器 安裝完成時進入圖形介面,最高解析度是1024x768 因此想修改他的最佳解析度。經過很...

Centos 7 修改系統螢幕解析度

步驟1 輸入vi boot grub2 grub.cfg並按回車鍵確定。步驟2 打到以 linux16 vmlinuz 0 rescue 開頭行內容 步驟3 按 i 進入編輯狀態,並在最後新增上 vga 0x341 341代表1024 768 32 確認無誤後按esc退出,並輸入 qw 儲存退出。解...

CentOS 7 終端設定螢幕解析度

在grub中我們修改的是 boot grub grub.conf,而在grub2中要修改的檔案是 boot grub2 grub.cfg inux16 vmlinuz 3.10.0 123.el7.x86 64 root uuid 881ac4e6 4a55 47b1 b864 555de70517...