On Tue, May 5, 2009 at 2:05 PM, Antoine Martin <[email protected]> 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 _______________________________________________ Parti-discuss mailing list [email protected] http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss
