wowowow, sorry, misunderstood the GDM, GPM difference... Ignore the
last message........

On 4/11/06, Daniel da Veiga <[EMAIL PROTECTED]> wrote:
> On 4/11/06, Hans-Werner Hilse <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > On Tue, 11 Apr 2006 21:55:46 +0200
> > Jarry <[EMAIL PROTECTED]> 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

Reply via email to