找回密码
 注册
查看: 560|回复: 2

GentoovirtualPC鼠标冲突问题

[复制链接]
发表于 2004-10-8 23:13:41 | 显示全部楼层 |阅读模式
上个周末emerge了gnome,xorgconfig了以后,就可以进入xwindows了。感觉virtualpc一路上从stage1开始装gentoo过来还是蛮顺的,虽然virtualpc被微软收购了。用起来还是比vmware顺。现在我的虚拟硬盘还是自动增量的没有出什么问题。用80M的miniCD启动的,httpproxy下安装的,也没有什么问题。

上次多亏指点在console上装了mouse,用gpm。但是我现在发现gpm和xwindows的鼠标冲突。   
运行了gpm,xwindows上的鼠标就不能用,不运行gpm,xwindows上的鼠标就可以用。在virtualpc上我配置都是使用/dev/psaux。

请教有什么方法,可以使两个环境下,都可以使用鼠标呢?

多谢多谢
发表于 2004-10-9 10:11:17 | 显示全部楼层
试试imps/2,看看行不行
回复

使用道具 举报

 楼主| 发表于 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
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-13 10:29 , Processed in 0.027145 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表