Gedit - disabling "untitled document 1"

rikona rikona at sonic.net
Thu Jan 29 21:09:03 UTC 2015


Hello Karl,

Thursday, January 29, 2015, 2:20:49 AM, Karl wrote:

> 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

Exec=gedit %U
Exec=gedit --new-window
Exec=gedit --new-window

Is there a way to set up/edit gedit.desktop so it would not open
"untitled document 1"? If I hand edit it, will it get overwritten?

-- 

 rikona        




More information about the ubuntu-users mailing list