Gedit - disabling "untitled document 1"
rikona at sonic.net
Sat Jan 31 20:27:33 UTC 2015
Friday, January 30, 2015, 3:22:13 AM, Nils wrote:
> rikona wrote:
>> Thursday, January 29, 2015, 1:50:15 PM, Nils wrote:
>> > If you prefer kate, you could use the same procedure to change the
>> > command used to start kate. If you always want to open a new
>> > instance of kate, the command should be "kate -n %U".
>> Is this in some desktop file?
> The default desktop file is
> If you modify the command for starting kate, there will be a copy of
> that desktop file written to
> "$HOME/.local/share/applications/kde4/kate.desktop" with your changes
> applied. Or if you want to do the changes manually, you could copy the
> default file to the location in your .local folder and edit that
>> Usually, I rt click on a file in konq,
>> 'open with kate'. I almost never use the CLI to do it. It would be
>> very nice to get a new kate, in the same desktop, using 'open with
>> kate'. OR, perhaps even better, to have it open in a kate instance
>> **on the same desktop**. I open a lot of files, and this would
>> minimize the number of kate instances.
> I didn't suggest (or at least it wasn't my intention to suggest) to run
> kate from the command line, but to change the settings for the file
> association for .txt files to make the command "kate -n %U". From the
> command line the "%U" wouldn't make sense.
> If you change the desktop file to run kate with the command "kate -n %U"
> there will be a new kate instance on the current desktop. From the
> output of "kate --help" I don't see an option to reuse a kate instance
> running at the current desktop.
Thanks very much for the explanation. The cons are that I will end up
with several dozen instances of kate, which has its own set of
problems. :-) I didn't see a way to use another tab either - but if
someone knows how to do that, please let me know...
Thanks again for the help.
More information about the ubuntu-users