this post was submitted on 03 Feb 2024
662 points (90.3% liked)

linuxmemes

21378 readers
1404 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 29 points 9 months ago (1 children)

    What I don't like about Wayland is that many things are specific to individual DEs. Like global shortcuts or taking screenshots. In my app I have two different solutions for taking screenshots in GNOME and KDE using XDG portals. It causes fragmentation.

    [–] [email protected] 5 points 9 months ago (2 children)

    o wow didn't know this. such horrible design decision! So if I understood correctly ALL the apps that want to screenshot need to write independent code for each desktop environment??? I was just mostly ignoring Wayland until becoming mature, but now I actively dislike it with passion.

    So, if this is true and I understand correctly, it means that if I chose to use Xfce (as I do), I'll have to hope really hard that zoom, skype, slack, discord... decide to provide support for not only linux,.... but XFCE or give up and abandon XFCE? yeah f*** Wayland, they really didn't think about the open source community when designing their solution. I don't wat to even think of people that use other smaller desktop managers...

    I mean, screen sharing is basic functionality these days, in the interview for my current job I needed to use.. I think it was teams. Is not even something you can chose, is bad enough to be exclusive linux user as it is, always wondering if in such cases something will not work.

    Honestly, long live Xorg. if deprecated and I have to switch to gnome/kde or lose functionality I might as well switch to windows after 20 something years of not using it.

    [–] [email protected] 9 points 9 months ago* (last edited 9 months ago) (2 children)

    Screen sharing is different thing, there is no fragmentation there.

    But in order to take screenshot I had to write different code:

    For Gnome.

    For KDE. It also requires special line in desktop file for security reasons.

    For all other DEs.

    Global shortcuts are even worse. It also DE specific and users have to manually register them in DE settings. In order for your application to support this, it should export such functions via the Dbus interface. And all this incompatible with Windows (my app is cross-platform), so I had to provide in-app interface for global shortcuts too that works for Windows and X11 users.

    [–] [email protected] 2 points 9 months ago

    Oh no. Oh no. Way to shoot ourselves in the foot, Wayland.

    [–] [email protected] 1 points 9 months ago (1 children)

    What prevents you from using org.freedesktop.portal.Screenshot with GNOME and KDE as well? They both support taking screenshots using that method.

    [–] [email protected] 2 points 9 months ago (1 children)

    Unfortunately, you on GNOME and KDE you don't have org.freedesktop.portal.Screenshot method in /org/freedesktop/portal/desktop.

    [–] [email protected] 2 points 9 months ago* (last edited 9 months ago) (1 children)

    Not trying to be a menace, but I just tried it out using xdg-portal-test-kde and the screenshot portal definitely works on KDE Plasma 5.27.10. If you are experiencing issues with that, please create a bug report for xdg-desktop-portal-kde so it can be fixed.

    [–] [email protected] 1 points 9 months ago

    Strange, doesn't work for me, I also run 5.27.10. Will take a look, thanks!

    [–] [email protected] 4 points 9 months ago* (last edited 9 months ago)

    Screen sharing is fine, handled by Pipewire. OBS is adding (has added?) streaming through Pipewire too. And I've had no issues getting screenshots using grim, which isn't tied to a specific compositor. Not everything is copacetic, but the things you're talking about are mostly non-issues these days.

    Great name, btw