Xpra: Ticket #699: Make Menu Selections Persistent

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.

I call /Applications/Xpra.app/Contents/MacOS/Xpra attach <srv>:DISPLAY directly, so a quick up arrow-enter reestablishes my connection.



Wed, 01 Oct 2014 00:31:41 GMT - Antoine Martin: owner changed

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:

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).


Wed, 01 Oct 2014 16:52:22 GMT - radiosilence:

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

Awesome.

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!


Wed, 01 Oct 2014 16:52:35 GMT - radiosilence: status changed; resolution set


Thu, 02 Oct 2014 02:24:09 GMT - Antoine Martin: description changed

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 --no-XYZ to --XYZ=no (although it still supports the old form, the man page only lists the new form..)


Thu, 02 Oct 2014 08:57:27 GMT - Antoine Martin:

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).


Sat, 23 Jan 2021 05:03:21 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/699