Graphical sudo


If you want to set up a shortcut to a graphical program in Linux, and you need root privileges, you can execute the program with a graphical sudo prompt by prefixing it with gksu. For example, to run gvim as root, you'd use this as your command:

gksu gvim

Then, when the program runs, you'll get a popup dialog box prompting you for your root password.