186
submitted 10 months ago by alexdeathway@programming.dev to c/linux@lemmy.ml

Title

you are viewing a single comment's thread
view the rest of the comments
[-] mub@lemmy.ml 5 points 10 months ago

I'm confused by this. I'm on EndeavourOS with KDE. It had an all called spectacle which takes screen shots perfectly fine. Does X11 have a screen shot function built in?

[-] SomethingBurger@jlai.lu 4 points 10 months ago* (last edited 10 months ago)

With X, any program can capture the entire screen. The Wayland protocol does not allow this, so each DE must implement it separately. You're using KDE's screenshot feature, not Wayland's, and other screenshot tools may not work if they don't support KDE's custom protocol for screen capture.

[-] mnglw@beehaw.org 2 points 10 months ago

wait so you're telling me I'm gonna be forced to use spectacle on wayland if I use KDE?

[-] SomethingBurger@jlai.lu 2 points 10 months ago

You will have to use a KDE compatible screenshot tool.

[-] mnglw@beehaw.org 1 points 10 months ago

sighh, that sucks

does this go for pretty much all programs, like say an email client too? or is there a limit to this?

[-] verdigris@lemmy.ml 3 points 10 months ago

Does it suck? KDE also has screenshotting implemented. It makes sense that your window manager should manage your windows, which includes being in charge of what can see what. Letting any app screenshot your entire monitor is not secure.

[-] SomethingBurger@jlai.lu 2 points 10 months ago* (last edited 10 months ago)

Only those that must interact with non-standard Wayland protocols, such as screen capture tools (like OBS), clipboard managers, WM utilities like xdotool... Other programs such as email clients or text editors are unaffected.

However, this is a non-issue as far as most users are concerned. There are only a handful of implementations (basically, GNOME, KDE, and wlroots which is used by most Wayland WMs) and most modern programs which require specific support to work are all compatible.

[-] mnglw@beehaw.org -2 points 10 months ago

still frustrating as all hell, these programs just worked on x11

also Synergy/Barrier/etc dont work yet and would need "non standard" protocols. Pretty critical for me

I am an enduser and I just expect things to work, but one of the most critical things of my setup wont

[-] null@slrpnk.net 3 points 10 months ago

You do realize you're allowed to still use X11, right?

[-] mnglw@beehaw.org -1 points 10 months ago

I will be forced to, but x11 is no longer being developed, so its not very secure to do so

additionally, Wayland is going to be default on kde, and Im not sure if that means that it'll be default for me too if I update

not to mention that with it default on KDE, I'll be running into more and more bugs that just, will not be fixed, because "use Wayland" will be the new response to bug reports (GNOME actively does this with a critical GTK4/libadwaita bug)

the point is, Wayland is being rushed and was never ready for default

[-] null@slrpnk.net 2 points 10 months ago

x11 is no longer being developed

Says who?

additionally, Wayland is going to be default on kde, and Im not sure if that means that it'll be default for me too if I update

So when it's the default, you just pick X11 from the drop-down, like I do for Wayland today.

not to mention that with it default on KDE, I'll be running into more and more bugs that just, will not be fixed, because "use Wayland" will be the new response

Speculation. Gnome devs are notoriously stubborn, I don't see that being true for KDE.

the point is, Wayland is being rushed and was never ready for default

15 years is not a rush, and for most people it's ready. Making it the default will serve as a push to get developers to make their applications support it.

[-] LeFantome@programming.dev 2 points 10 months ago

Most applications get their Wayland support from the toolkit they are written in. Qt ( KDE ) and GTK ( GNOME ) apps are going to work in any Wayland compositor.

Some applications do “desktop” related things like try to take screenshots to set global hot keys. Wayland, strictly speaking, does not allow this. This becomes the job of the “compositor” ( Window Manager ) and so, if an application wants to do those things, it has to know how to talk to the compositor.

Increasingly, the desktop environments and compositors are aligning on how to surface some of these capabilities to applications in a common way.

[-] mnglw@beehaw.org -2 points 10 months ago

I'm told screenshots now work on wayland. The idea was that spectacle would not have worked on wayland because of how locked down it is

this post was submitted on 14 Jan 2024
186 points (92.7% liked)

Linux

48366 readers
1741 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