Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#184 closed enhancement (fixed)

read ~/.winswitch/client/xpra_options_defaults.conf before starting xpra

Reported by: pmarek Owned by: Antoine Martin
Priority: minor Milestone: 0.12
Component: Client Keywords:
Cc:

Description

It would be nice if the config file was read every time before xpra gets started; having a global default, and per-server overrides would be nice, too.

Thank you very much!

Change History (3)

comment:1 Changed 7 years ago by pmarek

That did already work (about 2-3 months ago), but now it doesn't anymore.

It's winswitch fault - on "normal" connecting from the menu the --no-keyboard-sync option is missing, but gets there (and works) when I chang the xpra configuration via the winswitch menu and say "reconnect".

dpkg-query -L winswitch | xargs grep -i xpra_options_defaults

comes back empty, same for xpra and python-wimpiggy, so the file is just not used anymore?

I think ./winswitch/virt/xpra_client_base.py get_options_defaults() should read the file.

Last edited 7 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 7 years ago by Antoine Martin

Milestone: 0.12
Resolution: fixed
Status: newclosed

No, get_options_defaults is where the default options are generated then stored in the config file (see changeset below for implementation details)

Done in r4892 - we check the modified time of the file and reload it if needed.

Note that the files have been moved to .winswitch/client/protocols/ to tidy things up - if old files are found in the old location, they will be moved there.

comment:3 Changed 7 years ago by Antoine Martin

r4912 ensures we apply the defaults even when not using the dialog to start commands

Note: See TracTickets for help on using tickets.