On Friday 02 July 2004 06:00, Nicolas wrote: > On Thursday 01 July 2004 22:59, Nicolas wrote: > > I found it. It's not realy clean, but it does the job. > > > > kstart -type Override konsole --script --profile log_no_deco > > pid=$(expr $$ + 2) > > konsole1=konsole-$pid > > > > then dcop $konsole ..... > > > > Nic Cola > > the hack works if i only start one konsole. "$$" give the PID of the shell > script. I'd need the PID of the konsole... You can get the PID of a session's shell by DCOP. You could look through all sessions until the you find the PID you got by your construct above. Cheers, Kevin -- Kevin Krammer <kevin.krammer@xxxxxx> Qt/KDE Developer, Debian User www.mrunix.de - Unix/Linux programming forum www.qtforum.org - Qt programming forum
Attachment:
pgpFfYcoIv4zH.pgp
Description: signature
___________________________________________________ . Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.