Gedit - disabling "untitled document 1"

Colin Law clanlaw at gmail.com
Thu Jan 29 11:34:55 UTC 2015


On 29 January 2015 at 11:15, Nils Kassube <kassube at gmx.net> wrote:
> Karl Auer wrote:
>> On Thu, 2015-01-29 at 10:53 +0100, Nils Kassube wrote:
>> > From konqueror right click the icon of a text file and select
>> > "Properties" and in the new window select "File Type Options". In
>> > the
>> > lower right selection area select gedit and on the right click the
>> > "Edit…" button. Select the "Application" tab and make sure that the
>> > entry in the line "Command" is "gedit %U". Click "OK" (several
>> > times)
>> > and check if it still opens the extra file "untitled document 1".
>>
>> Yeah - what he said :-)
>>
>> And if anyone can tell me where this incredibly useful feature is in
>> Nautilus, or if it's not in Nautilus why not, please do. I'd much
>> rather not hand-edit .desktop files.
>
> Sorry, I don't use Unity, so I can't help you there. But isn't there
> something like system settings for Unity? Maybe you can find it there
> somewhere?

I think it is a nautilus issue, not unity.  You can right click a
file, select properties, and select the app to run it (and make it the
default), but I don't think there is a way of specifying command line
parameters to the app.

Colin



More information about the ubuntu-users mailing list