How can I disable 'Alt' + mouse default behavior in KDE?

13

6

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.

gatoatigrado

Posted 2013-04-18T22:44:42.803

Reputation: 1 075

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 – 2013-04-18T22:58:31.467

Answers

25

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

Bradd Szonye

Posted 2013-04-18T22:44:42.803

Reputation: 811

2Is 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 – 2016-02-17T08:20:51.017

Just change Alt key to Meta – isalgueiro – 2017-06-12T17:39:15.500

0

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.

haja

Posted 2013-04-18T22:44:42.803

Reputation: 1

1The 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 – 2020-01-15T09:50:13.420