This version has expired
** Changed in: gedit (Ubuntu)
Status: Triaged = Invalid
--
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
… 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
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
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
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
When run as root [gksudo gedit whatever]
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
When run as root [gksudo gedit whatever]
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
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
@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 Ubuntu
Bugs, which is subscribed to Ubuntu.
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 $@
@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
** Changed in: gedit
Status: New = Fix Released
--
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
@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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
When
@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
Still happening in 13.04 with all documents, not just super user.
--
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
Fixed in gedit-3.7.2 greater
--
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
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 Ubuntu
Bug is still present in Raring Ringtail
--
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
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
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 Ubuntu
Bugs, which is subscribed to
@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 Ubuntu
Bugs, which is subscribed to Ubuntu.
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
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
@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
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
@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
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.
--
@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 Ubuntu
Bugs, which is subscribed to
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'
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
Yep same behavior here as well with Ubuntu 12.10x64.
--
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
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
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
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
When run as root [gksudo
This bug is still present in 12.10 Quantal Quetzal. :(
--
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
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 Ubuntu
Bugs, which is subscribed to
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
When run
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
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
When run as root
Still not fixed in Precise.
--
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
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
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
When run as root
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'
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
I'd just go ahead use sudo gedit or sudo -H gedit
--
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
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 Ubuntu
Bugs,
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
When run as root [gksudo gedit whatever] gedit
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796076
Title:
When run as root [gksudo
This also occurs in Precise (see duplicate bug 880038).
** Tags added: precise
--
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
see also:
Bug #838404 (more or less) a duplicate of this bug.
Bug #805682 Underlying issues with Nautilus and gksudu
--
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
Hmmnn, so upstream have had notification since June and no action
whatsoever ???
--
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
I've sent this upstream, they might have a better idea on what's going
on, the upstream bug is
https://bugzilla.gnome.org/show_bug.cgi?id=653563
** Bug watch added: GNOME Bug Tracker #653563
https://bugzilla.gnome.org/show_bug.cgi?id=653563
** Changed in: gedit (Ubuntu)
Importance:
** Changed in: gedit
Status: Unknown = New
** Changed in: gedit
Importance: Unknown = Medium
--
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
Thanks for your report, I'm seeing this too. This is a regression
introduced in Oneiric, in Natty no additional tab is opened.
** Changed in: gedit (Ubuntu)
Status: New = Confirmed
** Description changed:
Binary package hint: gedit
Ex.
- gksudo gedit /etc/fstab will open fstab
--
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
56 matches
Mail list logo