this post was submitted on 06 Nov 2025
155 points (99.4% liked)
Linux
10022 readers
578 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Don't know about the other things but "focus follows mouse" is possible on Wayland. Well, it's possible on river at least, not sure about KDE or GNOME. Could be a wlroots related feature though.
I wasn't specific enough, but I meant programmatically. In X11 we have stuff like xprop and xdotool. I can see where my mouse is, which window is underneath, activate or focus a window, etc. I mean these things in code, not visually on the desktop.
Wayland considers these things "security risks", and I get it, but at the same time... customization of my own OS is what drove me to Linux. 🤷🏻♂️
For example: A while ago I tinkered with easystroke plus a custom script using xprop + xdotool. The way it worked (easystroke does this natively, but I just wanted to learn how to do it myself, and the GUI is a bit clunky anyway) is that you assign a stroke/gesture, and execute your script with parameters. The script verifies where the mouse is at execution by grabbing window info with xprop, and runs a different command depending on that (more often than not, using xdotool to send keys). So if I do a flick upwards, the script sees Firefox in the background and sends
CTRL+Tto the window. A new tab is opened. But if VSCodium is in the background of the mouse, I sendCTRL+Ninstead, to open a new text file (tab).Unless something has drastically changed in the past few months, it's my understanding that none of that is possible with Wayland, and now it's up to the DEs (or whatever else) to come up with something that gives window info.
It is possible on both GNOME and KDE iirc. I never use that feature, but i am sure i saw it in the settings.