Xpra: Ticket #583: setup.py --user doesn't install etc/xpra/xpra.conf and etc/xpra/xorg.conf properly

./setup.py install --user

does not install etc/xpra/xpra.conf and etc/xpra/xorg.conf properly

I attached a patch that solve the issue at less in my case, it install those files in $HOME/.local/etc/xpra, may break other option ?



Thu, 29 May 2014 15:45:19 GMT - Benoit Gschwind: attachment set


Fri, 30 May 2014 02:15:17 GMT - Antoine Martin: owner changed

This patch would break "regular" global installation for all users.

What we need instead is a way of detecting when we're not installing globally, and use a relative path in that case (or just drop installing etc bits altogether in that case since they won't be picked up anyhow).

Simply checking for --user in sys.argv might be enough, though there might be other flags that are relevant.


Mon, 02 Jun 2014 20:34:59 GMT - Benoit Gschwind: attachment set


Mon, 02 Jun 2014 20:36:21 GMT - Benoit Gschwind: owner changed

Proposal for a proper patch


Tue, 03 Jun 2014 01:18:51 GMT - Antoine Martin: status changed; resolution set

Applied in r6631. Thanks.


Sun, 13 Jul 2014 16:05:54 GMT - Antoine Martin:

Taken this ticket into account in r6895


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

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