[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2015-08-29 Thread dino99
This version has expired ** Changed in: gedit (Ubuntu) Status: Triaged = Invalid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When run as root [gksudo gedit

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-07-29 Thread Paddy Landau
… it also makes things easier to chown the file to my username so I don't need to type in sudo ggedit just ggedit You don't have to use sudo, regardless of who owns the script. Additionally, you should use gksudo, not sudo — which is already in the one-line script, to save you the trouble of

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-07-28 Thread Randall Goya
re: #45 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 ${@} In Ubuntu not being root, it also makes things easier to chown the file to my username so I don't

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-07-14 Thread Thomas Sisson
I can also confirm this occurs with kdesudo. I'm using Kubuntu, but I have gedit installed. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When run as root [gksudo gedit

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-07-14 Thread Thomas Sisson
It is marked as fixed here and at Gnome Bugzilla; however, the fix is in Gedit 3.7. I can't get that version from software updates. Seriously Ubuntu! If there is a fix, send it to all supported distributions. I don't care what your release cycle is. If it is fixed, then activate the update in all

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-07-14 Thread Bazon
By the way: That doesn't happen in Arch, so it seems to be an Ubuntu Issue, not a Gnome issue. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When run as root [gksudo

Re: [Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-07-14 Thread Doug McMahon
On 07/14/2013 03:02 PM, Bazon wrote: By the way: That doesn't happen in Arch, so it seems to be an Ubuntu Issue, not a Gnome issue. And what version of gedit is in Arch? In any event don't see this changing in 12.04 13.04 so users should live with or find alt. means, - nano, vim, switch to

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-06-05 Thread Cavsfan
This annoying little quirk just started happening in Ubuntu 12.04 LTS, however it always has occurred in 12.10, 13.04, 13.10 as well as Mint 13 and 15. I added the workaround samuel mentioned as I only ever use this in terminal. -- You received this bug notification because you are a member of

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-06-05 Thread Paddy Landau
@cavsfan: This has been happening since 11.10. If this has only recently started with you, and was working beforehand, it would be interesting and useful to find out what happened! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-04-02 Thread samuel
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 $@

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-04-02 Thread Paddy Landau
@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

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-03-16 Thread Bug Watch Updater
** Changed in: gedit Status: New = Fix Released -- You received this bug notification because you are a member of Desktop Packages, 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

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-03-15 Thread Paddy Landau
@Doung McMahon: Fantastic. Will the new version of gedit be released with 13.04? Is there any possibility to back-port it to LTS? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-03-15 Thread Sebastien Bacher
@Scott: Still happening in 13.04 with all documents, not just super user. you should open a new bug about that, this issue is specifically about gksudo (which should be used nowadays, we are replacing it by pkexec in the standard desktop) -- You received this bug notification because you are a

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-03-14 Thread Scott Lewin
Still happening in 13.04 with all documents, not just super user. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When run as root [gksudo gedit whatever] gedit tries to

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-03-14 Thread Doug McMahon
Fixed in gedit-3.7.2 greater -- You received this bug notification because you are a member of Desktop Packages, 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'

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-02-23 Thread Ubuntu QA Website
This bug has been reported on the Ubuntu Package testing tracker. A list of all reports related to this bug can be found here: http://packages.qa.ubuntu.com/qatracker/reports/bugs/796076 ** Tags added: package-qa-testing -- You received this bug notification because you are a member of Desktop

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2013-02-11 Thread Israel Dahl
Bug is still present in Raring Ringtail -- You received this bug notification because you are a member of Desktop Packages, 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

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-15 Thread NoOp
Sure. But when a 17 month old regression hasn't been fixed (perhaps due to non-technical reasons), I fail to see why adding 'workarounds' to the bug is discouraged. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu.

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-15 Thread Sebastien Bacher
having a workaround in the bug is fine, having 15 comments in a week to discuss the said workaround not so since it's spamming the people subscribed to gedit bugs where that's not a gedit issue -- You received this bug notification because you are a member of Desktop Packages, which is

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-14 Thread Paddy Landau
@Isamu Arai: As stated in comment #29, an alias is no good if you are using Alt-F2 to run the command. That is why I use an executable file within a path. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu.

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-14 Thread Pjotr12345
The best workaround for me is this: I switched to Leafpad. I only use Gedit now for non-root tasks; Leafpad works fine when run as root... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu.

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-14 Thread Sebastien Bacher
Thanks for the interest to the issue but could you move the discussion to an user forum or list? the bug tracker is made to discuss fixes, not to have a nice chat about what's the best or more broken workaround people can come with, every comment added there is spamming the people subscribed to

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-13 Thread Paddy Landau
@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

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-13 Thread Doug McMahon
I don't believe I've ever seen anyone specifically show where sudo gedit causes any issue. I generally will use nano but at times will use sudo gedit. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu.

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-13 Thread Isamu Arai
@paddy-landau While I agree that alias for gksudo is not a good solution since only gedit requires this workaround instead of creating an executable file you can just add an alias for ggedit: alias ggedit='gksudo gksudo gedit' -- You received this bug notification because you are a member of

Re: [Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-13 Thread NoOp
On 11/13/2012 10:44 AM, Isamu Arai wrote: @paddy-landau While I agree that alias for gksudo is not a good solution since only gedit requires this workaround instead of creating an executable file you can just add an alias for ggedit: alias ggedit='gksudo gksudo gedit' Nice tip. Thanks. --

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-12 Thread Paddy Landau
@Freecore: Thank you for your comments. For whatever reason (probably the post is too old), I cannot edit my original post; but your gksudo gksudo is so much easier than my solution. And weird! -- You received this bug notification because you are a member of Desktop Packages, which is

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-12 Thread NoOp
I'll probably get my hands slapped for this; but in the interim you can create an alias so that you do not have to type 'gksudo gksudo' or 'gksu gksu' each time: $ gedit ~/.bashrc Scroll down the the alias section add the last two lines shown here: # some more ls aliases #alias ll='ls -l'

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-11 Thread Freecore
Temporary SOLUTION: I've found another workaround. Unfortunately for us this doesn't seems to be a bug, at least I guess there's no intention from gnome developers to solve it soon: A upstream developer said: You shouldn't start GNOME programmes with elevated privileges, it's not supported. In

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-11-11 Thread Arup
Yep same behavior here as well with Ubuntu 12.10x64. -- You received this bug notification because you are a member of Desktop Packages, 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

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-09-09 Thread h1repp
its pretty queer: when doing a sudo su, and then as root gedit anyfile , no second untitled document 1 is opened. but when using gksu/gksudu it is; in the latter case ps shows that the command line that started gedit was exactly this gedit anyfile. this additional untitled document 1 always has

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-09-06 Thread KSSG
Anyone examined the .desktop file? If I drag it into the launcher bar, using the open new document/window functions work very oddly, opening more than one ghost document. If I try to add double quotes the %U, it tries to open $HOME/Documents (which is a folder, won't work). I can also reproduce

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-08-31 Thread Guy
Here the same problem on ubuntu 12.04. 14 month and still no fix, must be a very complicated bug to solve. :-D -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When run as

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-07-22 Thread Paddy Landau
This bug is still present in 12.10 Quantal Quetzal. :( -- You received this bug notification because you are a member of Desktop Packages, 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

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-07-03 Thread Paddy Landau
If you are interested, I have created a simple workaround for this problem. The how-to is described in the following forum post. http://ubuntuforums.org/showpost.php?p=12071894postcount=81 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-07-02 Thread Paddy Landau
I can confirm that this is still happening. It's been over a year already -- this simple error does not reflect well on Ubuntu. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-07-02 Thread spartan
I second that this is still happening. I am running 10.04, but the bug happens for me when opening a file over SSH. For example: ssh -Y remote_machine 'gedit /home/user/Documents/file.txt' opens file.txt, but also Untitled Document 1. -- You received this bug notification because you are a

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-06-20 Thread WoodyEckelzone
Still in 12.04. By `edit as root` user action from krusader. Annoying bug, solved by using geany instead of gedit -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When run

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-04-27 Thread bowser
Still not fixed in Precise. -- You received this bug notification because you are a member of Desktop Packages, 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'

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-04-17 Thread Israel Dahl
I have this problem still in 12.04 Beta. I had this problem before in Oneric... but kinda got used to it, and just remembered it today when I was doing some gksu gedit work... I also tried gksudo gedit surprisingly sudo gedit doesn't open the extra tab, though I don't intend to use sudo

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-03-16 Thread Aaron Brubacher
whoops...turns out this was actually happening to me because of /usr/share/applications/gedit.desktop had Exec=gedit --new-document %U (my fault) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu.

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-03-06 Thread Aaron Brubacher
This does happen to me when using gksudo But it also happens to me when clicking on files in Nautilus, not as sudo. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2012-02-14 Thread Peter Fisera
Just to add an interesting twist... I'm running Ubuntu 11.10 (oneiric) and this same bug is happening for me when using gEdit from Konqueror (as a file manager) when clicking on text files. i sometimes run Konqueror with kdesudo first, so that i can access files that only have 'root'

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2011-12-25 Thread Péter Trombitás
I have the same problem here on Ubuntu 11.10, quite annoying. Does anybody know where can I find the root's config file for gedit? I'm sure that causes the problem, because if I run sudo gedit, the problem doesn't occur. However, starting graphical programs with sudo uses the user's config

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2011-12-25 Thread Doug McMahon
I'd just go ahead use sudo gedit or sudo -H gedit -- You received this bug notification because you are a member of Desktop Packages, 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

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2011-10-30 Thread Kent T.
The strange thing is, unlike the duplicate Bug #838404 says, it ONLY happens with gksudo, anything else like sudo, su or without this works fine without the annoying new document 1. My notice on Xubuntu 11.10 Oneiric. -- You received this bug notification because you are a member of Desktop

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2011-10-30 Thread Kent T.
I have to correct myself from before, it's like the Bug #838404, with gksu or/and gksudo. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When run as root [gksudo gedit

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2011-10-30 Thread jiri cvrk
the same problem here, calling gksudo gedit anyfile opens untitled document in addition Ubuntu Oneiric Ocelot -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When run as

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2011-10-24 Thread Eliah Kagan
This also occurs in Precise (see duplicate bug 880038). ** Tags added: precise -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When run as root [gksudo gedit whatever]

[Desktop-packages] [Bug 796076] Re: When run as root [gksudo gedit whatever] gedit tries to open a 2nd 'untitled document 1'

2011-10-13 Thread robert shearer
Hmmnn, so upstream have had notification since June and no action whatsoever ??? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/796076 Title: When run as root [gksudo gedit whatever]