[Parti-discuss] [PATCH] allow xpra command line to specify window title suffix

Nathaniel Smith njs at pobox.com
Tue May 5 14:29:11 PDT 2009


On Tue, May 5, 2009 at 2:05 PM, Antoine Martin <antoine at nagafix.co.uk> wrote:
> Hmmm, I don't need that (not yet anyway), but it is a bit more flexible.
> I guess EWMH-compliant info would do too, although in some cases it may
> not be what the user is after: think 'home-PC' vs "ppp199-199...."

On further investigation, I misremembered -- it's actually a classic X
thing. Basically, X apps are encouraged to call gethostname(3) and
stuff whatever it returns into an X window property, and I think Xlib
may just do this for you by default (certainly toolkits do). So it
wouldn't be ppp199-blahblah, though it might be "WORKSTATION" or
something. Metacity for instance already uses this information to
append (on <whatever>) to apps using standard remote X forwarding.

Straw poll time!

Here are some title formats for a client running on the machine
"frodo", attached to an xpra server also on "frodo", displayed over
xpra:
  Emacs (via xpra)   # current
  Emacs (on frodo)
  Emacs (on frodo, via xpra)

Here are some possible title formats for a client running on the
machine "frodo", attached to an xpra server on "gandalf", displayed
over xpra:
  Emacs (via xpra)   # current
  Emacs (on frodo)
  Emacs (on gandalf)
  Emacs (on frodo, via xpra)
  Emacs (on gandalf, via xpra)
  Emacs (on frodo, via gandalf)
  Emacs (on frodo, via xpra on gandalf)

What do people like?

-- Nathaniel



More information about the Parti-discuss mailing list