Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't adjust the contrast on my laptop dell and I found this on this site:

Open the terminal Ctrl+Alt+T and type:

sudo gedit /etc/default/grub

Change the line:




Save and exit the file.

Now in the terminal type:

sudo update-grub

Restart your Linux.

But when I type sudo update-grub it says:

/usr/sbin/grub-mkconfig: 35: /etc/default/grub: Syntax error: Unterminated quoted string
share|improve this question

I think you are missing a closing double quote in that line. Please check for that.

If not, this well-written page should help you out. While it is written for HP, the procedure should work for any laptops. It is a common procedure for linux kernel.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.