@NoOp: An alias is fine, unless you are using Alt-F2 to run the command.

But don't set gksudo to 'gksudo gksudo', because only gedit has this
problem. Rather set another name. I have created an executable file
called ggedit in my path (~/bin), and it contains just one line:

gksudo gksudo gedit "${@}"

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gedit in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to