@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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
When run as root [gksudo gedit <whatever>] gedit tries to open a 2nd
'untitled document 1'
To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/796076/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs