Linux gpm下console中使用鼠标

简介:

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  ]










本文转自 冰冻vs西瓜 51CTO博客,原文链接:http://blog.51cto.com/molewan/1891378,如需转载请自行联系原作者
目录
相关文章
|
运维 Linux 程序员
最全树莓派4B安装64位Linux(不用显示器键盘鼠标),Linux运维面试送分题
最全树莓派4B安装64位Linux(不用显示器键盘鼠标),Linux运维面试送分题
最全树莓派4B安装64位Linux(不用显示器键盘鼠标),Linux运维面试送分题
|
Shell Linux C语言
【Shell 命令集合 系统设置 】Linux 配置鼠标设备的相关设置 mouseconfig命令 使用指南
【Shell 命令集合 系统设置 】Linux 配置鼠标设备的相关设置 mouseconfig命令 使用指南
874 0
|
运维 网络协议 Unix
Linux终端(Terminal)与控制台(Console)的区别
Linux终端(Terminal)与控制台(Console)的区别
1895 0
|
安全 Java Linux
树莓派4B安装64位Linux(不用显示器键盘鼠标)
无需显示器键盘鼠标,只需网线连接,给树莓派4B安装64位操作系统
754 0
树莓派4B安装64位Linux(不用显示器键盘鼠标)
|
数据挖掘 Linux
Linux系统struct input_event结构体分类型(鼠标、键盘、触屏)详解与例子
Linux系统struct input_event结构体分类型(鼠标、键盘、触屏)详解与例子
3107 0
Linux系统struct input_event结构体分类型(鼠标、键盘、触屏)详解与例子
|
弹性计算 网络协议 Linux
冬季实战营 动手实战-Linux文本处理入门深入解析动手实操 领鼠标 云小宝 背包 无影
五期冬季实战,从入门到进阶,以最佳实践帮助开发者,快速云上实践,云上学习。 体验有礼,点击前往 https://developer.aliyun.com/adc/series/wintercamp
冬季实战营 动手实战-Linux文本处理入门深入解析动手实操 领鼠标 云小宝 背包 无影
|
JSON 应用服务中间件 Linux
Linux命令行(Console)解析JSON
有些Linux服务API返回的数据为JSON数据,但是直接在命令行看,看起来很不方便,都拧巴在一起了,比如这样。 [root@songshucang nginx]# curl http://localhost:8500/v1/catalog/servi...