You are not logged in.
Pages: 1
hello to all.
Installed arch and then xorg and everything,then installed xfce and brightness keys worked fine in xfce,
installed i3 and no control there on brightness so i read arch wiki and used xbacklight in i3 config,it didnt work,
output was;
No outputs have backlight propertyinstalled acpi and acpid and enabled acpid service,thougt maybe it helps,
now brightness keys does not even work in xfce,
i only can change brightness with manually editing /sys/class/brightness/radeon_bl0/brightness,
unistalled acpi and still those keys doesnt work in xfce, what`s wrong?thank you.
Last edited by benn (2017-07-13 15:05:10)
Offline
xbacklight works with intel processors, I am not sure about AMD.
You can have your own script writing display brightness. Here is mine script ( with kind help from Trilby)
#!/bin/bash
base=/sys/class/backlight/intel_backlight
cur=$(<$base/brightness)
max=$(<$base/max_brightness)
min=0
step=200
case $1 in
up|increase|+) cur=$(($cur + $step)) ;;
down|decrease|-) cur=$(($cur - $step)) ;;
check) ;;
*) echo "USAGE: $0 [ up | down | check ]"; exit 1 ;;
esac
[[ $cur -gt $max ]] && echo "Backlight at Maximum" && exit 1
[[ $cur -lt $min ]] && echo "Backlight at Minimum" && exit 1
echo $cur | sudo tee $base/brightnessJust change the path in base as per your need and bind this script to your brightness keys as "<script_name_with_path> up" or down. All the best.
Arch is home!
https://github.com/Docbroke
Offline
Thanks.
Offline
Pages: 1