1. Install the GPM service and view the GPM information
[[email protected] ~]# yum -y install gpm[[email protected] ~]# yum info gpmloaded plugins: product-id, security, subscription-managerthis System is not registered to red hat subscription management. you can use subscription-manager to register. installed packagesname : gpmarch : i386version : 1.20.1release : 74.1Size : 306 kRepo : installedsummary : a mouse server for the linux console. License : gpldescription: 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 : gpmarch : x86_64version : 1.20.1release : 74.1size : 334 krepo : installedsummary : a mouse server for the linux Console. License : gpldescription: 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. Start the GPM service:
[Email protected] ~]#/etc/init.d/gpm restartshutting down console mouse services: [OK]starting console Mouse Service S: [OK]
This article is from the "Frozen vs watermelon" blog, so be sure to keep this source http://molewan.blog.51cto.com/287340/1891378
Using the mouse in the Linux gpm console