Gedit - disabling "untitled document 1"

rikona rikona at sonic.net
Mon Feb 2 02:19:17 UTC 2015


Hello NoOp,

Sunday, February 1, 2015, 3:14:15 PM, NoOp wrote:

> On 02/01/2015 11:45 AM, NoOp wrote:
>> On 01/31/2015 12:02 PM, rikona wrote:
>>> Hello NoOp,
>>> 
>>> Friday, January 30, 2015, 8:50:05 PM, NoOp wrote:
>>> 
>>>> On 01/28/2015 09:50 PM, rikona wrote:
>>>>> I've gotten quite irritated with Gedit - every edit generates a tab
>>>>> with "untitled document 1" that has to be dealt with on closing.
>>>>> How can I keep gedit from ever coming up with "untitled document 1"
>>>>> unless I tell it to. Net searching did not offer clues, but maybe I
>>>>> asked the wrong thing... 
>>>> ...
>>> 
>>>> See:
>>>> <https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/796076>
>>>> and
>>>> <https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/890041>
>>> 
>>> Those were quite interesting. Mostly it talks about running gedit as
>>> root, which I'm not trying to do. It does mention the problem of
>>> trying to run it from Konqueror, and talks about that as essentially a
>>> different issue. That's when I see the problem, as do many others. 
>>> 
>>> An interesting and informative comment was mentioned, essentially
>>> saying that all Gnome graphical programs should not be run as root and
>>> expected to perform properly. The developers do not consider that to
>>> be a bug and have no intention of changing that even in the future.
>>> Something for everyone to keep in mind. 
>>> 
>>> In the discussions, the workaround for several people was to use a
>>> different editor. The geany program looks quite good to me as an
>>> alternate but was not mentioned in the discussions. I guess that will
>>> be my workaround, unless someone can suggest a way to get it to
>>> operate properly when called from Konqueror - I'd still like to be
>>> able to do that. 
>>> 
>>> Thanks much for the info.
>>> 
>> 
>> Yes, just installed kong & I can reproduce in 12.04 on konqueror. The
>> problem seems to have been taken care of in 14.04 as I cannot reproduce
>> there - I'll see if I can figure out the differences.
>> 
>> These are the versions I have in 14.04:
>> $ apt-cache policy gedit
>> gedit:
>>   Installed: 3.10.4-0ubuntu4
>>   Candidate: 3.10.4-0ubuntu4
>>   Version table:
>>  *** 3.10.4-0ubuntu4 0
>>         500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
>>         100 /var/lib/dpkg/status
>> $ apt-cache policy konqueror
>> konqueror:
>>   Installed: 4:4.13.3-0ubuntu0.1
>>   Candidate: 4:4.13.3-0ubuntu0.1
>>   Version table:
>>  *** 4:4.13.3-0ubuntu0.1 0
>>         500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe
>> amd64 Packages
>>         100 /var/lib/dpkg/status
>>      4:4.13.0-0ubuntu1 0
>>         500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64
>> Packages
>> 
>> In 12.04 the are 3.4.1-0ubuntu1 and 4:4.8.5-0ubuntu0.1 respectively.
>> 


> Maybe this will be of help/interest:

> <https://bugs.kde.org/show_bug.cgi?id=276103>
> (Dolphin opens gedit-associated files with 2 gedit tabs)

Interesting.... the last comment ties it up - problem apparently fixed
in gedit 3.8+. I have 3.4.1 in 12.04, so way behind. A few workarounds
were mentioned, but often cause side effects. :-) Doesn't seem easy to
fix reasonably well.

For now, maybe I'll just use geany instead [I'm getting to like that
quite well.]

Thanks for the help.

-- 

 rikona        




More information about the ubuntu-users mailing list