Call XF86MonBrightnessUp and XF86MonBrightnessDown from terminal
0
votes
0
answers
420
views
I am running Qubes OS based on Fedora 36, and using i3wm. I am working on creating an i3 block similar to this contributed blocklet , but without using
xbacklight
.
Why not xbacklight
? My laptop has brightness increase and decrease fn keys (i.e., XF86MonBrightnessUp
and XF86MonBrightnessDown
) which work! I do not have xbacklight
installed, and I do not want to install additional packages, because clearly my brightness controls work.
1) What I want to do is determine what command my XF86MonBrightnessUp
and XF86MonBrightnessDown
keys are sending (such that I could run it from terminal)? Using that, I will update my i3blocks script.
I've tried using xev
, but it does not seem to give me very useful info.
2) Would also be great if there is a way to determine current brightness level (again, without additional packages).
Ideally, I want to control the brightness in a way that is most battery efficient, and I assume that's what XF86MonBrightnessUp
and XF86MonBrightnessDown
do already by default, and while not necessarily so with other packages.
Asked by GNUser
(101 rep)
Oct 8, 2023, 03:14 AM
Last activity: Oct 8, 2023, 05:45 AM
Last activity: Oct 8, 2023, 05:45 AM