I have a workaround for those LTS users like me who haven't got the fixed gedit. As stated if gksudo gksudo gedit is run, it doesn't create the empty document. Therefore, adding this: gksudo() { if [ "$1" = "gedit" ] then shift gksudo gksudo gedit "$@" else command gksudo "$@" fi } to your .bashrc will fix it. For those who don't know bash, it's a function that will be called when the user types gksudo. If the second argument is gedit, then it shifts the argument array, to drop off the first, and then passes the argument array to gksudo gksudo gedit. (This makes sure that if the users specifies a file to open it will get opened). Otherwise it just runs gksudo for us.
-- 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