Hello, I am running FreeBSD 13.2 on Thinkpad T430s with i3wm. The function keys for regulating brightness, Fn+F8 and Fn+F9 (XF86MonBrightnessDown and Up), are working out-of-the-box (lucky me). However, I would like to find out what command exactly they are sending to the system when pressed, because I would like to exploit this command to set the initial brightness to my liking through .xinitrc. Now the brightness always starts at 100% which is a bit too bright.
I tried to run
hoping to find some default setting, but to no avail. I can just see that these keys are called key <I232> and key <I233> in /usr/local/share/X11/xkb/symbols/inet.
I checked
I played a bit with
I ran also
but the settings I am getting seem to be about enabling / disabling backlight and brightness. I cannot regulate them in real time; the system asks me to do it at boot.
Googling the issue is confusing, because most people have problems with XF86MonBrightness that do not work at all, while I am having a kind of opposite issue.
I tried to run
Code:
rgrep -i -I "xf86monbrightness /usr/
rgrep -i -I "xf86monbrightness /etc/
I checked
xbacklight
, but it is apparently offline ("No outputs have backlight property").I played a bit with
xrandr
, but I can see clearly that the brightness setting there is changing gamma level on the software level, while XF86MonBrightness-keys are actually doing it hardware-wise.I ran also
Code:
freebsd# sysctl -a | grep backlight
hw.i915kms.enable_dpcd_backlight: -1
compat.linuxkpi.i915_enable_dpcd_backlight: -1
freebsd# sysctl -a | grep brightness
hw.i915kms.invert_brightness: 0
compat.linuxkpi.i915_invert_brightness: 0
Googling the issue is confusing, because most people have problems with XF86MonBrightness that do not work at all, while I am having a kind of opposite issue.