Re: Binding by keysyms
- From: Christopher Roy Bratusek <zanghar freenet de>
- To: sawfish-list gnome org
- Subject: Re: Binding by keysyms
- Date: Thu, 9 Jul 2009 22:34:35 +0200
Am Thu, 09 Jul 2009 23:49:13 +0400
schrieb Dmitry Dzhus <dima sphinx net ru>:
> Looks like my sawfish-1.5.0 doesn't want to bind something like this:
>
> (bind-keys global-keymap "XF86Launch1"
> (lambda () (interactive) (system "emacs &")))
>
> Sawfish simply doesn't seem to see XF86Launch1 presses.
>
> Customization UI binds this key with no effect as well.
>
> At the same time, bindings for keys like "XF86AudioMute" etc. work
> like charm:
>
> (bind-keys global-keymap "XF86AudioMute"
> (lambda () (interactive) (system "amixer sset Front,0
> toggle &"))) (bind-keys global-keymap "XF86AudioRaiseVolume"
> (lambda () (interactive) (system "amixer sset Front,0
> 10%+"))) (bind-keys global-keymap "XF86AudioLowerVolume"
> (lambda () (interactive) (system "amixer sset Front,0
> 10%-")))
>
> Can anyone confirm this?
What key is XF86Launch1? Don't have this one on my kbd.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]