On Tue, Jul 07, 2009 at 04:18:42AM -0400, Leo Alekseyev wrote:
> on my Windows laptop the volume control keys (Function-F8 and
> Function-F9) get intercepted by mrxvt have the equivalent of typing
> characters "b" and "c". Oddly enough, other control keys (e.g. for
> brightness) don't get caught by mrxvt. It gets annoying sometimes,
> but I don't know how I would start troubleshooting... Let me know if
> you've got any hints!
Run some other X program (e.g. Xterm) and press these keys. I'm willing
to bet that they'll still be intercepted.
Mrxvt interprets whatever keys are sent to it by the X server. On most
laptops (or at least on *my* laptop) the brightness keys generate ACPI
events, not keystrokes. These are handled correctly by the X server /
display driver, and pressing them results in increasing / decreasing the
brightness respectively.
The volume control keys however generate keystrokes, which are supposed
to be handled by a client application. I'm not sure what you'll do with
this on Windows, but on Linux any reasonable window manager should be
able to intercept these keystrokes. For example, I use Fvwm and the
following do the trick for me:
key XF86AudioMute A N Exec exec amixer -q set Master toggle
key XF86AudioRaiseVolume A N Exec exec amixer -q set PCM 2+
key XF86AudioLowerVolume A N Exec exec amixer -q set PCM 2-
On windows, you're on your own. (Perhaps posting to a Cygwin list might
get you someone more knowledgeable).
GI
--
Yip yip yip yip yap yap yip *BANG* --- NO TERRIER
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at:
http://p.sf.net/sfu/blackberry_______________________________________________
Materm-usage mailing list
Materm-usage@...
https://lists.sourceforge.net/lists/listinfo/materm-usageMrxvt home page:
http://materm.sourceforge.net