xpra icon
Bug tracker and wiki

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#1254 closed enhancement (fixed)

split the large config file into multiple files placed in xpra/conf.d

Reported by: Antoine Martin Owned by: alas
Priority: major Milestone: 1.0
Component: core Version: trunk
Keywords: Cc:

Description

The files should be parsed in ascending order, each file can override previous files rather than accumulate values for arrays. Keeps things simple.
The main difficulty is going to be changing setup.py to replace strings in multiple files.
Also support loading from the user's home dir under ~/.xpra/conf.d/.

Change History (2)

comment:1 Changed 15 months ago by Antoine Martin

Owner: changed from Antoine Martin to alas
Summary: split the large config file into multiple files placed in xpra.conf.dsplit the large config file into multiple files placed in xpra/conf.d

Done in r12992 + rpm packaging in r12993. We now have in /etc/xpra/conf.d:

05_features.conf
10_network.conf
15_file_transfers.conf
16_printing.conf
20_sound.conf
30_picture.conf
35_webcam.conf
40_client.conf
50_server_network.conf
55_server_x11.conf
60_server.conf

This may help with #1253.
Minor fix for clean build target: r13207.
Hack for including those files under win32: r13209. (we can't use build_conf overrides with py2exe..)

@afarr: just a FYI, feel free to just close.

Last edited 15 months ago by Antoine Martin (previous) (diff)

comment:2 Changed 15 months ago by J. Max Mena

Resolution: fixed
Status: newclosed

Noted. Closing.

Note: See TracTickets for help on using tickets.