When we select certain features we want from the Features and Encoding menus, it would be better from the user perspective to have the program remember those selections.
Use case: Currently, the connection gets lost frequently, once every 15 minutes to an hour. When that happens, i reestablish the connection and need to select my options: Swap control/command key and use PNG encoding. It's a chore to do this every time. Of course, if the connection dropping can be resolved, that is also a solution. Short of that, having persistent option settings would make those drops not noticeable.
/Applications/Xpra.app/Contents/MacOS/Xpra attach <srv>:DISPLAY directly, so a quick up arrow-enter reestablishes my connection.
Currently, the connection gets lost frequently, once every 15 minutes to an hour
Why is that? That sounds like something worth fixing.
When that happens, i reestablish the connection and need to select my options: Swap control/command key and use PNG encoding
Isn't swap the default? As for setting the encoding:
echo "encoding=png" >> ~/.xpra/xpra.conf
.../Xpra attach --encoding=png
Note however that png is pretty bad.. (see wiki/Encodings)
Modifying (or creating it if it does not exist) the user config is not something that applications normally do without giving the user the option to "save preferences". Could be done I guess, but unlikely since there are other ways to set preferences already (see above).
Interesting! Both the swap and encoding can be specified by command line. This is all i need. Thank you!
My command is now:
/Applications/Xpra.app/Contents/MacOS/Xpra attach ssh:<server>:13 --encoding=png --no-swap-keys
I want the cntrl key to remain triggered with the cntrl key because cmd-space on the mac is spotlight while on linux/eclipse it's autocompletion.
I'll post another entry here about the lost connection. Thanks!
FYI: the command line options are in the man page, which I have now rendered online here: browser/xpra/trunk/src/man/xpra.1.
Bear in mind that this is the unreleased trunk version, which just so happens to have changed a number of command line arguments from
--XYZ=no (although it still supports the old form, the man page only lists the new form..)
Just one more thing on the subject, as of r7862 we will also be shipping the manual page in html format on win32 (via a start menu link) and osx (via a helper command to launch the browser).
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/699