Jump to content

Translate

AllKWin Rules Window Matching
Translate to français cadien

Translation of the wiki page KWin Rules Window Matching from English (en) to français cadien (frc)

This tool does not work without JavaScript. JavaScript is disabled, failed to work, or this browser is unsupported.
KWin Rules Window Matching
Translations:KWin Rules Window Matching/Page display title/frc
KWin Rules Window Matching
You need translation rights to translate messages.Get permission
Latest updatesAll changes
Suggestions
In other languages
==Window Matching==
==Window Matching==
You need translation rights to translate messages.Get permission
Latest updatesAll changes
Suggestions
In other languages
[[Image:kwin-window-matching.png|350px|center]]
The <menuchoice>Window Matching</menuchoice> tab is used to specify the criteria '''KWin''' uses to evaluate whether the rule is applicable for a given window.
Zero (match any window) or more of the following may be specified:
* <menuchoice>Window class (application)</menuchoice> - match the class.
** <menuchoice>Match whole window class</menuchoice> - include matching the secondary class.
* <menuchoice>Window role</menuchoice> - restrict the match to the function of the window (e.g. a ''main window'', a ''chat window'', etc.)
* <menuchoice>Window types</menuchoice> - restrict the match to the type of window: '''Normal Window''', '''Dialog Window''', etc.
* <menuchoice>Window title</menuchoice> - restrict the match to the title of the window.
* <menuchoice>Machine (hostname)</menuchoice> - restrict the match to the host name associated with the window.
{{Tip|While it's possible to manually enter the above information, the preferred method is to use the <menuchoice>Detect Window Properties</menuchoice> button.}}
For each field, the following operators can be applied against the field value:
* <menuchoice>Unimportant</menuchoice> - ignore the field.
* <menuchoice>Exact Match</menuchoice>
* <menuchoice>Substring Match</menuchoice>
{{Note|Both <menuchoice>Exact Match</menuchoice> and <menuchoice>Substring Match</menuchoice> implement case insensitive matching. For example, ''AB'' matches the string ''AB'', ''ab'', ''Ab'' and ''aB''.}}
* <menuchoice>Regular Expression</menuchoice> - Qt's regular expressions are implemented - see [http://qt-project.org/doc/qt-4.8/qregexp.html pattern matching using regular expressions].
===Detect Window Properties===
[[Image:kwin-detect-window.png|350px|center]]
The <menuchoice>Detect Window Properties</menuchoice> 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 <menuchoice>Window matching</menuchoice> tab, set the number of seconds of delay before the <menuchoice>Detect Window Properties</menuchoice> function starts. The default is zero seconds.
# Click on <menuchoice>Detect Window Properties</menuchoice> 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 <menuchoice>OK</menuchoice> button to back-fill the <menuchoice>Window Matching</menuchoice> 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'''.
[[Category: Desktop]] [[Category:Tutorials]]
Loading messages...
0% translated, 0% reviewed
All