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.

How to launch a program with sudo privilege in Unity? I am using Ubuntu 11.04.

I used this command but it doesn't really work:

sudo synaptic
share|improve this question

2 Answers 2

up vote 5 down vote accepted

I'm not sure if this is what you mean, but you can try gksu synaptic.

share|improve this answer
    
what i was asking was that if u do a sudo nautilus or sudo synaptic in the run command i.e. Alt-F2 nothing happens sinply because there's no prompt for password. Is der any way to circumvent this.... I will try your suggestion.... ty.. –  Vineet Menon Oct 10 '11 at 8:21
    
Note that there was a typo in the answer. It's called "gksu" or "gksudo" (same thing), not "gtksu". –  Jo-Erlend Schinstad Oct 10 '11 at 8:39
1  
Using gksu synaptic should solve you problem. It will display a graphical password-box. –  LasseValentini Oct 10 '11 at 9:52
    
@Fraekkert Synaptic actually spawns its own prompt - so that could be a red herring. –  Oli Oct 15 '11 at 23:04

Alternatively, use the terminal which you can - as i do - keep in the unity starter. I belive its a thing of taste whether you use gksu or the terminal.

share|improve this answer

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.