On Wed, 2006-04-12 at 00:42 +0100, Neil Bothwick wrote:
> On Wed, 12 Apr 2006 08:47:42 +0930, Iain Buchanan wrote:
>
> > I don't know how to do this automatically, nor how to make X use a
> > different mouse without restarting...
>
> Would a symlink help here? Link the touchpad to, say, dev/input/mymouse
> then override this link with one to the USB mouse when it is plugged it.
> Then use the symlink is xorg.conf.
I guess that depends if X tries to be intelligent (like some apps) and
finds the target of the symlink at startup, instead of just using the
symlink. Also, I don't know what would happen if you pulled the symlink
while it was being used... one way to find out :)
--
Iain Buchanan <iaindb at netspace dot net dot au>
To generalize is to be an idiot.
-- William Blake
--
[email protected] mailing list