[Konsole-devel] Re: [uml-user] RE:Keeping all Xterms in Konsole

Jan Hudec bulb at ucw.cz
Fri Jun 27 13:34:51 UTC 2003


On Tue, Jun 24, 2003 at 09:57:49AM -0400, Ridgeway, Alan wrote:
> Hi All
> 
> I am seeking advice from both/either list.
> The is regarding User Mode Linux Xterms and Konsole.
> I would like to keep all 6 Xterms for each User Mode Linux Virtual Machine to stay in the same window.
> So I could have one window per virtual machine and not a whole desktop cluttered with Xterms all over. 
> 
> In Konsole: to open a new session, but in the same window I can use the following command:
> 	dcop $KONSOLE_DCOP newSession
> 
> In any Xterm (including konsole) to launch User Mode Linux into a new Xterm window, the following command is expected:
> 	konsole -T "The Title" -e <the executable>
> 
> Example: To open a new Xterm with the man page for ps. 
> 	konsole -T "PS man page" -e man ps
> 
> I tried a wrapper script that was suggested to me, but it assumed that the following would work:
> 
> 	dcop $KONSOLE_DCOP newSession -T "$title" -e "$exec"
> 
> But dcop sees the -T and the -e as bad arguments.

Because thay _ARE_ bad arguments. For the _dcop_. You need to find out,
how to open a new session with specific command via dcop. I just did
a brief lookup using kdcop and did not found any. Complain loudly to the
konsole maintainer (if it is not possible, it should be; if it is, it
should be documented).

> So how do I get the functionality of the above statement but with the
> right syntax, commands, etc.?

You will first have to study the konsole dcop interface, which has
nothing in common with the command-line one.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb at ucw.cz>


More information about the konsole-devel mailing list