Date: Mon, 16 May 2005 19:54:23 +0200 From: Vittorio De Martino <vdm.fbsd@virgilio.it> To: freebsd-mobile@freebsd.org Subject: kde & kdm & mouse - AGAIN Message-ID: <200505161954.23545.vdm.fbsd@virgilio.it>
next in thread | raw e-mail | index | archive | help
I have the latest installation of freebsd 5.4 on my laptop, kde & kdm 3.4. = The=20 laptop has a synaptic mousepad endowed of two buttons that in normal=20 conditions are not used at all being enough to double-hit on the pad to hav= e=20 the same effect as that of pressing the left button. Now at boot time I enabled moused # ps ax|grep moused 493 ?? Ss 0:00.54 /usr/sbin/moused -p /dev/psm0 -t auto And the following in /etc/X11/xorg.conf =2E............................................... Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5" EndSection =2E................................................ Now it happens that: 1) If I start kde as a user by means of the command startx (having put=20 startkde into .xinitrc) the mouse(-pad) works as expected: I can move aroun= d=20 the screen and select and launch programs just moving on the pad and double= =20 hitting the pad . No problems! In a nutshell no need to press the left=20 button. 2) If at boot time I start kde by means of kdm having put in /etc/ttys:=20 ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure and modified /etc/pam.d as required to autologin, I immediatedly and=20 automagically login into kde as a user and the mouse works BUT... with the= =20 pad I can only move around the screen and the double-hit doesn't work anymo= re=20 so that I have to use the left button cumpulsorily (and annoyingly). My feeling is that moused is both somewhat slow and one of the last service= s=20 to be executed. Therefore I highly suspect that the execution of moused in= =20 some way overlaps with the execution of autologin kdm at boot time causing= =20 the malfunctioning mousepad behaviour.=20 Now I'm trying to delay a bit the execution of kdm by adding something like ttyv8 =A0 "/bin/sleep 2;/usr/local/bin/kdm -nodaemon" =A0xterm =A0 on =A0se= cure ttyv8 =A0 "/bin/sleep 2 && /usr/local/bin/kdm -nodaemon" =A0xterm =A0 on = =A0secure but FreeBSD doesn't seem to like either: it doesn't execute kdm and issue a= =20 warning about a delay of 60 seconds?????? =A0 How could I delay a bit the autologin kdm? Ciao Vittorio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505161954.23545.vdm.fbsd>