kwin/kcmkwin/kwinoptions/kwinoptions_settings.kcfg
Noah Davis f474686a58 Change CommandAllKey to Meta
Summary: Alt + Left Click to move windows has a tendency to conflict with creative workflow apps. While Alt can be changed to Meta in KWin's settings, Alt + Left Click shortcuts often cannot be customized in apps. Rather than making every user who runs into this problem change their settings, we should change our default settings to improve KWin's default usability. The fact that Alt + Left Click to move windows is older does not matter. We are trying to use Meta for global/shell shortcuts anyway.

BUG: 399375

Test Plan: The relevant parts of the relevant tests pass. kwin-testInternalWindow fails, but for unrelated reasons that have something to do with XWayland.
2020-05-22 22:39:08 -04:00

368 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name="kwinrc"/>
<group name="Windows">
<entry key="GeometryTip" type="Bool">
<default>false</default>
</entry>
<entry key="BorderSnapZone" type="Int">
<default>10</default>
<min>0</min>
<max>100</max>
</entry>
<entry key="WindowSnapZone" type="Int">
<default>10</default>
<min>0</min>
<max>100</max>
</entry>
<entry key="CenterSnapZone" type="Int">
<default>0</default>
<min>0</min>
<max>100</max>
</entry>
<entry key="SnapOnlyWhenOverlapping" type="Bool">
<default>false</default>
</entry>
<entry key="ShadeHover" type="Bool">
<default>false</default>
</entry>
<entry key="ShadeHoverInterval" type="Int">
<default>250</default>
<min>0</min>
</entry>
<entry name="Placement" type="Enum">
<choices name="PlacementChoices">
<choice name="Smart"></choice>
<choice name="Maximizing"></choice>
<choice name="Cascade"></choice>
<choice name="Random"></choice>
<choice name="Centered"></choice>
<choice name="ZeroCornered"></choice>
<choice name="UnderMouse"></choice>
</choices>
<default>0</default>
</entry>
<entry key="HideUtilityWindowsForInactive" type="Bool">
<default>true</default>
</entry>
<entry key="TitlebarDoubleClickCommand" type="Enum">
<default>Maximize</default>
<choices>
<choice name="Maximize"></choice>
<choice name="MaximizeVerticalOnly" value="Maximize (vertical only)"></choice>
<choice name="MaximizeHorizontalOnly" value="Maximize (horizontal only)"></choice>
<choice name="Minimize"></choice>
<choice name="Shade"></choice>
<choice name="Lower"></choice>
<choice name="Close"></choice>
<choice name="OnAllDesktops"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="MaximizeButtonLeftClickCommand" type="Enum">
<default>Maximize</default>
<choices>
<choice name="Maximize"></choice>
<choice name="MaximizeVerticalOnly" value="Maximize (vertical only)"></choice>
<choice name="MaximizeHorizontalOnly" value="Maximize (horizontal only)"></choice>
</choices>
</entry>
<entry key="MaximizeButtonMiddleClickCommand" type="Enum">
<default>MaximizeVerticalOnly</default>
<choices>
<choice name="Maximize"></choice>
<choice name="MaximizeVerticalOnly" value="Maximize (vertical only)"></choice>
<choice name="MaximizeHorizontalOnly" value="Maximize (horizontal only)"></choice>
</choices>
</entry>
<entry key="MaximizeButtonRightClickCommand" type="Enum">
<default>MaximizeHorizontalOnly</default>
<choices>
<choice name="Maximize"></choice>
<choice name="MaximizeVerticalOnly" value="Maximize (vertical only)"></choice>
<choice name="MaximizeHorizontalOnly" value="Maximize (horizontal only)"></choice>
</choices>
</entry>
<entry key="FocusPolicy" type="Enum">
<default>ClickToFocus</default>
<choices>
<choice name="ClickToFocus"/>
<choice name="FocusFollowsMouse"/>
<choice name="FocusUnderMouse"/>
<choice name="FocusStrictlyUnderMouse"/>
</choices>
</entry>
<entry key="NextFocusPrefersMouse" type="Bool">
<default>false</default>
</entry>
<entry key="AutoRaiseInterval" type="Int">
<default>750</default>
<min>0</min>
</entry>
<entry key="DelayFocusInterval" type="Int">
<default>300</default>
<min>0</min>
</entry>
<entry key="AutoRaise" type="Bool">
<default>false</default>
</entry>
<entry key="ClickRaise" type="Bool">
<default>true</default>
</entry>
<entry key="SeparateScreenFocus" type="Bool">
<default>false</default>
</entry>
<entry key="ActiveMouseScreen" type="Bool">
<default>true</default>
</entry>
<entry key="FocusStealingPreventionLevel" type="Int">
<default>1</default>
<min>0</min>
<max>4</max>
</entry>
</group>
<group name="MouseBindings">
<entry key="CommandActiveTitlebar1" type="Enum">
<default>Raise</default>
<choices>
<choice name="Raise"></choice>
<choice name="Lower"></choice>
<choice name="ToggleRaiseAndLower" value="Toggle raise and lower"></choice>
<choice name="Minimize"></choice>
<choice name="Shade"></choice>
<choice name="Close"></choice>
<choice name="OperationsMenu" value="Operations menu"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="CommandActiveTitlebar2" type="Enum">
<default>Nothing</default>
<choices>
<choice name="Raise"></choice>
<choice name="Lower"></choice>
<choice name="ToggleRaiseAndLower" value="Toggle raise and lower"></choice>
<choice name="Minimize"></choice>
<choice name="Shade"></choice>
<choice name="Close"></choice>
<choice name="OperationsMenu" value="Operations menu"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="CommandActiveTitlebar3" type="Enum">
<default>OperationsMenu</default>
<choices>
<choice name="Raise"></choice>
<choice name="Lower"></choice>
<choice name="ToggleRaiseAndLower" value="Toggle raise and lower"></choice>
<choice name="Minimize"></choice>
<choice name="Shade"></choice>
<choice name="Close"></choice>
<choice name="OperationsMenu" value="Operations menu"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="CommandTitlebarWheel" type="Enum">
<default>Nothing</default>
<choices>
<choice name="RaiseLower" value="Raise/Lower"></choice>
<choice name="ShadeUnshade" value="Shade/Unshade"></choice>
<choice name="MaxmizeRestore" value="Maximize/Restore"></choice>
<choice name="AboveBelow" value="Above/Below"></choice>
<choice name="PreviousNextDesktop" value="Previous/Next Desktop"></choice>
<choice name="ChangeOpacity" value="Change Opacity"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="CommandInactiveTitlebar1" type="Enum">
<default>ActivateAndRaise</default>
<choices>
<choice name="ActivateAndRaise" value="Activate and raise"></choice>
<choice name="ActivateAndLower" value="Activate and lower"></choice>
<choice name="Activate"></choice>
<choice name="Raise"></choice>
<choice name="Lower"></choice>
<choice name="ToggleRaiseAndLower" value="Toggle raise and lower"></choice>
<choice name="Minimize"></choice>
<choice name="Shade"></choice>
<choice name="Close"></choice>
<choice name="OperationsMenu" value="Operations menu"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="CommandInactiveTitlebar2" type="Enum">
<default>Nothing</default>
<choices>
<choice name="ActivateAndRaise" value="Activate and raise"></choice>
<choice name="ActivateAndLower" value="Activate and lower"></choice>
<choice name="Activate"></choice>
<choice name="Raise"></choice>
<choice name="Lower"></choice>
<choice name="ToggleRaiseAndLower" value="Toggle raise and lower"></choice>
<choice name="Minimize"></choice>
<choice name="Shade"></choice>
<choice name="Close"></choice>
<choice name="OperationsMenu" value="Operations menu"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="CommandInactiveTitlebar3" type="Enum">
<default>OperationsMenu</default>
<choices>
<choice name="ActivateAndRaise" value="Activate and raise"></choice>
<choice name="ActivateAndLower" value="Activate and lower"></choice>
<choice name="Activate"></choice>
<choice name="Raise"></choice>
<choice name="Lower"></choice>
<choice name="ToggleRaiseAndLower" value="Toggle raise and lower"></choice>
<choice name="Minimize"></choice>
<choice name="Shade"></choice>
<choice name="Close"></choice>
<choice name="OperationsMenu" value="Operations menu"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="CommandWindow1" type="Enum">
<default>ActivateRaisePassClick</default>
<choices>
<choice name="ActivateRaisePassClick" value="Activate, raise and pass click"></choice>
<choice name="ActivatePassClick" value="Activate and pass click"></choice>
<choice name="Activate"></choice>
<choice name="ActivateRaise" value="Activate and raise"></choice>
</choices>
</entry>
<entry key="CommandWindow2" type="Enum">
<default>ActivatePassClick</default>
<choices>
<choice name="ActivateRaisePassClick" value="Activate, raise and pass click"></choice>
<choice name="ActivatePassClick" value="Activate and pass click"></choice>
<choice name="Activate"></choice>
<choice name="ActivateRaise" value="Activate and raise"></choice>
</choices>
</entry>
<entry key="CommandWindow3" type="Enum">
<default>ActivatePassClick</default>
<choices>
<choice name="ActivateRaisePassClick" value="Activate, raise and pass click"></choice>
<choice name="ActivatePassClick" value="Activate and pass click"></choice>
<choice name="Activate"></choice>
<choice name="ActivateRaise" value="Activate and raise"></choice>
</choices>
</entry>
<entry key="CommandWindowWheel" type="Enum">
<default>Scroll</default>
<choices>
<choice name="Scroll"></choice>
<choice name="ActivateScroll" value="Activate and scroll"></choice>
<choice name="ActivateRaiseAndScroll" value="Activate, raise and scroll"></choice>
</choices>
</entry>
<entry key="CommandAllKey" type="Enum">
<default>Meta</default>
<choices>
<choice name="Meta"></choice>
<choice name="Alt"></choice>
</choices>
</entry>
<entry key="CommandAll1" type="Enum">
<default>Move</default>
<choices>
<choice name="Move"></choice>
<choice name="ActivateRaiseAndMove" value="Activate, raise and move"></choice>
<choice name="ToggleRaiseAndLower" value="Toggle raise and lower"></choice>
<choice name="Resize"></choice>
<choice name="Raise"></choice>
<choice name="Lower"></choice>
<choice name="Minimize"></choice>
<choice name="DecreaseOpacity" value="Decrease Opacity"></choice>
<choice name="IncreaseOpactiy" value="Increase Opacity"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="CommandAll2" type="Enum">
<default>ToggleRaiseAndLower</default>
<choices>
<choice name="Move"></choice>
<choice name="ActivateRaiseAndMove" value="Activate, raise and move"></choice>
<choice name="ToggleRaiseAndLower" value="Toggle raise and lower"></choice>
<choice name="Resize"></choice>
<choice name="Raise"></choice>
<choice name="Lower"></choice>
<choice name="Minimize"></choice>
<choice name="DecreaseOpacity" value="Decrease Opacity"></choice>
<choice name="IncreaseOpactiy" value="Increase Opacity"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="CommandAll3" type="Enum">
<default>Resize</default>
<choices>
<choice name="Move"></choice>
<choice name="ActivateRaiseAndMove" value="Activate, raise and move"></choice>
<choice name="ToggleRaiseAndLower" value="Toggle raise and lower"></choice>
<choice name="Resize"></choice>
<choice name="Raise"></choice>
<choice name="Lower"></choice>
<choice name="Minimize"></choice>
<choice name="DecreaseOpacity" value="Decrease Opacity"></choice>
<choice name="IncreaseOpactiy" value="Increase Opacity"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
<entry key="CommandAllWheel" type="Enum">
<default>Nothing</default>
<choices>
<choice name="RaiseLower" value="Raise/Lower"></choice>
<choice name="ShadeUnshade" value="Shade/Unshade"></choice>
<choice name="MaxmizeRestore" value="Maximize/Restore"></choice>
<choice name="AboveBelow" value="Above/Below"></choice>
<choice name="PreviousNextDesktop" value="Previous/Next Desktop"></choice>
<choice name="ChangeOpacity" value="Change Opacity"></choice>
<choice name="Nothing"></choice>
</choices>
</entry>
</group>
</kcfg>