Xfce Forum

Sub domains

You are not logged in.

#1 2017-12-16 14:12:41

Registered: 2017-10-26
Posts: 7

Brightness shortcuts using xfpm-power-backlight-helper

Is there any way of binding keyboard shortcuts to increase and decrease brightness using  xfpm-power-backlight-helper or do I have to install xbacklight for that?

Last edited by sanwablo (2017-12-16 14:13:31)


#2 2017-12-16 19:30:27

From: Canada
Registered: 2011-06-02
Posts: 5,120

Re: Brightness shortcuts using xfpm-power-backlight-helper

xbacklight could work. You could also try "xdotool key XF86MonBrightnessUp" & "xdotool key XF86MonBrightnessDown", but that would require the xdotool package. Both the xbacklight and xdotool packages are small.

Or you could echo values directly into your backlight interface's /sys/class/backlight/INTERFACE/brightness file (where INTERFACE is your system's specific backlight interface file). Though it will ask for a password as well (see  below).

If you want to use xfpm-power-backlight-helper as a regular user, you could configure sudo to allow you to run the command without a password or use pkexec.


Board footer

Powered by FluxBB