Originally Posted by RockDoctor
If you need to create an xorg.conf file,
sudo Xorg -configure :1
from a terminal window will create the file /root/xorg.conf.new, which you can then edit as necessary, then copy to /etc/X11/xorg.conf.
Thanks for you reply!
Xorg can't work while X window is on. So I turn it off and got then file /root/xorg.conf.new in text mode. When I finish execute the command Xorg -configure :1, linux show this message:
To test the server, run 'X -config /root/xorg.conf.new'
But after I execute this command, the displayer shows nothing but a black screen.
I move the file /root/xorg.conf.new to /etc/X11/xorg.conf and reboot the machine. But it seems that this configure file doesn't work. I don't know where the problem is. Maybe some commands need to be execute to make the configure file work. Or maybe the auto generated configure file contains some errors.
What I need is just to make X window point /dev/input/event3(I created it) to mouse. So I think a configure file about mouse and some command make it work is OK.