KWin Rules Window Matching/uk: Difference between revisions
Appearance
Created page with "Для кожного з полів можна застосувати до значення поля один з таких операторів:" |
Created page with "* <menuchoice>Неважливо</menuchoice> — ігнорувати значення поля." |
||
| Line 28: | Line 28: | ||
Для кожного з полів можна застосувати до значення поля один з таких операторів: | Для кожного з полів можна застосувати до значення поля один з таких операторів: | ||
* <menuchoice> | * <menuchoice>Неважливо</menuchoice> — ігнорувати значення поля. | ||
* <menuchoice>Exact Match</menuchoice> | * <menuchoice>Exact Match</menuchoice> | ||
Revision as of 12:52, 17 July 2013
Відповідність вікон

За допомогою вкладки можна вказати критерії, за якими KWin визначатиме, чи слід застосовувати певне правило до певного вікна.
Можна не вказувати жодного критерію (відповідність будь-якому вікну) або вказати декілька з наведених нижче варіантів:
- — відповідність за класом.
- — встановлювати відповідність і для вторинних елементів класу.
- — обмежити відповідність призначенням вікна (наприклад, головне вікно, вікно балачки тощо)
- — обмежити відповідність певним типом вікна: Звичайне вікно, Діалогове вікно тощо.
- — обмежити відповідність вікнами з певним заголовком.
- — обмежити відповідність назвою вузла (комп’ютера), пов’язаною з вікном.
Для кожного з полів можна застосувати до значення поля один з таких операторів:
- — ігнорувати значення поля.
- - Qt's regular expressions are implemented - see pattern matching using regular expressions.
Detect Window Properties

The 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
Click the 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.

