1

I was trying to make my laptop running Ubuntu 13.10 remember the brightness from the last time and set it automatically on start-up. I was thinking about using xbacklight to set the brightness. So, as a test run I added xbacklight -set 100 inside /etc/rc.local. But simply it doesn't work. Permission for my rc.local is:

-rwxr-xr-x 1 root root 338 Dec 22 00:08 rc.local

I also tried adding sleep 60 considering its a timing issue. But still no luck.

ashik992
  • 171
  • 2
  • 16

1 Answers1

3

You can put the command into ~/.gnomerc, it will be executed on login (It will be executed on Unity as well).

rc.local is executed before X startup, so the command is executed but it has no effect.

konairius
  • 171