Xpra: Ticket #1418: cmd line arg "--configdir"

It would be great to have an command line argument "--configdir" (like it can be found for example in Xorg) to Xpra. Currently the config directory "conf.d" is fixed to the platform specific paths, which is less flexible.

This would allow to switch between different complex configurations quickly. Not only directly on the command line, but also inside a wrapper script the configuration could be switched.

(I would like to automatically chose by a wrapper script between different configurations for different login nodes, which share the same filesystem.)



Thu, 19 Jan 2017 13:53:44 GMT - Antoine Martin: owner changed

You can use $HOME/.xpra/conf.d/. (and this can override any global system settings)

Isn't that enough?


Thu, 19 Jan 2017 14:32:56 GMT - Jens H. Goebbert:

$HOME/.xpra/conf.d/ is not always enough.

If you have multiple login nodes for a multiuser cluster with different configurations, but sharing the same $HOME, a wrapper script can detect what machine you are logged into and switch the config directory for Xpra depending on that. In this case it is more a replacement for /etc/xpra/conf.d

In the first place, I search for a solution to set exec-wrapper "env -i bash -l -c vglrun --" on some nodes and exec-wrapper "env -i bash -l -c --" on others.


Thu, 19 Jan 2017 17:42:27 GMT - Jens H. Goebbert: status changed; resolution set

Instead of --confdir one can set XPRA_SYSCONF_DIR or XPRA_USER_CONF_DIR.


Thu, 19 Jan 2017 17:59:25 GMT - Jens H. Goebbert:

Replying to Jens H. Goebbert:

Instead of --confdir one can set XPRA_SYSCONF_DIR or XPRA_USER_CONF_DIR.

XPRA_SYSCONF_DIR does not work, XPRA_SYSCONF_DIRS works.


Sat, 23 Jan 2021 05:23:47 GMT - migration script:

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