From owner-freebsd-questions@FreeBSD.ORG Sun May 15 04:32:56 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11B8016A4D0; Sun, 15 May 2005 04:32:56 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E762743D62; Sun, 15 May 2005 04:32:55 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id DDA9E72DD4; Sat, 14 May 2005 21:32:55 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id DBBDE72DCB; Sat, 14 May 2005 21:32:55 -0700 (PDT) Date: Sat, 14 May 2005 21:32:55 -0700 (PDT) From: Doug White To: Vittorio De Martino In-Reply-To: <200505150038.11025.vdm.fbsd@virgilio.it> Message-ID: <20050514213135.F49081@carver.gumbysoft.com> References: <200505150038.11025.vdm.fbsd@virgilio.it> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: kde & kdm & mouse X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2005 04:32:56 -0000 On Sun, 15 May 2005, Vittorio De Martino wrote: > I have the latest installation of freebsd 5.4 on my laptop, kde & kdm 3.4. The > laptop has a synaptic mousepad endowed of two buttons that in normal > conditions are not used at all being enough to double-hit on the pad to have > 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 > ................................................ > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "Auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5" > EndSection > ................................................. > > Now it happens that: > > 1) If I start kde as a user by means of the command startx (having put > startkde into .xinitrc) the mouse(-pad) works as expected: I can move around > the screen and select and launch programs just moving on the pad and double > hitting the pad . No problems! In a nutshell no need to press the left > button. > > 2) If at boot time I start kde by means of kdm having put in /etc/ttys: > ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure > > and modified /etc/pam.d as required to autologin, I immediatedly and > automagically login into kde as a user and the mouse works BUT... with the > pad I can only move around the screen and the double-hit doesn't work anymore > so that I have to use the left button cumpulsorily (and annoyingly). > > Why in your opinion is that crazy behavior and what should I do? Are the startx-launched and kdm-launched X daemons using the same config file? Check the top of /var/log/Xorg.*.log for sure. If you ran "X -configure" at some point it might be using a config out of your home directory and not in one of the system locations. When kdm starts it it doesn't look in your homedir :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org