Chinaunix首页 | 论坛 | 博客
  • 博客访问: 540506
  • 博文数量: 83
  • 博客积分: 6010
  • 博客等级: 准将
  • 技术积分: 1169
  • 用 户 组: 普通用户
  • 注册时间: 2007-04-29 22:34
文章分类

全部博文(83)

文章存档

2011年(3)

2010年(29)

2009年(30)

2008年(21)

我的朋友

分类: LINUX

2008-06-09 14:36:31

用xset这个工具,下面是man xset中关于鼠标设置的一段话:

 mouse  
The m option controls the mouse parameters; it may be abbreviated to ’m’.  The parameters for the mouse are ‘acceleration’ and ‘threshold’.  The acceleration can be specified as an integer, or as a simple fraction.  The mouse, or whatever pointer the machine is connected to, will go ‘acceleration’ times as fast when it travels more than ‘threshold’ pixels in a short time.  This way, the mouse can be used for precise alignment when it is moved slowly, yet it can be set to travel across the screen in a flick of the wrist when desired.  One or both parameters for the m option can be omitted, but if only one is given, it will be interpreted as the acceleration.  If no parameters or the flag ’default’ is used, the system defaults will be set.

总的来说命令格式为
xset a t,a是倍速,t是阀值
意思是说当鼠标速度超过t个像素(阀值)时,鼠标速度变为a倍(倍速),比如 xset 10 5。
这确实跟我以前对鼠标速度的理解不同,以前认为鼠标的速度是恒值——不论什么情况下都是一个速度。
xset这种设置确实有一定的好处,即适合慢速的移动(慢速指小于阀值),也适合快速的移动。

阅读(1787) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~