• Shatur@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    9 months ago

    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.