Difference between revisions of "GPM"
From ArmadeusWiki
(→Usage) |
(→Usage) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
<pre class="config"> | <pre class="config"> | ||
Package Selection for the target ---> | Package Selection for the target ---> | ||
− | [*] Hardware handling | + | [*] Hardware handling ---> |
− | [*] | + | [*] gpm mouse server |
</pre> | </pre> | ||
==Usage== | ==Usage== | ||
− | * Connect a USB mouse in one of the USB Host connectors | + | * Connect a USB mouse in one of the USB Host connectors. Let's suppose you have only one and so it will be referenced as "mouse0". |
* Launch GPM (will stay in background as daemon): | * Launch GPM (will stay in background as daemon): | ||
<pre class="apf"> | <pre class="apf"> | ||
Line 21: | Line 21: | ||
# gpm -k | # gpm -k | ||
</pre> | </pre> | ||
+ | * Then you can at least do some cut & paste in the Framebuffer virtual terminals. | ||
+ | * To have something more fancy, you can login in the Framebuffer terminal and then launch: | ||
+ | <pre class="apf"> | ||
+ | # gpm-root | ||
+ | </pre> | ||
+ | * then, if you press "Ctrl" key and one of the mouse buttons, you will have some menus displayed on your terminal. Configuration for these menus can be changed with ''/etc/gpm-root.conf''. | ||
==Links== | ==Links== | ||
* http://www.nico.schottelius.org/software/gpm/ | * http://www.nico.schottelius.org/software/gpm/ |
Latest revision as of 17:36, 15 January 2014
GPM stands for General Purpose Mouse server and is the mouse support for Linux on the console.
Installation
$ make menuconfig
Package Selection for the target ---> [*] Hardware handling ---> [*] gpm mouse server
Usage
- Connect a USB mouse in one of the USB Host connectors. Let's suppose you have only one and so it will be referenced as "mouse0".
- Launch GPM (will stay in background as daemon):
# gpm -m /dev/input/mouse0 -t imps2
- If you need to stop it:
# gpm -k
- Then you can at least do some cut & paste in the Framebuffer virtual terminals.
- To have something more fancy, you can login in the Framebuffer terminal and then launch:
# gpm-root
- then, if you press "Ctrl" key and one of the mouse buttons, you will have some menus displayed on your terminal. Configuration for these menus can be changed with /etc/gpm-root.conf.