It's fun! :) And perhaps somebody else with a similar problem finds this thread.

Ah, I guess the redirect (the >) might again be causing trouble...

The fix is fortunately easy, just open the text editor of your preference and put that command there and save the file somewhere. Then we need to make the file executable, that's done with the commandchmod +x /path/to/the/fileFinally point the shortcut key to that file.

To automate the chown thing, you need to open a text editor as a super user. (Prepend the name of the editor with sudo in case of CLI editors and with gksudo in case of graphical editors, e.g. sudo nano or gksudo gedit) Then save this script to /etc/rc2.d/S99-brightness

#! /bin/sh
### BEGIN INIT INFO
# Provides:          easy access to brightness control
# Required-Start:    $all
# Required-Stop:
# Default-Start:     2
# Default-Stop:
# Short-Description: Make brightness user writeable
### END INIT INFO
chown jane:jane /sys/class/backlight/intel_backlight/brightness

And make it executablechmod +x /etc/rc2.d/S99-brightness

Now the next time you boot you should find yourself the owner of the brightness file.

If you want we can make you two scripts that incrementally increase and decrease brightness like things work normally that you can bind to the related buttons/key combos.

Reply via email to