this post was submitted on 09 Mar 2024
187 points (97.9% liked)

Linux

45574 readers
2003 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] samc@feddit.uk 29 points 4 months ago (3 children)

By default, XWayland apps are now allowed to listen for non-alphanumeric keypresses, and shortcuts using modifier keys. This lets any global shortcut features they may have work with no user intervention required, while still not allowing arbitrary listening for alphanumeric keypresses which could potentially be used maliciously

This is... very smart actually. Any reason this is limited to Xwayland? (Is that XDG portal a thing yet?)

[–] ElectroLisa@lemmy.blahaj.zone 11 points 4 months ago

X apps can read all of your keystrokes. Wayland by default doesn't allow this, and because of that apps running on XWayland can ex. have it's global shortcuts broken. Plasma already had an option to change this behaviour back in 5.27. I guess they changed it from "Never" read keystrokes to "Only with modifier keys", as a default.

[–] aksdb@lemmy.world 9 points 4 months ago

Shit, now malicious apps can spy my master password, which is CTRL, CTRL, ALT, META, CTRL, LEFT, RIGHT, LEFT, CTRL

[–] fossphi@lemm.ee 1 points 4 months ago* (last edited 4 months ago)

Can wayland native apps not do that already? I assumed that they could and that's why this was being built for xwayland