0

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

2 Answers 2

5

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

5
  • 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.. Oct 10, 2011 at 8:21
  • Note that there was a typo in the answer. It's called "gksu" or "gksudo" (same thing), not "gtksu". Oct 10, 2011 at 8:39
  • 1
    Using gksu synaptic should solve you problem. It will display a graphical password-box. Oct 10, 2011 at 9:52
  • @Fraekkert Synaptic actually spawns its own prompt - so that could be a red herring.
    – Oli
    Oct 15, 2011 at 23:04
  • 1
    ARTICLE gksu Removed From Ubuntu Nov 4, 2018 at 22:31
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .