This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Switching to next/previous screen shortcuts not working

Tags: keyboard, dual monitor, shortcuts keyboard, dual monitor, shortcuts keyboard, dual monitor, shortcuts
(comma "," separated)
Kush
Registered Member
Posts
2
Karma
0
Hi

I’m new to KDE, and was trying to switch to next/previous screens using keyboard shortcuts - I’ve “Separate screen focus” enabled in “Window behavior” (system settings).

The keyboard shortcuts ("Switch to next screen"/"switch to previous screen") don’t work. Can someone please help? I'm using Manjaro 5.15.48-1

Versions:

KDE Plasma: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel-Version: 5.15.48-1-MANJARO (64-bit)
Graphics Platform: X11

Hardware: i9-12900K (24 x 12th Gen Intel); Memory: 62.6 GiB of RAM; Graphics: NVIDIA GeForce RTX 3060
Kush
Registered Member
Posts
2
Karma
0
Fixed it! Here is more info: https://forum.manjaro.org/t/switching-t ... krshrimali, pasting the message as it is here:

1. Cloned kwin
2. grepped for the function it calls when the "switch to next screen" is called - found it from one of the merge requests: https://invent.kde.org/plasma/kwin/-/bl ... s.cpp#L144
3. Found the function defined in: src/useractions.cpp and there it first checks if it's "possible": https://invent.kde.org/plasma/kwin/-/bl ... .cpp#L1360
4. I went through the check and found this useful message: https://invent.kde.org/plasma/kwin/-/bl ... .cpp#L1324

Then I went back to "Window Behavior" settings, and... found "Active screen follows mouse" ticked by default in "Multiscreen behavior" subsection. I unticked it/disabled it, and it works now :smiley:


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]