KWin Rules Application Workarounds: Difference between revisions

From KDE Wiki Sandbox
No edit summary
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
__TOC__
__TOC__


==Application Workarounds==
==Application Workarounds== <!--T:2-->


<!--T:3-->
Below are Workarounds for misbehaving applications.   
Below are Workarounds for misbehaving applications.   


<!--T:4-->
{{Tip|If you are unfamiliar with creating '''KWin''' Rules, see this [[Special:myLanguage/KWin_Rules_Examples#Pin_a_Window_to_a_Desktop_and_set_other_Attributes|detailed example]] to base your new rule.}}
{{Tip|If you are unfamiliar with creating '''KWin''' Rules, see this [[Special:myLanguage/KWin_Rules_Examples#Pin_a_Window_to_a_Desktop_and_set_other_Attributes|detailed example]] to base your new rule.}}


</translate><span id="Full-screen_Re-size_Error"></span><translate>
</translate><span id="Full-screen_Re-size_Error"></span><translate>


===Full-screen Re-size Error===
===Full-screen Re-size Error=== <!--T:5-->


<!--T:6-->
'''Emacs''' and '''gVim''', when maximized (full-screen mode) and under certain conditions may encounter window re-sizing issues - see [https://bugs.kde.org/show_bug.cgi?id=252314 Emacs window resizes ...]  A '''KWin''' Rule will work-around the issue.
'''Emacs''' and '''gVim''', when maximized (full-screen mode) and under certain conditions may encounter window re-sizing issues - see [https://bugs.kde.org/show_bug.cgi?id=252314 Emacs window resizes ...]  A '''KWin''' Rule will work-around the issue.


<!--T:7-->
Assuming an '''Emacs''' window is open:
Assuming an '''Emacs''' window is open:


<!--T:8-->
# 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]]</translate>
# 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]]</translate>
<translate>
<translate>
<!--T:9-->
# 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]]</translate>
# 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]]</translate>
<translate>
<translate>
<!--T:10-->
# 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]]</translate>
# 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]]</translate>
<translate>
<translate>
<!--T:11-->
# Click through to complete entry of the rule.
# Click through to complete entry of the rule.


<!--T:12-->
[[Category:Desktop]]
[[Category:Desktop]]
[[Category:Tutorials]]
[[Category:Tutorials]]

Revision as of 15:14, 7 March 2012

Other languages:

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 Description:

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

  4. Click through to complete entry of the rule.