Gedit - disabling "untitled document 1"

Karl Auer kauer at
Thu Jan 29 10:20:49 UTC 2015

On Thu, 2015-01-29 at 00:52 -0800, rikona wrote:
> if from konq, I get:
> .... /usr/bin/gedit   plus   what file name was opened-
> opens with "untitled document 1"
> [...]
> How can I NOT get "untitled document 1", preferably on a permanent
> basis, if I'm opening an existing file from konq, which I use most of
> the time?

Well, it's thin evidence, but I reckon konq is incorrectly invoking
gedit with the "--new-document" argument. I don't use konq and do not
know where these invocations are configured - perhaps someone else (or
Google) can help you there.

If konq uses .desktop files (I think it does), you might post the output
of these commands:

grep -i exec /usr/share/applications/gedit.desktop
grep -i exec .local/share/applications/gedit.desktop

That second one may say "no such file" in which case don't bother
posting the output from that one :-)

Regards, K.

Karl Auer (kauer at

GPG fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
Old fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882

More information about the ubuntu-users mailing list