In message <[EMAIL PROTECTED]> on Thu, 20 Jul 2006 11:59:37 +0200, Johan
Vromans <[EMAIL PROTECTED]> said:
jvromans> What I would like to have (ideally) is a wrapper program
jvromans> that can be run with:
jvromans>
jvromans> xgeo <program> <desired geometry> <other arguments>
Why limit yourself to geometry settings? The safest would probably be
a X protocol proxy hack, something like this:
xproxy <X options> -e <program> <program arguments>
It's purpose would be to open two sockets, one accepting connections
from the called program (indicated by a changed $DISPLAY) and one to
the X server, to inject appropriate ctwm.* resources in that stream,
then just pass bytes between the called program and the X server.
This is more or less what SSH does already (except the injection, I
think), so there's an example to go from.
Cheers,
Richard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis