Comment 45 for bug 796076

Revision history for this message
Paddy Landau (paddy-landau) wrote :

@samuel - Thanks for the function. Unfortunately, that only works from the terminal; it doesn't work from Alt+F2.

For that reason, the simplest method is to create a new file (I call it "ggedit"), place it in your path, and make it executable. The file contains just one line:

gksudo gksudo gedit "${@}"

Use "ggedit" (or whatever you call the script) instead of "gksudo gedit", and this will work from Alt+F2, the terminal, or anywhere else.