PHOC.INI() | PHOC.INI() |
phoc.ini - Configuration file for phoc
Most of phoc's configuration is read from GSettings. Output and core settings are read from phoc.ini. The configuration file is searched in phoc's current working directory. It's path can also be given on the command line via the -C option.
The phoc.ini file is composed of multiple sections which can be in any order. If values are not given then built in defaults are used. The main purpose of phoc.ini is to specify output configuration and layouts. Each section has the form:
[SectionHeader] key1 = value1 key2 = value2
Lines starting with # are considered comments and are ignored. The section headers might contain a colon in which case the part after the colon specifies the configuration item e.g.
[output:DSI-1]
is the configuration section for the output DSI-1.
The available section headers are:
Modifications to this file require a compositor restart to take effect.
The core section can appear only once and has a single option:
The output section can appear multiple times with different configuration items
[output:ITEM]
ITEM is either the DRM connector name like DSI-1 or DP-2 or the make, model and serial as obtained from EDID separated by %: [output:A Vendor%The Model%Serial]. Make, model and serial can be specified as * to match any value. The configuration options are:
Example:
[output:DSI-1] scale = 2 [output:Some Vendor%Some Model%*] scale = 1 rotate = 90 x = 300
phoc(1) wlr-randr(1)