Gedit - disabling "untitled document 1"
Nils Kassube
kassube at gmx.net
Fri Jan 30 11:22:13 UTC 2015
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 "/usr/share/applications/kde4/kate.desktop".
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
version.
> 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.
Nils
More information about the ubuntu-users
mailing list