You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, July 22nd 2004, 2:47am

how to change default terminal to aterm in konqueror

right click in knoqueror filemanager -> Actions -> Open Terminal Here

how to add aterm as additional entry?

how to load 2 tabs of knosole at once in this?

i searched the docs, but cannot find any help

thanx in advance

damir
I understand why you're confused. You're thinking too much. -- Carole Wallach

2

Thursday, July 22nd 2004, 12:05pm

Re: how to change default terminal to aterm in konqueror

Quoted

Original von damir

right click in knoqueror filemanager -> Actions -> Open Terminal Here

how to add aterm as additional entry?

how to load 2 tabs of knosole at once in this?

i searched the docs, but cannot find any help

thanx in advance

damir


Regarding the additional entry:
This tutorial may help you
http://developer.kde.org/documentation/tutorials/dot/servicemenus.html

About the two tabs:
I'm not sure I understand what you're trying to do.
Run two instances of KDE's konsole inside aterm?

If you mean just running a konsole with two tabs here's how I do it:

---

#!/bin/sh

# scripts konsole to open several sessions

# start konsole and remember Id
konsole=`dcopstart konsole-script`

session=`dcop $konsole konsole currentSession`
dcop $konsole $session renameSession "My work dir"
dcop $konsole $session sendSession "cd workdir"
# remember Id of session to activate
sessionToActivate=$session

session=`dcop $konsole konsole newSession`
dcop $konsole $session renameSession "access log view"
dcop $konsole $session sendSession "cd logdir"
dcop $konsole $session sendSession "tail -f access.log"

session=`dcop $konsole konsole newSession`
dcop $konsole $session renameSession "error log view"
dcop $konsole $session sendSession "cd logdir"
dcop $konsole $session sendSession "tail -f error.log"

# activate chosen session
dcop $konsole konsole activateSession $sessionToActivate

---

Note: If this doesn't work:
Maybe you have to enable scripting for konsole for the sendSession command to work. I'm not sure if this is still needed in KDE 3.2 though, so I'd first try without.