RedHat 系列(RHEL、CentOS、Fedora)在 GNOME/KDE 圖形環境下調整解析度可透過系統設定工具,亦可使用 xrandr 指令列快速切換。以下為雙軌操作指南。






# 查看目前連接的輸出裝置與支援模式
xrandr
# 設定解析度(輸出名稱如 VGA-0, HDMI-1, eDP-1 等)
xrandr --output VGA-0 --mode 1920x1080 --rate 60
# 新增自訂模式(需先用 cvt 產生 modeline)
cvt 1920 1080 60
# 輸出範例:Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode VGA-0 "1920x1080_60.00"
xrandr --output VGA-0 --mode "1920x1080_60.00"
~/.config/monitors.xml,登入自動套用。/etc/X11/xorg.conf.d/10-monitor.conf 或使用者自啟動腳本。xrandr(需 X Server 運行)。xrandr --output HDMI-1 --right-of VGA-0 指定相對位置。GDK_SCALE=2。靈活掌握圖形與指令列雙管道,無論桌面維護或伺服器自動化部署都能輕鬆應對解析度調整需求。