SOLVED:nemesis: adding mouse control in tty or command line
Posted: 15 Dec 2016, 03:28
Adding mouse control in tty or command line in systemd is done in the following way:
gpm:
adding mouse control to tty (getty) or text terminal outside of xorg as an aid to use mc.
gpm is provided on nemesis in addition to mc (midnight commander) base module. You have to set your mouse though.
Which will set the mouse in tty mode.
How can I achieve that under openrc? Or what is the equivalent of systemctl enable gpm under openrc?
gpm:
adding mouse control to tty (getty) or text terminal outside of xorg as an aid to use mc.
gpm is provided on nemesis in addition to mc (midnight commander) base module. You have to set your mouse though.
Code: Select all
guest ~ $ sudo pacman -S hwinfo
guest ~ $ hwinfo --mouse
...
Driver Info #0:
XFree86 Protocol: explorerps/2
GPM Protocol: [b]exps2[/b]
guest ~ $ GPM_ARGS="-m /dev/input/mice -t exps2"
guest ~ $ sudo systemctl enable gpm
guest ~ $ sudo reboot
How can I achieve that under openrc? Or what is the equivalent of systemctl enable gpm under openrc?