本文共 1486 字,大约阅读时间需要 4 分钟。
1、安装gpm服务并查看gpm的信息
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | [root@a1 ~] # yum -y install gpm [root@a1 ~] # yum info gpm Loaded plugins: product- id , security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Installed Packages Name : gpm Arch : i386 Version : 1.20.1 Release : 74.1 Size : 306 k Repo : installed Summary : A mouse server for the Linux console. License : GPL Description: Gpm provides mouse support to text-based Linux applications like : the Emacs editor and the Midnight Commander file management system. : Gpm also provides console cut -and- paste operations using the mouse : and includes a program to allow pop-up menus to appear at the click : of a mouse button. Name : gpm Arch : x86_64 Version : 1.20.1 Release : 74.1 Size : 334 k Repo : installed Summary : A mouse server for the Linux console. License : GPL Description: Gpm provides mouse support to text-based Linux applications like : the Emacs editor and the Midnight Commander file management system. : Gpm also provides console cut -and- paste operations using the mouse : and includes a program to allow pop-up menus to appear at the click : of a mouse button. |
2、启动gpm服务:
1 2 3 | [root@a1 ~] # /etc/init.d/gpm restart Shutting down console mouse services: [ OK ] Starting console mouse services: [ OK ] |