Join Nostr
2024-12-29 06:28:31 UTC

matthew - retroedge.tech on Nostr: I’m happy with the most recent modifications to my ~/.config/openbox/rc.xml Added ...

I’m happy with the most recent modifications to my ~/.config/openbox/rc.xml

Added the keyboard shortcuts for the top row brightness control keys on my ThinkPad X270. Also added shortcut keys to go all the way up to 97% brightness with “Super+BrightnessUp” and all the way down to 3% brightness with “Super+BrightnessDown.

Installed the “brightnessctl” package in Devuan (Debian/Ubuntu).

<!-- Keybindings for Brightness control keys -->

<keybind key="XF86MonBrightnessUp">
<action name="execute">
<command>brightnessctl set 5%+</command>
</action>
</keybind>

<keybind key="XF86MonBrightnessDown">
<action name="execute">
<command>brightnessctl set 5%-</command>
</action>
</keybind>

<keybind key="W-XF86MonBrightnessUp">
<action name="execute">
<command>brightnessctl set 97%+</command>
</action>
</keybind>

<keybind key="W-XF86MonBrightnessDown">
<action name="execute">
<command>brightnessctl set 3%</command>
</action>
</keybind>

#openbox #linux