User: Password:
|
|
Subscribe / Log in / New account

Konsole for me!

Konsole for me!

Posted Jun 7, 2004 10:08 UTC (Mon) by priyadi (guest, #6583)
Parent article: The Grumpy Editor's guide to terminal emulators

(OK, I'm late to the party, but here's my take.)

After using several terms in the past 8 years (xterm, rxvt, eterm, aterm,
gnome-terminal, konsole), now I'm a happy konsole user. Why konsole?

- It is scriptable via dcop. My work consists of managing about 2 dozens
of server. To open sessions (in tabs) to all those servers, I created a
shell script similar to this:

#!/bin/sh
SESSIONS="
server1
server2
.....
"
KONSOLE=`dcopclient $KONSOLE_DCOP`
CURSESSION=$KONSOLE_DCOP_SESSION
for A in $SESSIONS ; do
NEWSESSION=`dcop $KONSOLE konsole newSession $A`
dcop $KONSOLE $NEWSESSION renameSession $A
done
dcop $CURSESSION closeSession

it's a lot better than 2 dozens of xterms cluttering your desktop and
taskbar :)

- konsole has 'monitor for activity' and 'monitor for silence', the former
is useful for watching if there's an activity (talk invitation, etc) in a
particular tab, the latter is useful if you want to be notified whenever
e.g. a lengthy compile has finished

- if you are like me have 2 dozens of open sessions, you'll appreciate
'send input to all sessions' feature. when this enabled, anything you type
on one tab will also be sent to the other tabs on the same konsole window.
no need to copy commands, and paste them multiple times.


(Log in to post comments)

DCOP

Posted Jun 7, 2004 13:20 UTC (Mon) by fatrat (subscriber, #1518) [Link]


Some one beat me to this. I wrote a little script

http://www.clune.org/linux/kde_hint.html

which lets you do this

$ go remote.machine

and ssh's to that machine in a new tab. Combine that with public-key based
logins and it's very nice indeed.

Arthur

DCOP

Posted Jun 7, 2004 14:10 UTC (Mon) by priyadi (guest, #6583) [Link]

anybody knows if there's a way to send keystrokes using DCOP to a konsole
window? we could avoid having gazillions of konsole sessions if there's a
way to do it.

DCOP

Posted Aug 15, 2007 5:40 UTC (Wed) by kamathln (guest, #46781) [Link]

start konsole by giving --script option
then use the "feedsession()" method


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds