summaryrefslogtreecommitdiff
path: root/voctogui
diff options
context:
space:
mode:
Diffstat (limited to 'voctogui')
-rw-r--r--voctogui/README.md17
-rw-r--r--voctogui/lib/config.py1
2 files changed, 16 insertions, 2 deletions
diff --git a/voctogui/README.md b/voctogui/README.md
index 156a086..6c5fd84 100644
--- a/voctogui/README.md
+++ b/voctogui/README.md
@@ -1,4 +1,4 @@
-# Voctocore - The gui-frontend for voctocore
+# Voctogui - The GUI frontend for Voctocore
![Screenshot of voctogui in action](voctomix.png)
@@ -23,4 +23,17 @@
- `t` Cut
### Select an Audio-Source
-Click twice on the Selection Combobox, the select your Source within 5 Seconds (It will auto-lock again after 5 Seconds)
+Click twice on the selection combobox, then select your source within 5 Seconds. (It will auto-lock again after 5 seconds.)
+
+## Configuration
+On startup the GUI reads the following configuration files:
+ - `<install-dir>/default-config.ini`
+ - `<install-dir>/config.ini`
+ - `/etc/voctomix/voctogui.ini`
+ - `/etc/voctogui.ini`
+ - `<homedir>/.voctogui.ini`
+ - `<File specified on Command-Line via --ini-file>`
+
+From top to bottom the individual settings override previous settings. `default-config.ini` should not be edited, because a missing setting will result in a Python exception.
+
+On startup the GUI fetches all configuration settings from the core and merges them into the GUI config.
diff --git a/voctogui/lib/config.py b/voctogui/lib/config.py
index 4120092..d4630bf 100644
--- a/voctogui/lib/config.py
+++ b/voctogui/lib/config.py
@@ -25,6 +25,7 @@ SafeConfigParser.fetchServerConfig = fetchServerConfig
files = [
os.path.join(os.path.dirname(os.path.realpath(__file__)), '../default-config.ini'),
os.path.join(os.path.dirname(os.path.realpath(__file__)), '../config.ini'),
+ '/etc/voctomix/voctogui.ini',
'/etc/voctogui.ini',
os.path.expanduser('~/.voctogui.ini'),
]