[Solved] gpm

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
yves04
Donor
Posts: 58
Joined: 30. Jan 2011, 08:30
Location: Haute Provence, France

[Solved] gpm

Post 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.
Last edited by yves04 on 9. Jul 2011, 05:09, edited 1 time in total.
djemos
Salix Warrior
Posts: 1465
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: gpm

Post 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.
yves04
Donor
Posts: 58
Joined: 30. Jan 2011, 08:30
Location: Haute Provence, France

Re: gpm

Post by yves04 »

Thanks a lot. It works perfectly in runlevel 3 ( but not in runlevel 5 ).
I'm going to examine xorg.conf-vesa
djemos
Salix Warrior
Posts: 1465
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: gpm

Post 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.
yves04
Donor
Posts: 58
Joined: 30. Jan 2011, 08:30
Location: Haute Provence, France

Re: gpm

Post 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.
Post Reply