Version: (using KDE 4.2.2) OS: Linux Installed from: Ubuntu Packages It would be very useful to have a configuration option which allows only one instance of kate to be running at a time, and all new files which are to be opened with kate (from outside of kate) to be opened in the same instance, rather than opening a new kate window for each new file. There is already support for opening multiple files in one instance, so there's no point in opening a new instance every time when it can be simply added to the existing one - this makes task switching much easier (no need to jump around between several kate windows to find a specific open file). That's how it is in various other text editors (a few on Windows come to mind), and is very convenient. Of course this should be made a configurable option.
with kde 4.2.3 there is still no such option. really it will be a sesnible appication of multidocument editor.
This bug should be closed as invalid. This is the same in KDE-4 as it was in KDE-3. If you want remote opening of Kate then you need to edit the "kate.desktop" file. Change the line: Exec=kate %U to: Exec=kate -u $U You can do this using the Menu Editor. If you think that this should be the default or that it should be easier to select this, then that might be a usability issue.
Sorry for not being explicit - as an ex-Windows user, I took it for granted that it should be configurable via GUI, which is what I would expect from any GUI based application. As an old usability guideline says: 'if the user can't easily find it - it doesn't exist.' Specifically, when referring to a 'configuration option' I meant 'a checkbox somewhere in the general settings dialog to toggle this behavior'. This checkbox in applications that support this feature is often labeled 'allow only one instance to run', or the inverse 'allow multiple instances', or some variation thereof.
*** Bug 193471 has been marked as a duplicate of this bug. ***
We've requests for this again and again, so I also believe that adding an option [x] reuse already open kate when opening files should be in the options dialog.
Yes, there should be an option. I also tried changing the menu entry with the menu editor From: kate &U to: kate -u &U Well, it works, it opens in the already open kate window, but there is also a popup saying: Couldn't start /usr/bin/kate Did I do something wrong? (Also I think this behavior should be the default)
The error "Couldn't start /usr/bin/kate" is fixed in upcoming KDE4.3.
In KDE 3 Kate could be configured as the OP wants: all text files are opened in the existing Kate instance, as new documents. The KDE 4 version does not seem to have this ability. Therefore this is a regression from KDE 3.
The easiest fix would be to change the default to what it was with KDE 3.5. To me the advantage of Kate is having multiple files opened in one session. If you don't want that use KWrite instead.
It is still not fixed in KDE 4.3. Is someone working on this?
That is the default in KDE 4.9.