没有 xorg.conf

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
1966ii
帖子: 32
注册时间: 2010-07-18 20:03

没有 xorg.conf

#1

帖子 1966ii » 2010-07-20 14:24

我的是ubuntu 10.04
没有xorg.conf
xorg.conf.png
http://wiki.archlinux.org/index.php/%E8 ... 6%96%87%29
中的
编辑xorg.conf文件

* 主要包括编辑 Section "ServerLayout" 和 Section "Input Device" 内容
* 这里以一个例子来讲解.

Section "ServerLayout"
Identifier "Xorg Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Touchpad" "CorePointer"
InputDevice "Touchscreen" "SendCoreEvents"

... ...
... ...

Section "InputDevice"
Identifier "Touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/event5"
Option "DeviceName" "touchscreen"
Option "MinX" "45"
Option "MinY" "75"
Option "MaxX" "960"
Option "MaxY" "915"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
EndSection
... ...
... ...

* 在 "Section "ServerLayout" 中添加 Touchscreen 项(不一定必须写作 Touchscreen ,只要跟下面的 Identifier 相对应就可以)
* 在任何地方加入触摸板的Section "Input Device", 直接拷贝上面例子中即可, 将本机触摸屏对应的 event 编号替换掉例子中的event5.
* (注意:升级内核后可能event编号会变化,如果升级内核后发现触摸屏无法使用,需要找到对应新内核的event编号并修改/etc /X11/xorg.conf)
* 重启 X ,触摸屏应该可以使用.

怎么改???


xorg.conf 不是在etc/x11中么??
ect x11.png
上次由 1966ii 在 2010-07-20 14:38,总共编辑 1 次。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 没有 xorg.conf

#2

帖子 eexpress » 2010-07-20 14:25

看你的上一个帖子的回帖先。
● 鸣学
头像
tenzu
论坛版主
帖子: 36924
注册时间: 2008-11-21 20:26

Re: 没有 xorg.conf

#3

帖子 tenzu » 2010-07-20 14:27

路径都没搞对
1966ii
帖子: 32
注册时间: 2010-07-18 20:03

Re: 没有 xorg.conf

#4

帖子 1966ii » 2010-07-20 14:35

eexpress 写了:看你的上一个帖子的回帖先。
显卡工具??
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 没有 xorg.conf

#5

帖子 adagio » 2010-07-20 14:37

在家里找xorg.conf,很好很好
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
1966ii
帖子: 32
注册时间: 2010-07-18 20:03

Re: 没有 xorg.conf

#6

帖子 1966ii » 2010-07-20 19:18

到底应该怎么办???
头像
istartagain
帖子: 1394
注册时间: 2009-05-27 21:55

Re: 没有 xorg.conf

#7

帖子 istartagain » 2010-07-20 19:56

嗯,我的arch中没有xorg.conf,debian testing也没有,所以基本可以讲:xorg.conf被废
头像
susbarbatus
帖子: 2966
注册时间: 2010-04-10 16:14
系统: Arch Linux

Re: 没有 xorg.conf

#8

帖子 susbarbatus » 2010-07-20 19:59

Xorg -configure
cp ~/xorg.conf.new /etc/X11/xorg.conf
沉迷将棋中……
头像
myjtg
帖子: 17
注册时间: 2010-06-18 20:12

Re: 没有 xorg.conf

#9

帖子 myjtg » 2010-07-20 20:19

10.04本来就没有
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 没有 xorg.conf

#10

帖子 adagio » 2010-07-20 20:41

第一 :
xorg.conf 不是在etc/x11中么??
你已经知道该去哪里找了,还要在家目录敲个 sudo vim xorg.conf ?
这是打开~/xorg.conf的命令

第二:xorg.conf 也不是在etc/x11中,而在是/etc/X11中,请仔细看看斜杠的数量和写法,以及目录名称的大小写

第三:xorg.conf文件很久以前就不必要了!当然,如果你自己编辑一个的话,它仍然可以起作用,不过从截图上看你的X运行正常,根本不必写什么xorg.conf
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
速腾1994
论坛版主
帖子: 17379
注册时间: 2008-11-01 20:43
系统: Arch+gnome

Re: 没有 xorg.conf

#11

帖子 速腾1994 » 2010-07-20 22:09

对!顶马英九他哥
owwbu
帖子: 614
注册时间: 2006-11-15 14:14

Re: 没有 xorg.conf

#12

帖子 owwbu » 2010-07-21 1:02

搞笑的是,给出来的截图1是提示vim没安装的……
头像
小麦籽
帖子: 134
注册时间: 2010-05-05 13:57
来自: 浙江—wz

Re: 没有 xorg.conf

#13

帖子 小麦籽 » 2010-07-21 7:50

:em20 没xorg.conf文件自己建个。
看步骤
cd /etc/X11
sudo touch xorg.conf键入密码(你自己知道)
sudo gedit xorg.conf

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Horizsync 30-81
Vertrefresh 56-75
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Modes "1024x768" "1152x864"
EndSubSection
EndSection





其实不用这么麻烦的。只要3行就好


Horizsync 30-81
Vertrefresh 56-75
Modes "1024x768" "1152x864"



上面的根据你自己的显示器大小来设置!还是不懂的请看wiki!
LINUX新手(永远的)别拿砖拍我!
头像
未成仙
帖子: 315
注册时间: 2009-05-27 12:05

Re: 没有 xorg.conf

#14

帖子 未成仙 » 2010-07-21 11:16

好像

VIM没有安装吧

说的是
回复