It works on the slider and it previously worked on a keyboard that had brightness keys. My new keyboard does not have dedicated keys. So I want to add a keybind in settings -> keyboard shortcuts -> add custom shortcut.

What is the command for it though? xbacklight -10 and xbacklight +10 does not work... any other ideas?

Thank you!


Thank you Harry! These two commands worked :)

Step up:

gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.gnome.SettingsDaemon.Power.Screen.StepUp

Step down:

gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.gnome.SettingsDaemon.Power.Screen.StepDown

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.