|
楼主 |
发表于 2004-10-14 23:57:26
|
显示全部楼层
I did it today and wrote down the following, the key point is /dev/gpmdata, by using this. you can has Mouse both in Console and X peacefully.
Modify "/etc/conf.d/gpm"
MOUSE=ps2
MOUSEDEV=/dev/psaux
If you want Xwindows to use gpm output data (/dev/gpmdata) as mouse device, which supposes to be a good way, you should also have:
REPEAT_TYPE = raw
3.2 Configuration of Xwindows for Virtual PC
# xorgconfig
Mouse protocol type: PS/2
Enable Emulate3Buttons: Yes
Mouse device: /dev/gpmdata (here you enter /dev/gpmdata to make sure your X mouse will work well with GPM)
Keyboard: Generic 104-Key PC
Country: UK, US
Horizontal sync rate: 6: 31.5 - 48.5 no-interlaced SVGA 1024x768 @ 60 HZ; 800x600 @ 72 HZ
Vertical sync rate: (1): 50 - 70
Video Card: (22): S3 Generic (not Virge or Savage)
Video Card Memory: (6): 8192K
Default Colour depth: (4): 16 bits
# startx |
|