5

How do you create a program launcher with Alacarte (Main Menu) that has administrative privileges? I ask because I seem to have deleted the launcher for Synaptic Package Manager and whenever I start it with the command, 'Synaptic' I have to run it without administrative privileges.

As in, what do I type into, 'Command' to run Synaptic Package Manager with administrative privileges in the following screenshot: enter image description here

Flimm
  • 44,031
Josh Pinto
  • 8,089

1 Answers1

6

Use

gksudo -u root <program_name>

or

gksudo -k -u root <program_name>

to run <program_name> as the root user.

See the manpage for the gksudo command Manpage icon for more information.

Flimm
  • 44,031
leorize
  • 821