PDA

View Full Version : [all variants] Mousekeys Indicator



baechaic
February 20th, 2011, 04:12 AM
This is something I've been looking for since I started using Linux, the Windows equivalent can be found below, specifically, the "MouseKeys icon in the system tray" here:
http://solutions.neilsquire.ca/wao-mouse.htm

That, or just some form of indication that mousekeys are enabled, and preferably, which if any of the left, right, or middle mouse keys are currently active or "pressed down." I've lost count of the number of times I've run into odd behavior caused by mousekeys being accidentally enabled, or by having accidentally left a mousekey key "pressed down", a problem which I could have quickly attributed to mousekeys vs wasting time troubleshooting if only there was some visual indicator for it. Not that I have anything against the feature, as it definitely does come in handy, especially when tweaked via xkbset :).

I'm hoping to pick the ubuntu community's brain for any possible suggestions, a system tray icon (not kde/gnome/etc specific) being the preferable solution. Heck, I'll throw in a handful of almost but not quite "solutions" I've come across to start things off:


http://www.programurl.com/spotonthemouse.htm

For windows, but also works as an indicator for any mouse activity. Could get annoying real quick if it were always on though.






http://www.learnpygtk.org/eggtrayicon.html

With a bit of work, time, and python coding skills :D, I can see somebody coming up with a system-tray app that would monitor mouse events and change icons appropriately, possibly even indicating events with a separate icon for mouse vs mousekeys generated key presses.