[winswitch] xpra control argument

Antoine Martin antoine at nagafix.co.uk
Fri Oct 31 03:38:02 GMT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 31/10/14 08:26, Long Nguyen Thanh wrote:
> Hi all,
>
> I also need more info about this command.
> I tried :
> xpra control :DISPLAY encoding help
> Result is "set encoding to help for 2 windows"
encoding does not support "help"
It is one of the ones deemed too "obvious": as you figured out, the
encoding options are the same as everywhere else.
See man page. See also:
xpra attach --encoding=help
> But encoding must be rgb, png, jpeg, webp,...
> Try with other 1st argument :
> xpra control :DISPLAY client help
> Result is "client control command 'help' forwarded to 0 clients
> Inthis ticket <http://xpra.org/trac/ticket/461>, I found "xpra control
:DISPLAY client show_session_info"
> It will show session info dialog in client-side.
> Can I get more 2nd, 3rd argument similiar with 'show_session_info' ?
Maybe 'show_bug_report', 'show_bug_report save path' , or 'raise_windows' ?
Sure, if someone implements it.
Feel free to file tickets for that.
> Can I get all info in statistic tab of session info and put it to a file by a/some command(s) at
client-side ?
"xpra info" contains this data, and more.

Antoine
>
>
> On Thu, Oct 30, 2014 at 4:12 PM, Antoine Martin <antoine at nagafix.co.uk
<mailto:antoine at nagafix.co.uk>> wrote:
>
>     On 29/10/14 08:38, John Smith wrote:
>     > Hi,
>     >
>     > xpra control :DISPLAY help will return 1st argument of "xpra
control"
>     > xpra control :100 help
>     > "control supports: hello, help, debug, encoding, auto-refresh,
quality,
>     > min-quality, speed, min-speed, compression, encoder, refresh,
>     sound-output,
>     > scaling, suspend, resume, name, ungrab, key, focus, client"
>     >
>     > How to get 2nd argument ? I know only a bit of it.
>     > xpra control :100 encoding => 2nd arg will be rgb, png, jpeg, ...
>     You can try:
>     xpra control :100 encoding help
>     The "help" argument is supported by some of the control options, and
>     others are deemed to be too obvious (ie: quality, speed, etc)
>     This interface is not meant to be API stable, so you will not find
>     anything about it in the man page.
>     You may find some examples in the original ticket:
>     http://xpra.org/trac/ticket/461
>
>     Cheers
>     Antoine
>
>     _______________________________________________
>     shifter-users mailing list
>     shifter-users at lists.devloop.org.uk
<mailto:shifter-users at lists.devloop.org.uk>
>     http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlRTBBkACgkQGK2zHPGK1rt+cwCbB/bh3hT3L1F+SSQOGzDnAdcK
UxQAn1KiGms3d08Pd6VMEAuasVeMYUGz
=OxYp
-----END PGP SIGNATURE-----




More information about the shifter-users mailing list