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.)
You can use $HOME/.xpra/conf.d/
.
(and this can override any global system settings)
Isn't that enough?
$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.
Instead of --confdir one can set XPRA_SYSCONF_DIR or XPRA_USER_CONF_DIR.
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.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1418