zoukankan      html  css  js  c++  java
  • Linux系统中xorg.conf文件简介

    Linux系统中xorg.conf文件简介

    先看一个完整的xorg.conf文件,如下:

     

    通过上述代码会发现xorg.conf文件由

    Section "xxxx"

    .........

    EndSection

    对组成.下面我们主要解释一下每个节点的含义。

    一、输入设备--键盘

     

    二、输入设备--鼠标

     

    三、显示器

     

    其中,

     Identifier:显示器的惟一名称。在这些名称后面都会加上一个数字,而第一个显示器的代表数字为0(Monitor[0])。

     VendorName:显示器制造商名称。

     ModelName:显示器类型名称。

     HorizSync:与显示器兼容的水平刷新频率范围,其单位为kHz。这个设置值会同时指出是否在此显示器中使用特定的Modeline值。

    四、显卡

     

    五、Screen

    一个显示器和一个显卡组成一个screen,用Section "Screen"描述,如:

     

     

    其中,

     

     Identifier:定义一个“Screen”名称,以便在“ServerLayout”Section中进行参照。

     Device:指定“Device”Section中的名称。

     Monitor:指定“Monitor”Section中的名称。

     DefaultDepth:默认的色深(Color Depth)位数。

     Modes "800x600" "768x576" "640x480" 表示系统会默认先按照800x600的分辨率去适配,如果适配失败,则选择768x576的分辨率继续。

    六、Modes

     

    和screen章节中的Modes对应。

    7、ServerLayout

     

    ServerLayout”Section主要用于建立X Server启动时的外观,其中:

     Identifier:此ServerLayout Section的惟一名称。

     Screen:“Screen”Section指定的名称

     InputDevice:在X Server中的“InputDevice”Section名称。通常在此仅有两行设置,即Mouse[0]和Keyboard[0],也就是系统中的第一个鼠标和键盘,而其他的设备大多可以忽略。

     

  • 相关阅读:
    [leetcode] Weekly Contest 170 Summary
    [Scala] java使用scala的jar包问题:Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Short
    [git] Updates were rejected because the tip of your current branch is behind its remote counterpart.
    [Android] Installation failed due to: ''pm install-create -r -t -S 4590498' returns error 'UNSUPPORTED''
    CTF 常见操作总结
    记项目管理大作业Web项目Mandrian的全流程[其一] 整体分析: 功能划分, 组织结构
    [leetcode] 题解记录 11-20
    [leetcode] 题解记录 1-10
    记一次配置阿里云ECS GPU计算型gn5实例
    shell脚本 入门 —— 符号篇
  • 原文地址:https://www.cnblogs.com/hehe520/p/6330214.html
Copyright © 2011-2022 走看看