From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FTQ3g-0002np-C8 for garchives@archives.gentoo.org; Tue, 11 Apr 2006 21:05:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k3BL5QiM003940; Tue, 11 Apr 2006 21:05:26 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.227]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k3BKutLl019398 for ; Tue, 11 Apr 2006 20:56:59 GMT Received: by wproxy.gmail.com with SMTP id i28so1044676wra for ; Tue, 11 Apr 2006 13:56:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QdFKxPm7bqcfng5b/AO6SBtbpz0duHMC328aqLqTkKAK6D0En6OHoZOYXeURA2WW0i7M7MlujrM2DqWifrQ43GYnVdbk5qpFHl/b49dK9CJO6D8/QmgLcAWuSZbis0hwfEsbc7ombmA/FvcIW2nwDI/n0mXwHTsrfd9ib8+T7sA= Received: by 10.65.250.8 with SMTP id c8mr557190qbs; Tue, 11 Apr 2006 13:56:53 -0700 (PDT) Received: by 10.65.211.16 with HTTP; Tue, 11 Apr 2006 13:56:53 -0700 (PDT) Message-ID: <342e1090604111356o3f9681a1h5b47146ca37e4c80@mail.gmail.com> Date: Tue, 11 Apr 2006 17:56:53 -0300 From: "Daniel da Veiga" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gpm (X11): touchpad OR usb-mouse? In-Reply-To: <342e1090604111355r40ef5713o885ef638934fe414@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <443C09C2.2090701@gmx.net> <20060411223622.50a57a06.hilse@web.de> <342e1090604111355r40ef5713o885ef638934fe414@mail.gmail.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k3BKutLl019398 X-Archives-Salt: 47b02650-a15b-455b-be6f-61b3a7e68571 X-Archives-Hash: 409afa252b5016fb8578d694736eab91 wowowow, sorry, misunderstood the GDM, GPM difference... Ignore the last message........ On 4/11/06, Daniel da Veiga wrote: > On 4/11/06, Hans-Werner Hilse wrote: > > Hi, > > > > On Tue, 11 Apr 2006 21:55:46 +0200 > > Jarry wrote: > > > > > Is it possible to configure gpm so, that if usb-mouse is > > > attached, then only mouse can be used as pointing device? > > > > You may try to use udev for that. It can call scripts when devices are > > plugged in and out or just present at boot (using coldplug for older > > udev versions). You can let the script switch configuration files and > > send gpm a signal that lets it read its configuration again. The key is > > This looks a bit complicated, since as far as I know GDM uses Xorg's > configuration to discover how to use mouse/keyboard, so, if you're > going to have more than one configuration, wouldn't it be necessary > for you to restart the X server? I too have a laptop, but for mine the > switch button for the synaptic touchpad really works :) turning it off > completely both in win and lin. > > A friend told me once that he wrote a udev rule that recreated a > device every time he plugged in and out his USB mouse, this way, when > plugged out, the device pointed to the touchpad, while plugged in, it > references the USB mouse. > > > that you should not use "/dev/input/mice" as the device but have two > > separate gpm configurations with "/dev/input/mouseN" (you can also use > > udev to give more persistent names). > > > > Can GDM do this? Sorry, couldn't find anything in the docs about it... > > -- > Daniel da Veiga > Computer Operator - RS - Brazil > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- > PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ > ------END GEEK CODE BLOCK------ > -- Daniel da Veiga Computer Operator - RS - Brazil -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ ------END GEEK CODE BLOCK------ -- gentoo-user@gentoo.org mailing list