Page 1 of 1

[Solved] gpm

Posted: 8. Jul 2011, 04:51
by yves04
Hello
The question is very simple : how to use gpm on Salix 13.37 ? The mouse is Logitech, PS2.
As /etc/rc.d/rc.gpm didn't existe, I created one with
gpm -m /dev/mouse -t imps2
and after
#chmod +x /etc/rc.d/rc.gpm
and ran the command
#/etc/rc.d/rc.gpm start
but it's ever the same thing, no copy and paste in a terminal.
Has anybody solved this problem ?
Have a nice day.

Re: gpm

Posted: 8. Jul 2011, 07:54
by djemos
1) In a xterm as root go to init 3 (write init 3)
2) You will see login prompt. Login as root
3) run mouseconfig ( And just choose default options, just press enter)
4) Then run /etc/rc.d/rc.gpm and you will see mouse cursor. Then copy and paste in terminal.

Re: gpm

Posted: 8. Jul 2011, 12:02
by yves04
Thanks a lot. It works perfectly in runlevel 3 ( but not in runlevel 5 ).
I'm going to examine xorg.conf-vesa

Re: gpm

Posted: 8. Jul 2011, 12:23
by djemos
from /etc/inittab
These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

gpm is for init 3. There is no init 5. Init runlevels used are init 4, init 3 and init 1 for single user.

Re: gpm

Posted: 9. Jul 2011, 05:08
by yves04
Thanks djemos for your reply.
In runlevel 3, I can use gpm with device= psaux
In runlevel 4, I've replaced xterm with Terminal (terminal in xfce), so I can cut and copy ...
It's ok for me :D
Have a nice day.