KWin Rules Window Matching/da: Difference between revisions
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 44: | Line 44: | ||
Funktionen <menuchoice>Detektér vinduesegenskaber</menuchoice> forenkler processen med at angive matchningskriterier. | Funktionen <menuchoice>Detektér vinduesegenskaber</menuchoice> forenkler processen med at angive matchningskriterier. | ||
# | # Start det program, som du vil lave en regel for. | ||
# 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. | # 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 | # Click on <menuchoice>Detect Window Properties</menuchoice> and |
Revision as of 20:16, 8 March 2012
Vindue-matchning
Fanebladet
bruges tilat angive de kriterier, som KWin bruger til at bestemme, om reglen skal anvendes på et givet vindue.Ingen eller flere af de følgende kan angives (hvis ingen angives, så matches ethvert vindue):
- — medtag matvhning af sekundær klasse..
— matcher klassen
- — begræns matchning til vinduets funktion (fx main window eller chat window)
- — begræns matchning til en vinduestype: Normalt vindue, Dialogvindue osv.
- - begræns matchning til en vinduestitel.
- — begræns matchning til et værtsnavn knyttet til vinduet.
For hvert felt kan følgende operatorer anvendes på feltets værdi:
- %mdash; ignorér feltet.
- pattern matching using regular expressions. — matcher med Qt's regulære udtryk — se
Detektér Vinduesegenskaber
Funktionen
forenkler processen med at angive matchningskriterier.- Start det program, som du vil lave en regel for.
- 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.