Gedit - disabling "untitled document 1"

rikona rikona at sonic.net
Sat Jan 31 20:23:49 UTC 2015


Hello Karl,

Thursday, January 29, 2015, 8:30:22 PM, Karl wrote:

> On Thu, 2015-01-29 at 19:49 -0800, rikona wrote:
>> I was hesitant - those lines are in different 'sections' - see below.
>> Not sure what it would do.

> The idea is to see whether those "--new-window" arguments are being
> "seen" when konqueror starts. By just removing all of them, we don't
> have to worry about which one is responsible. If, after the change,
> the offending blank tab goes away, then we've found the problem. If
> not, we have to look further.

> If we have found the problem, then you can replace just one of the
> two lines and repeat the test to find out which of the two lines was
> at fault. If, after changing one back, the problem recurs, then the
> one you changed back was the problem; otherwise the one you didn't
> change was the problem.

I was going to try the edits as you suggested, but in the bug reports
listed by NoOp, it said one should not try to run gedit as root, so
I'm postponing this temporarily. It would be interesting, though, to
see if this might work somehow. The gedit alternative is a fairly
reasonable workaround, so the urgency to make it work is considerably
reduced.

> Whether all this works or not, you can always just copy the backup
> back over your modified version and all will be as it was. That's
> why you take a backup ;-)

Agreed...

>> Also, I'm running Unity. How can I restart KDE, being *absolutely sure*
>> it will not trash 40-50 working documents in any way?

> Well, personally I doubt you actually have to restart KDE. I think the
> change will "take" immediately. Maybe Nils or someother KDE user can
> confirm this.

> If not, I would imagine that simply logging out and back in should
> do the job, but to make sure you might like to reboot your system.
> Close all open documents, shut down all open applications, and
> select "Restart system" from whatever menu KDE supplies for that
> purpose. If you are really paranoid, copy your important documents
> off to a USB stick, CD, DVD or remote network storage first. Or just
> do this after your normal backup has run.

> In general, rebooting Unix should very rarely be needed, but sometimes
> it's the simplest way to make sure that everything is "clean".
> Definitely close all open documents first, though!

Shutting down everything puts a BIG crimp in my workflow. I avoid it
unless absolutely essential.

>> > Please post the full contents of /usr/share/applications/gedit.desktop
>> > (it's only 20-odd lines).
>> see below - thanks for the help!

> That looks identical to mine. This whole issue is starting to get a a
> bit metaphysical...

I guess mixing Unity/Ubuntu and KDE could get a bit metaphysical. :-))

Thanks for the help...

-- 

 rikona        





More information about the ubuntu-users mailing list