By default, when one holds down Alt and drags with the mouse, it will move a window in KDE/kwin. Is there a way to disable this for a particular application?

I know there's a lot of application overrides (click top left window icon > Advanced > Special Application Settings), but I can't find one to disable this alt key. The closest I can find is to disable global keyboard shortcuts.

  • Actually, the primary motivation for my question is now nil. I wanted to use the alt keys when running x2go, but I think the problem was in fact that the server wasn't using the alt+drag actions. When I switched from gnome-desktop to unity (by running sudo apt-get install ubuntu-desktop on the server), everything started to work as expected -- the alt keys now interact with the "guest" windows in x2go, rather than my client desktop's windowing system. – gatoatigrado Apr 18 '13 at 22:58

In the KDE System Settings for Window Behavior, change the Window Actions for Inner Window, Titlebar, & Frame. With the modifier key set to Alt, set the left button to Nothing. You can also reassign the action to a different modifier key.

See also: https://bbs.archlinux.org/viewtopic.php?id=109085

  • 3
    Is there a way to do this for individual applications? It's a useful feature generally, but some applications use alt+clicking, and it conflicts... – naught101 Feb 17 '16 at 8:20
  • 4
    Just change Alt key to Meta – isalgueiro Jun 12 '17 at 17:39
  • In case someone is searching the setting: Start "System Settings", then look at Workspace->Window Managment->Window Behavior->Window Actions->Inner Window, Title bar & Frame, and there you can select "Nothing" for "Left butotn", "Middle button", "Right button" and "Mouse wheel" with the modifier key "Alt" (or choose an alternative modifier key). – Frank Buss Nov 7 '20 at 11:56

although Bradd's answer is correct, if you want to disable alt for just one application/window, you can go to window behaviour -> <application> -> appearances & fixes and check "Ignore global shortcuts" there.

  • 2
    The problem with this approach is that it disables all global shortcuts. So, I can't for example switch between desktops with my shortcut when the particular window is active. – user1456584 Jan 15 '20 at 9:50

There is some setting in kde, where you can choose what key should be used for the window dragging.. I switch it over to the win key - It really works well.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.