The KWin uses to evaluate whether the rule is applicable for a given window.
tab is used to specify the criteria
Zero (match any window) or more of the following may be specified:
- - match the class.
- - include matching the secondary class.
- main window, a chat window, etc.)
- restrict the match to the function of the window (e.g. a
- Normal Window, Dialog Window, etc.
- restrict the match to the type of window:
- - restrict the match to the title of the window.
- - restrict the match to the host name associated with the window.
|While it's possible to manually enter the above information, the preferred method is to use the button.|
For each field, the following operators can be applied against the field value:
|Both AB matches the string AB, ab, Ab and aB. and implement case insensitive matching. For example, |
Detect Window Properties
function simplifies the process of entering the matching-criteria.
- For the application you'd like to create a rule, start the application.
- Next, in the tab, set the number of seconds of delay before the function starts. The default is zero seconds.
- Click on and
- When the mouse-cursor turns to cross-hairs, place it inside the application window (not the title bar) and left-click.
- A new window is presented with information about the selected window. Select the desired fields:
- Secondary class name - some applications have a secondary class name. This value can be used to restrict windows by this value.
- Window role
- Window type
- Window title
button to back-fill the criteria.
By using a combination of the information, a rule can apply to an entire application (by Class) or a to a specific window Type within the Class - say a Toolbar.
This page was last modified on 7 March 2012, at 16:06. This page has been accessed 1,821 times. Content is available under Creative Commons License SA 3.0 and the GNU Free Documentation License 1.2.