Thanks a lot lembas.It works, now I can use the echo command without sudo to change the brightness. But I did not manage to configure the shortcuts for the keyboard.
When adding a new shortcut (through System Settings > Keyboard) I can enter the name and the command, but don't know how to enter the key combination that activates the shortcut.
