搜索
您的当前位置:首页正文

linux文本模式(命令行)下使用鼠标

来源:知库网


linux文本模式(命令行)下使用鼠标

Gpm ( 通用鼠标守护进程 ) 是为控制台下运行的程序提供鼠标支持的服务器。它不仅提供了通用的剪切和粘贴支持,它的库文件还被许多程序( 如 links ) 用来在程序里实现鼠标。它对桌面电脑很有用,尤其是使用 (B)LFS 的安装指导时 - 在两个控制台之间拷贝和粘贴总比手动输入容易些( 也能减少错误 )。

1、安装gpm

apt-get install gpm

2、修改鼠标类型和鼠标设备,基本上不用你修改。

gedit /etc/gpm.conf

# /etc/gpm.conf - configuration file for gpm(1)

#

# If mouse response seems to be to slow, try using

# responsiveness=15. append can contain any random arguments to be

# appended to the commandline.

#

# If you edit this file by hand, please be aware it is sourced by

# /etc/init.d/gpm and thus all shell meta characters must be

# protected from evaluation (i.e. by quoting them).

#

# This file is used by /etc/init.d/gpm and can be modified by

# \" \" or by hand at your option.

#

device=/dev/input/mice

responsiveness=

repeat_type=none

因篇幅问题不能全部显示,请点此查看更多更全内容

Top