[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: which mouse?



On Fri, Dec 10, 2004 at 10:59:15AM -0500, Michael Marsh wrote:
> On Fri, 10 Dec 2004 16:34:11 +0100, todag <todag@host1.kbnet.net> wrote:
> > Is there a utility I can run to reinitialize the mouse/mouse driver? I can
> > live without the mouse wheel, but it would be nice if I could get it back
> > without bouncing X.
> 
> I have problems with the pointer device on my laptop when I un-dock or
> re-dock it.  I've found that I don't need to bounce X, just switch to
> a console (Ctrl-Alt-F1) and back.  That seems to do it.

If that helps, you could put it in a script : 
#!/bin/sh
chvt 1
chvt 7

Then map this to a hotkey in your window manager.
chvt needs root privileges, so either chmod +s /usr/bin/chvt, or
configure sudo to allow you to use chvt as root without a password.

Frank
> 
> -- 
> Michael A. Marsh
> http://www.umiacs.umd.edu/~mmarsh
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan



Reply to: