Xfce Forum

Sub domains
 

You are not logged in.

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

sanwablo
Member
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)

Offline

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

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

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.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB