You are not logged in.
Is it possible to have the mouse only function in programs, where it's neccesary? For example Blender, Gimp, Inkscape or Flash plugin simply need mouse. Terminal based program or mplayer don't.
I want to nip in bud the need for mouse in my children (& dear lady wife).
Thank you for help
Offline
This way of forcing stuff seems very prone to just cause irritation in the future... if you want to do it you should probably just have a script that checks focused window (http://talk.maemo.org/showthread.php?t=49960), compare it's name, class or whatever, and disable the mouse (http://askubuntu.com/questions/199271/x11-disable-mouse). Doesn't have to be xmonad specific.
My recommendation tho is that you instead make it more expensive to use the mouse... such as having a special place to put the mouse when it isn't necessary. Keep in mind tho that some people prefer to use the mouse, we who don't have no reason to force them to change.
2013-06-27 14:17 CEST: Removed unjustified insults
Last edited by KoFish (2013-06-27 12:18:40)
Offline
KoFish, while highlighting different user's styles of using a system is worthwhile - there is no need to use insults and inflammatory language.
Hugli, one approach would be to modify .desktop files for programs. Assuming they are generally point-and-clickers this likely how they'll launch programs, right? So you could have your terminal .desktop exec line do something like "command-to-disable-mouse; urxvt; command-to-enable-mouse".
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline