Jan Stary wrote in
<[email protected]>:
|On Nov 18 20:13:03, [email protected] wrote:
|> On Nov 16 21:33:31, [email protected] wrote:
|>> I've tried to setup a line like:
|>> bind-key XF86MonBrightnessDown "<cmd>"
|>> in my .cwmrc and the result was that no key event was sent to my \
|>> windows.
|>
|> Please excuse my X ignorance, but shouldn't XF86MonBrightnessDown
|> be catched by the X server (to take the brightness down),
|> as opposed to passing it on to cwm?
|
|Or even sooner? For example, xev(1) does not report anything
|when I press [Fn]+[LightsDown] on my Thinkpad T400 running cwm.
Just tell him that his keyboard does not generate the event, and
that 0 is NoSymbol or how it is called.
I have
bind-key XF86AudioLowerVolume "adjust-xf86-mediahooks.sh XF86AudioLowerVolume"
bind-key XF86AudioRaiseVolume "adjust-xf86-mediahooks.sh XF86AudioRaiseVolume"
bind-key XF86AudioMute "adjust-xf86-mediahooks.sh XF86AudioMute"
bind-key XF86MonBrightnessDown "adjust-xf86-mediahooks.sh
XF86MonBrightnessDown"
bind-key XF86MonBrightnessUp "adjust-xf86-mediahooks.sh XF86MonBrightnessUp"
..but it just ends up via
XF86MonBrightnessDown)
isf=/run/.acpid_brightness msg='Brightness: ';;
XF86MonBrightnessUp)
isf=/run/.acpid_brightness msg='Brightness: ';;
esac
etc as
LC_ALL=C xmessage -center -timeout 1 "${msg}" </dev/null >/dev/null 2>&1 &
--End of <[email protected]>
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)