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.

This question already has an answer here:

I used to use gksudo gedit /etc/something.conf to edit system configuration files but this doesn't seem to work any more. Looks like there is no gksudo in 13.04. How can I add it back or what am I intended to use instead?

share|improve this question

marked as duplicate by Seth May 14 at 23:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

2 Answers 2

Yes, there is NO gksudo available for Ubuntu 13.04. It has been removed. So, you can use 'sudo' instead. Just type: sudo -i gedit /etc/something.conf. You will be asked for your password.

If you are not comfortable with it, use this sudo apt-get install gksu to install gksu, and you can use the gksudo command.

share|improve this answer
2  
I've heard using sudo for GUI programs is fundamentally wrong. Don't actually know why though. –  Ivan May 5 '13 at 1:24
1  
You might like to read this meta.askubuntu.com/questions/6634/… –  thefourtheye May 5 '13 at 5:57
2  
sudo can be bad as explained here but sudo -i runs a shell as root so is always safe. –  Warren Hill May 7 '13 at 11:30
add comment

Thanks to thefourtheye's link I've found the answer and am sharing it here for further reference:

The package name is gksu so the answer to the actual question is

sudo apt-get install gksu

However, one should probably consider reading PSA: gksu is no longer installed by default and Why is gksu no longer installed by default in 13.04? if interested in this question.

share|improve this answer
add comment

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