zoukankan      html  css  js  c++  java
  • ubuntu 更改默认的分辨率

    我安装完ubuntu11.04后,分辨率是1024×768,不好看,而且从System Setting -> Monitors 进行设置也无法调上去,后面在网上看到一篇博客:
    http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=346103
    后,修改分辨率成功.

    上文作者写出了自己的探索过程,我就直接写出最简单的设置方法吧:

    主要过程:
    1),选好自己适合分辨率,比如我的是1440×900,
    终端运行:
    cvt 1440 900
    输出:
    # 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
    2),把这个分辨率写入配置文件:
    命令:
    sudo vim  /etc/X11/xorg.conf 或
    sudo gedit  /etc/X11/xorg.conf

    把下述配置写入文件:
    Section "Monitor"
    Identifier "Configured Monitor"
    Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
    Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
    Option "PreferredMode" "1440x900_60.00"
    EndSection
    
    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    EndSection
    
    Section "Device"
    Identifier "Configured Video Device"
    EndSection
    

    注意:Monitor Screen Device三个Section缺一不可,下面这一行可以不要:
    Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
    
  • 相关阅读:
    版本号中Snapshot的含义
    Spring Security 过滤器链
    Spring Security入门
    签个到
    Centos下Mysql密码忘记解决办法
    idea 修改静态资源不需要重启的办法
    X509证书信任管理器类的详解
    一、DES加密和解密
    Spring Boot中的事务管理
    SpringBoot JPA实现增删改查、分页、排序、事务操作等功能
  • 原文地址:https://www.cnblogs.com/cwjcsu/p/8433099.html
Copyright © 2011-2022 走看看