27

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
38

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

| improve this answer | |
  • 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
  • 2
    Just change Alt key to Meta – isalgueiro Jun 12 '17 at 17:39
2

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.

| improve this answer | |
  • 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 at 9:50

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.