怎样在使用KVM切换器的情况下设置Ubuntu 10.04.2的分辨率?

本文介绍了如何在使用KVM切换器的环境中,为Ubuntu 10.04.2系统设置1600x1200以及其他分辨率。步骤包括使用gtf命令生成Mode_Line,创建并编辑/etc/X11/xorg.conf文件,添加Monitor、Device和Screen Section,并确保Horizsync和Vertrefresh值符合显示器参数,最后重启系统以应用新的分辨率设置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. 使用gtf命令生成Mode_Line

~$ gtf 1600 1200 60

  # 1600x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 160.96 MHz
  Modeline "1600x1200_60.00"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync

 

2. 创建/etc/X11/xorg.conf

 

3. 添加内容

注意: Horizsync 和 Vertrefresh的值一定要查到自己显示器的实际参数,否则有可能导致显示器损坏!

 

Section "Device"
    Identifier    "Configured Video Device"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
    Horizsync   30-81
    Vertrefresh 56-76
    Modeline "1600x1200_60.00"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
    Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync
    Modeline "800x600_60.00"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync
    Option "dpms"
    Option "PreferredMode" "1600x1200_60.00"

EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    SubSection  "Display"
    Modes       "1600x1200" "1024x768" "800x600"
    EndSubSection
EndSection

 

5. 重启,搞定

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值