Felix Miata wrote, On 09/14/2013 09:29 AM: > Is there a way to make drag to top of screen mean *only* drag to top of > screen and nothing more, systemwide for all users? If so, how?
Felix, Here's the FAQ entry i put together for my users on "ElectricBorders" Note that this is directed at users for individual control, however, you can put these kwriteconfig entries against a GLOBAL 'kwinrc' file. for my system the KDE4 config search path is: dowdy@neptune$ kde4-config --path config /home/dowdy/.kde/share/config/:/etc/kde4/:/usr/share/kde4/config/:/usr/share/desktop-base/profiles/kde-profile/share/config/ So, if you put these entries into /etc/kde4/kwinrc or /usr/share/kde4/config/kwinrc or /usr/share/desktop-base/profiles/kde-profile/share/config/kwinrc It should affect all users, UNLESS they have overrides in their personal ~/.kde/share/config/kwinrc --stephen ----------------------- Q: When i move a window and hit the screen edge the window maximizes and this gets very frustrating. A: This is like the Windows 7 "Aero desktop" edge bumping. It's called "ElectricBorders" in KDE4. There are two Aero-like settings, one for when you hit the top edge of the screen, called: "Maximize windows by dragging them to the top of the screen" The other allows you to "tile" two windows filling the screen, each taking half the screen. This is called: "Tile windows by dragging them to the side of the screen" To change the settings... To open the GUI interface to 'kwinscreenedges', do either: CLI: kcmshell4 kwinscreenedges UI: System Settings->Desktop->Screen Edges Disabling: "Maximize windows by dragging them to the top of the screen" (do one of these) UI: System Settings->Desktop->Screen Edges->Window-Management->Maximize windows by dragging them to the top of the screen CLI: kwriteconfig --file kwinrc --group Windows --key ElectricBorderMaximize false Disabling: "Tile windows by dragging them to the side of the screen" (do one of these) UI: System Settings->Desktop->Screen Edges->Window-Management->Tile windows by dragging them to the side of the screen CLI: kwriteconfig --file kwinrc --group Windows --key ElectricBorderTiling false Additionally, there are other window edge hot actions available for each of the 8 screen corners and edges when simply bumping the mouse (not moving a window) against that corner or edge. Switch desktop on edge: "Disabled" CLI: kwriteconfig --file kwinrc --group Windows --key ElectricBorders 0 Switch desktop on edge: "Only When Moving Windows" CLI: kwriteconfig --file kwinrc --group Windows --key ElectricBorders 1 Switch desktop on edge: "Always Enabled" CLI: kwriteconfig --file kwinrc --group Windows --key ElectricBorders 2 For example, to set the topleft corner to "Show Dashboard" CLI: kwriteconfig --file kwinrc --group ElectricBorders --key TopLeft Dashboard For example, to set the bottomleft corner to "Show Desktop" CLI: kwriteconfig --file kwinrc --group ElectricBorders --key BottomLeft ShowDesktop To disable all the corner and edge electric borders, use this POSIX Shell code: for spot in Bottom BottomLeft BottomRight Left Right Top TopLeft TopRight; do kwriteconfig --file kwinrc --group ElectricBorders --key ${spot} None done FYI: Border enums: 0 Top Center 1 Top Right 2 Right Center 3 Bottom Right 4 Bottom Center 5 Bottom Left 6 Left Center 7 Top Left 8 ??? 9 NONE ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.