Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was trying to edit GRUB file at /etc/default/ for fixing the brightness issue.

But I am unable to do that as there is no option to save GRUB file after edit. This may be due to some permission issue.

How should I edit this file?

And issue I am trying to fix is: "display brightness problem with ubuntu 13.04"

share|improve this question

1 Answer 1

up vote 6 down vote accepted

You need to open the file as root.

gksu gedit /etc/default/grub

On 13.04 or later you might have to first install gksu:

sudo apt-get install gksudo

See also https://help.ubuntu.com/community/RootSudo

share|improve this answer
    
Thanks It Worked. I wrote sudo gedit /etc/default/grub –  Anwar Shaikh May 11 '13 at 20:31
    
I'd also like to point out that if you're running LXDE or XFCE you can use xedit instead of gedit while in a root terminal. –  valerietheblonde Jul 24 at 19:51

Your Answer

 
discard

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.