xorg.conf
无    2016-10-03 00:20:16    530    0    0
tianwaifeixian

xorg折腾告一段落:

备份一下配置:


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
	FontPath	"/usr/share/fonts/75dpi/"
	FontPath	"/usr/share/fonts/cyrillic/"
	FontPath	"/usr/share/fonts/75dpi/: unscaled"
	FontPath	"/usr/share/fonts/100dpi/: unscaled"
	FontPath	"/usr/share/fonts/Type1/"
	FontPath	"/usr/share/fonts/75dpi/"
	FontPath	"/usr/share/fonts/100dpi/"
	FontPath	"/usr/share/fonts/misc/"
	FontPath	"/usr/share/fonts/encodings/"
	FontPath	"/usr/share/fonts/texlive-lm/"
	FontPath	"/usr/share/fonts/truetype/"
EndSection

Section "InputDevice"
     # generated from data in "/etc/sysconfig/mouse"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "yes"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor"
    VendorName     "Intel Corporation"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "intel"
    VendorName     "Intel Corporation"
    BusID          "PCI:00:02:0"
EndSection
	
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
		Modes      "1366x768" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

***************************************

这个文件和/etc/sysconfig/displaymanager的配置文件有关

安装:xdpyinfo  zypper in xdpyinfo

查看当前显示:

xdpyinfo | grep -B 2 resolution"

输出内容如下:

screen #0:
  dimensions:    1366x768 pixels (361x203 millimeters)
  resolution:    96x96 dots per inch

查看显卡信息:

# lspci | grep VGA

查看系统信息:

cat /proc/version

Linux version 4.7.5-1-default (geeko@buildhost) (gcc version 6.2.1 20160830 [gcc-6-branch revision 239856] (SUSE Linux) ) #1 SMP PREEMPT Mon Sep 26 08:11:45 UTC 2016 (02c4d35)

查看显卡是否关闭:

cat /proc/acpi/bbswitch

0000:01:00.0 OFF



上一篇: LInux && unix &&BSD

下一篇: X11,xorg.conf配置详解

530 人读过
立即登录, 发表评论.
没有帐号? 立即注册
0 条评论
文档导航