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?