From kde-linux Thu Jan 27 12:42:47 2005 From: Kevin Krammer Date: Thu, 27 Jan 2005 12:42:47 +0000 To: kde-linux Subject: Re: [kde-linux] Konsole Multisession Script Problem Message-Id: <200501271342.47962.kevin.krammer () gmx ! at> X-MARC-Message: https://marc.info/?l=kde-linux&m=110682982418991 On Monday 24 January 2005 21:06, Esben Mose Hansen wrote: > On Monday 24 January 2005 18:54, David Cary Hart wrote: > > I have reached the point of diminishing returns. > > > > How do I instruct, in a bash script, konsole to add another session > > (tab)? > > dcop $(dcop | grep konsole | head -n1) konsole newSession Alternatively, if you are running the script in another session of the same console, you can use the variable KONSOLE_DCOP as the DCOP reference dcop $KONSOLE_DCOP newSession > > Is there any way to tell it to monitor for activity in one of the > > sessions? > > Not that I can tell. Unfortunately Konsole seems not to have the "qt" interface which usually allows activating actions by DCOP. Cheers, Kevin -- Kevin Krammer Qt/KDE Developer, Debian User www.mrunix.de - German Unix/Linux programming forum www.qtforum.org - Qt programming forum ___________________________________________________ This message is from the kde-linux mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-linux. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.