We have been struggling to get KDE Window Rules to work as expected. Documentation however is not apparent in a centralized form. This link is to the most complete we have found:
That presentation is primarily prose. Here we augment that presentation with the results of experimentation that explicitly defines the parameters of the KDE Window Rules construct.
There are four groups of rules:
- Window Matching
- Arrangement and access
- Appearance and fixes
There are a number of attributes in each group. Each attribute has a value and a rule.
There are various types of rules defined both numerically and in prose. The numbers are used in~/.config/kwinrulesrc. The prose is used in the various dialog boxes and the documentation cited above. We tabulate the following types:
|• Matching Types|
|• Enforcement Types|
|1||Do not affect|
|• Window Types|
|• Placement Types|
|10||On main window|
|• Focus Control Types|
kwin uses these types to implement rules following the table below: