I am using Dell inspiron 15 and Ubuntu 13.04. I have hot keys on my keyboard to adjust display brightness and they work fine.But the problem is, as soon as I switch on the laptop the brightness is set to 100% . I have to reduce the brightness manually. Also the brightness decreases when the battery is low, when I charge my laptop. I am looking for the following:

  1. run the command "xbacklight -set 10" on booting the machine, to set the screen display brightness to 10% . How to execute this at startup?
  2. How to get complete control over brightness settings? like how much brightness should be there at startup, How much brightness should be there when battery is low and how much brightness should be there during charging.
  3. Is there any software/utility to sense lighting in room by using web-cam of laptop and adjust the brightness automatically. If no such thing is available, I would like to develop one. Please guide me how to start.

Thanks in advance :)

  • Take a look at my answer Here, see if it helps. – Mitch Jul 1 '13 at 7:04

Ctrl+alt+t to open terminal and type


a dialog box will open-up , click on add paste your command and click on ok.

this will help you to execute commands at start-up

for change to be persistent try this https://askubuntu.com/a/151665/162137

I hope it helps!


I think that the specific answer you are looking for on making the brightness stick at startup is to open the dash, and type 'startup' -> the program you are looking for is 'startup applications'.

Create a new startup application that looks like this:

enter image description here

I found this on maketecheasier.com

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.