Menu

KDE Plasma Wayland: Bind Middle-Click to a Region Screenshot
πŸ“°

KDE Plasma Wayland: Bind Middle-Click to a Region Screenshot

DEV Community: tutorialΒ·jamongxΒ·4 days ago
#OWEFxceI
#devtotutorial#devto#dev#kwin#button
Long article (775 words) β€” no AI summary yet.
Reading 0:00
15s threshold

On Windows I used PicPick , and one of the things I liked was binding a mouse button to a region capture. After moving to Kubuntu I never found a screenshot tool I liked as much. I didn't end up installing one: on KDE Plasma Wayland, KWin and Spectacle can turn middle-click into a region screenshot, as long as you skip System Settings and write one line to kcminputrc .

Result : middle-click β†’ drag a box with the left button β†’ release, and the screenshot is taken.

Environment : Kubuntu, KDE Plasma 6 (Wayland), KWin 6.6.7 . You need a KWin with MR 5959 , committed in September 2024. The commit first shipped in the v6.3.0 tag, so Plasma 6.3 or later.

Why System Settings won't bind the middle button

In System Settings β†’ Mouse β†’ "Configure extra buttons", I clicked Add Binding and pressed the middle button. Nothing happened. The capture dialog filters out the left, right, and middle buttons on purpose, so you can't rebind one and lose a basic click.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.