mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[doc] install: Config file loading polish
This commit is contained in:
parent
ddc6cb5277
commit
39ea6b0587
@ -289,21 +289,23 @@ Examples:
|
|||||||
Configuration Files
|
Configuration Files
|
||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
By default, the application will look for and load the config files in
|
By default, Looking Glass will load config files from
|
||||||
the following locations and order:
|
the following locations:
|
||||||
|
|
||||||
- /etc/looking-glass-client.ini
|
- /etc/looking-glass-client.ini
|
||||||
- ~/.looking-glass-client.ini
|
- ~/.looking-glass-client.ini
|
||||||
- $XDG_CONFIG_HOME/looking-glass/client.ini (usually ~/.config/looking-glass/client.ini)
|
- $XDG_CONFIG_HOME/looking-glass/client.ini (usually ~/.config/looking-glass/client.ini)
|
||||||
|
|
||||||
Config options are merged from all files. Same options appearing in more
|
All config files are loaded in order. Duplicate entries override earlier ones.
|
||||||
than one file will be overridden by the latest loaded one (E.g. an option
|
This means you can set a system-wide configuration in
|
||||||
appearing in ~/.config/looking-glass/client.ini will override the same
|
``/etc/looking-glass-client.ini``, and override specific options for just
|
||||||
option appearing in ~/.looking-glass-client.ini). When first launched,
|
your user in ``~/.looking-glass-client.ini``, which is overlayed on top of
|
||||||
the Looking-Glass client will create the folder $XDG_CONFIG_HOME/looking-glass/
|
the system-wide configuration.
|
||||||
if it does not yet exist.
|
|
||||||
|
|
||||||
The format of this file is the commonly known INI format, for example::
|
When first launched, the Looking-Glass client will create the folder
|
||||||
|
$XDG_CONFIG_HOME/looking-glass/ if it does not yet exist.
|
||||||
|
|
||||||
|
The format of config files is the commonly known INI format, for example::
|
||||||
|
|
||||||
[win]
|
[win]
|
||||||
fullScreen=yes
|
fullScreen=yes
|
||||||
@ -311,7 +313,7 @@ The format of this file is the commonly known INI format, for example::
|
|||||||
[egl]
|
[egl]
|
||||||
nvGain=1
|
nvGain=1
|
||||||
|
|
||||||
Command line arguments will override any options loaded from the config
|
Command line arguments will override any options loaded from config
|
||||||
files.
|
files.
|
||||||
|
|
||||||
.. _client_overlay_mode:
|
.. _client_overlay_mode:
|
||||||
|
Loading…
Reference in New Issue
Block a user