You are not logged in.

#1 2012-11-02 15:33:25

ImbaLocus
Member
Registered: 2012-05-09
Posts: 22

xdotool key XF86MonBrightnessDown/Up not working (but hw buttons are)

I can change backlight using FN keys.
xev shows the keys being used are XF86MonBrightnessDown/Up.
I want a simple way to change backlight - callable from a script.

xbacklight does not work (no output at all)
Changing value in /sys/class/backlight/acpi_video0/brightness does work although one has to fiddle around with visudo and stuff to be able to use it as normal user, afaik.

Anyways, I've read about using

xdotool key XF86MonBrightnessDown

Does not work. No output, no brightness change.

I use AwesomeWM where I've for instance bound XF86AudioPlay to "mpc play" and running "xdotool key XF86AudioPlay" does work.

So what I gather is; xdotool works, it sends whaveter key I put as parameter.
Nothing "catches" the event of XF86MonBrightnessDown.

Is it possible that the actions of XF86MonBrightness* are somehow hardcoded in the actual hardware?

Anyway I can simulate those actions? I thought xdotool would be like _actually_ pressing the key, but obviously it's not.

Any thoughts?

Offline

#2 2012-11-02 18:33:47

min
Member
Registered: 2011-05-14
Posts: 46

Re: xdotool key XF86MonBrightnessDown/Up not working (but hw buttons are)

Have you tried using xvkbd instead of xdotool?

Offline

Board footer

Powered by FluxBB