KWin Rules Application Workarounds/en: Difference between revisions

From KDE UserBase Wiki
(Updating to match new version of source page)
 
(Updating to match new version of source page)
 
Line 15: Line 15:
Assuming an '''Emacs''' window is open:
Assuming an '''Emacs''' window is open:


# Use '''Detect Window Properties''' and select the ''Emacs'' window.  Match only by '''primary class name''' so leave the check boxes unchecked - for additional information see [[Special:myLanguage/KWin_Rules_Window_Matching|window matching]]<br /><br />[[Image:Emacs-info.png|350px|center]]
# Use <menuchoice>Detect Window Properties</menuchoice> and select the '''Emacs''' window.  Match only by '''primary class name''' so leave the check boxes unchecked - for additional information see [[Special:myLanguage/KWin_Rules_Window_Matching|window matching]]<br /><br />[[Image:Emacs-info.png|350px|center]]
# Clicking '''OK''' in the previous window back-fills the results in the '''Window Matching''' tab.  Enter a meaningful '''Description''':<br /><br />[[Image:window-matching-Emacs.png|350px|center]]
# Clicking <menuchoice>OK</menuchoice> in the previous window back-fills the results in the <menuchoice>Window Matching</menuchoice> tab.  Enter a meaningful text in the <menuchoice>Description</menuchoice> text box:<br /><br />[[Image:window-matching-Emacs.png|350px|center]]
# Ignore '''Emacs''''s full-screen request by enabling the '''Obey geometry restricts''' attribute, toggling it to off ('''No''') to ignore and '''Force''' the [[Special:myLanguage/KWin_Rules_Window_Attributes#Parameters|parameter]]:<br /><br />[[Image:Emacs-attribute.png|350px|center]]
# Ignore '''Emacs's''' full-screen request by enabling the <menuchoice>Obey geometry restrictions</menuchoice> attribute, toggling it to off (<menuchoice>No</menuchoice>) to ignore and selecting the <menuchoice>Force</menuchoice>  [[Special:myLanguage/KWin_Rules_Window_Attributes#Parameters|parameter]]:<br /><br />[[Image:Emacs-attribute.png|350px|center]]
# Click through to complete entry of the rule.
# Click through to complete entry of the rule.



Latest revision as of 07:36, 15 March 2012

Application Workarounds

Below are Workarounds for misbehaving applications.

Tip

If you are unfamiliar with creating KWin Rules, see this detailed example to base your new rule.

Full-screen Re-size Error

Emacs and gVim, when maximized (full-screen mode) and under certain conditions may encounter window re-sizing issues - see Emacs window resizes ... A KWin Rule will work-around the issue.

Assuming an Emacs window is open:

  1. Use Detect Window Properties and select the Emacs window. Match only by primary class name so leave the check boxes unchecked - for additional information see window matching

  2. Clicking OK in the previous window back-fills the results in the Window Matching tab. Enter a meaningful text in the Description text box:

  3. Ignore Emacs's full-screen request by enabling the Obey geometry restrictions attribute, toggling it to off (No) to ignore and selecting the Force parameter:

  4. Click through to complete entry of the rule.