Message: previous - next
Month: January 2012

Re: [trinity-devel] Configuring Kate

From: Julius Schwartzenberg <julius.schwartzenberg@...>
Date: Thu, 19 Jan 2012 11:03:11 +0100
Darrell Anderson wrote:
>>> When Kate is already open, and in Firefox I press
>> Ctrl-U to open the web page in the assigned external text
>> editor (Kate), the web content opens in a second Kate
>> session.
>>> I want to use the current session only. I'm an MDI
>> kind of person. :)
>> Maybe using kwrite instead of kate would work in your case?
>> The actual
>> KParts are the same, it's just that kwrite lacks some
>> things like
>> multiple sessions.
> kwrite is strictly SDI. If I wanted to open several web pages I would end up with several instances of kwrite open. Yes, there is task bar grouping but that only reduces clutter in the task bar. The idea of using kate is opening everything in one window. kate has a nice document listing to the left side and I can traverse through any of the open documents.
> kate works most of the time that way, but not all of the time.

Ah I understand now. It seems I hadn't understood you correctly. What I
would recommend then is writing a small shell script and make it write
out all it's arguments to a file. Then call that script from Firefox and
watch how Firefox exactly calls the script. The problem should become
visible then. You could also call kate with the right arguments from
this script at some point if you cannot find another solution.