Ben Barrett wrote:

> Check this out, though; a quick
> story about me being impressed at the integration of Gnome:  when I
> remote-ssh my evolution session, links open in a local browser session. 

Are you running Mozilla (or a derivative) as your browser?  Here's
how it works, and it's not Gnome-specific.

The X Window System has the notion of a "property" which can be
attached to any window.  A property is a name and a bit of binary data
(usually a text string).  Any X client can set properties on any
window, and any X client can request an event (XPropertyEvent)
whenever a property changes on a given window.

You can examine and set window properties using the xprop program.

Mozilla uses X properties to communicate between Mozilla and a program
called mozilla-xremote-client.  The xremote-client sets a property on
the root window of your X display which Mozilla interprets as "open a
window with this URL".  It's actually more complicated than that --
they do a handshake, etc.  But the net effect [sic] is that any
program that can access your X display can send commands to Mozilla.
That's kind of the point of X being a network-transparent window
system.

The mozilla top level shell script can invoke mozilla-xremote-client
for you.  Here is the documentation of its functionality.  You can use
this trick to invoke mozilla from a shell script, Perl, Python, or a C
program (obviously).


        http://www.mozilla.org/unix/remote.html

Of course, if you're not using Mozilla (nor Galeon nor epiphany nor
skipstone nor ...) then this doesn't apply.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]
_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to