Does anybody know how to set a window always on bottom in rust gtk4? set_type_hint() does not exist.

    • anyhow2503@lemmy.world
      link
      fedilink
      arrow-up
      91
      arrow-down
      4
      ·
      13 days ago

      They are even free to thanklessly maintain X11 for all the other contrarian fossils, because the developers sure aren’t doing it anymore.

        • mech@feddit.org
          link
          fedilink
          arrow-up
          8
          ·
          11 days ago

          Quote from their readme:

          It’s explicitly free of any “DEI” or similar discriminatory policies.
          Together we’ll make X great again!

          I’ll pass.

          • heartbreaker@sh.itjust.worksOP
            link
            fedilink
            arrow-up
            3
            ·
            11 days ago

            It sounded quite bad until I took the time to visit the website and read the entire text:

            Xlibre is a fork of the Xorg Xserver with lots of code cleanups and enhanced functionality.

            This fork was necessary since toxic elements within Xorg projects, moles from BigTech, are boycotting any substantial work on Xorg, in order to destroy the project, to eliminate competition of their own products. Classic “embrace, extend, extinguish” tactics.

            Right after journalists first began covering the planned fork Xlibre, on June 6th 2025, Redhat employees started a purge on the Xlibre founder’s GitLab account on freedesktop.org: deleted the git repo, tickets, merge requests, etc, and so fired the shot that the whole world heard.

            This is an independent project, not at all affiliated with BigTech or any of their subsidiaries or tax evasion tools, nor any political activists groups, state actors, etc. It’s explicitly free of any “DEI” or similar discriminatory policies. Anybody who’s treating others nicely is welcomed.

            It doesn’t matter which country you’re coming from, your political views, your race, your sex, your age, your food menu, whether you wear boots or heels, whether you’re furry or fairy, Conan or McKay, comic character, a small furry creature from Alpha Centauri, or just a boring average person. Anybody who’s interested in bringing X forward is welcome.

            Together we’ll make X great again!

            It seems to me this person is a bit of a conspiracy theorist and simply has a different understanding of what DEI means. Maybe an important lesson is not to believe everything you read on the internet.

      • megrania@discuss.tchncs.de
        link
        fedilink
        arrow-up
        6
        ·
        11 days ago

        I gladly accept the fossil label, but there’s no contrarian sentiment behind it … I just never felt any pain staying with X11.

        Also, the window manager I use is developed by a friend who lives 10min away and texts me every time he has an update, and I love it … doesn’t work on Wayland, though …

        • anyhow2503@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          11 days ago

          Getting comfortable with legacy software is completely valid as long as you’re aware of the potential disadvantages. Shitposting online about it or worse being wrong on the internet are different stories.

      • mycodesucks@lemmy.world
        link
        fedilink
        arrow-up
        13
        arrow-down
        48
        ·
        edit-2
        13 days ago

        Keep angrily gaslighting. Surely you’ll EVENTUALLY shame veterans who have been using Linux productively for decades into joining the cult of security over function.

        You come into MY home, into MY workflow, take features away from me that have been there ignoring all protests, then have the sheer unmitigated GALL to mock me when I dare to complain?

        • vapeloki@lemmy.world
          link
          fedilink
          arrow-up
          52
          arrow-down
          4
          ·
          13 days ago

          Dude, I am using Linux since 25 years.

          Just because you like it so much does not mean that anybody will maintain Xorg for you. Feel free to do it yourself.

          I chose Wayland. Not because security, but because I have a primary HDR ultrawide and an old secondary monitor.

          Running variable refreshrate does not work with this configuration on Xorg.

          HDR does not exist in Xorg.

          And never will be.

          Just keep in complaining just because someone points out that Xorg is dead.

          Xorg is dead! That is not gaslighting, this is a fact

          • mycodesucks@lemmy.world
            link
            fedilink
            arrow-up
            10
            arrow-down
            39
            ·
            edit-2
            13 days ago

            I WILL continue to use Xorg. My workflow requires it. If that means I have to use an unmaintained window manager forever, so be it.

            None of this would be an issue if the Wayland developers weren’t so pigheaded that they insist upon forcing their pure, untainted design philosophy onto the project rather than building an inclusive model that allows for backwards compatibility with the system it’s meant to replace.

            • anyhow2503@lemmy.world
              link
              fedilink
              arrow-up
              37
              arrow-down
              1
              ·
              13 days ago

              I will concede that not every obscure feature has been kept but the vast majority of users are now better served by wayland compositors. I have no idea what you mean by “project”, but if they had no concerns for backwards compatibility, then XWayland wouldn’t exist.

              Stopping work on X11 because it’s been an unmaintainable mess for ages doesn’t really count as “forcing” anything upon anyone. I won’t pretend that Wayland protocol development hasn’t seen plenty of disagreements, but it is still a collaborative process.

              Your disagreements seem fairly vague to me and I can’t help but think that the “pigheaded” label is somewhat ironic, after your first paragraph.

              • vapeloki@lemmy.world
                link
                fedilink
                arrow-up
                14
                ·
                13 days ago

                There is currently one major Usecase that does not work yet with Wayland. Multiwindow positioning through the application.

                In science, and some stuff like KICaf or Gimp use this feature excessively. And as someones that relies on KiCad, it is a fucking pain.

                But, solutions are being discussed and implementations will follow

              • vrighter@discuss.tchncs.de
                link
                fedilink
                arrow-up
                2
                arrow-down
                2
                ·
                12 days ago

                I am not better served. I am now in the quite new position where I’d have to rewrite some of my own personal software if i simply just decided to change DE

              • jdr@lemmy.ml
                link
                fedilink
                arrow-up
                2
                arrow-down
                7
                ·
                12 days ago

                The “forcing” was in making Wayland shit, rather than replacing it with something with at least the same capabilities as X11 (even if they are now guarded by granular permissions).

            • Railcar8095@lemmy.world
              link
              fedilink
              arrow-up
              24
              arrow-down
              1
              ·
              12 days ago

              building an inclusive model that allows for backwards compatibility with the system it’s meant to replace.

              That’s honestly a terrible approach and defeats the porpoises. For example, screen recording. You can’t be “backwards compatible” (aka any app can record at any time) and have them ask for permission (the honestly better way to go).

              Bear in mind, Wayland devs didn’t force anything. They offered an alternative to X and the distros chose that after evaluating pros and cons.

              Pick a distro that aligns with your needs like we all do.

            • ☂️-@lemmy.ml
              link
              fedilink
              arrow-up
              7
              ·
              12 days ago

              i’m just curious what is the feature you are using in xorg you can’t replicate in wayland?

            • vapeloki@lemmy.world
              link
              fedilink
              arrow-up
              8
              arrow-down
              2
              ·
              13 days ago

              Then, build your own replacement! If it is do dinpley, fork Wayland, add what you need.

        • kuhli@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          12 days ago

          Noones going into your home and taking features away from you, they just decided they don’t want to be putting a ton of effort into something 2 people care about.

          The beauty of FOSS is devs are free to make these decisions just like you’re free to develop what you need.

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      3
      ·
      13 days ago

      I wonder if we’ll find anything to replace it some day, it’s not a good protocol.

    • vrighter@discuss.tchncs.de
      link
      fedilink
      arrow-up
      21
      arrow-down
      4
      ·
      12 days ago

      missing feature that used to be there but has been removed in the name of protecting me from myself, is an inability to customize.

          • anyhow2503@lemmy.world
            link
            fedilink
            arrow-up
            19
            arrow-down
            2
            ·
            12 days ago

            Alright then, since everyone assumes I’m here to participate in this shitty flamewar instead of genuinely asking what someone is talking about: the article does a pretty good job of explaining what the idea is behind not giving applications absolute coordinates to position their windows in. If that isn’t enough and you’re one of those people who insist that it must be those evil Wayland devs pushing their security agenda down everyones throats, then you might consider how much of a pain this was for any WM that wanted to do something like scrollable workspaces or managing a device that doesn’t have a standard screen shape. If anything, giving apps access to global coordinates the way X did, just makes them less portable to other environments. There are trade-offs here and you might disagree with the compromise we landed on for now, but all of this has already been discussed for years so at this point I really don’t care for snarky commentary from people who aren’t willing to contribute towards the changes they want to see.

        • vrighter@discuss.tchncs.de
          link
          fedilink
          arrow-up
          3
          ·
          11 days ago

          “these new cars have a teeny tiny fuel tank with a tiny range! They used to have a bigger tank!”

          “Drive an old car”

          In this case the new car is objectively inferior, and I can’t buy a new old car anymore.

          When something complains about very real problems due to missing functionality, the proper answer isn’t “fuck you, use the old stuff, or stop yearning for the functionality that te intentionally crippled”

            • vrighter@discuss.tchncs.de
              link
              fedilink
              arrow-up
              3
              ·
              11 days ago

              that’s the thing… wayland has repeatedly said they will not reach feature parity. So from the word “until” onwards cad be deleted, back to the older comment

    • heartbreaker@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      20
      arrow-down
      8
      ·
      edit-2
      13 days ago

      Why so salty? I am making an app that I want to stick on the background, and would like it to be cross-platform. I mean, there should be some way to achieve something this basic right? Also, Wayland is going to become the default, and most distros will switch to it.

      • the_riviera_kid@lemmy.world
        link
        fedilink
        English
        arrow-up
        21
        arrow-down
        8
        ·
        13 days ago

        Any time you point out any flaw in linux the fanboys come out to have a screech and tell you how its all your fault actually. I’ve learned you just gotta ignore them.

        • highball@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          arrow-down
          6
          ·
          12 days ago

          If’s FOSS, don’t cry about it, implement the feature the way you think is best; just like every one else.

          • vrighter@discuss.tchncs.de
            link
            fedilink
            arrow-up
            6
            arrow-down
            3
            ·
            12 days ago

            it will be refused in the name of security. Which is notreally a good argument. “it rather involved being on the other side of that airtight hatchway” type of thing

            • highball@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              3
              ·
              12 days ago

              That’s how FOSS works. Good ideas get adopted, bad ideas lose adoption. Even I dropped Gnome because of their bike shedding. This is the way.

                • highball@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  11 days ago

                  “Everybody’s adopting other solutions. Our idea must be bad. Let’s consider other other solutions and decide if we want to continue with our current implementation.” /FTFY

          • heartbreaker@sh.itjust.worksOP
            link
            fedilink
            arrow-up
            2
            arrow-down
            2
            ·
            12 days ago

            It is a design decision to have it implemented by each compositor. which means each one will implement it differently. Currently, the gtk4 layer shell supports some, like sway and hyperland, but not others, like gnome

              • heartbreaker@sh.itjust.worksOP
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                11 days ago

                Obviously, I can’t create the entire universe by my own, adding features in the way I see fit depends also on what others create. In this case, the app won’t be cross-platform, and users will complain when it doesn’t work properly on their distro. So I don’t see the issue with me complaining a bit as well.

            • highball@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              2
              ·
              12 days ago

              You got me. Average FOSS user here. Be the change you want to see or make the changes you want to see. Stop whining and complaining. Pretty simple.

          • Crashumbc@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            3
            ·
            12 days ago

            And Linux people wonder why the year of the “desktop” never comes…

            Gatekeep much?

            • highball@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              3
              ·
              12 days ago

              You have the opportunity to be the change you want to see or make the change you want to see. Whining and crying about it doesn’t help anybody. It’s time you learned that.

      • mycodesucks@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        12
        ·
        edit-2
        13 days ago

        Then I’ll make my OWN distro. With blackjack. And hookers.

        Seriously though… I will have NO desktop environment and run terminal only before I will accept Wayland. Either reach feature parity and stop gaslighting me about functionality that has been there in X11 for decades and is a necessary part of my workflow, or back off.

    • heartbreaker@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      12 days ago

      So, as far as I understand, this works with gtk3, which will still work with Xwayland, but will eventually be phased out? Anyway, I think I will just use gtk4 layer shell and hope it supports all compositors eventually

      • rtxn@lemmy.worldM
        link
        fedilink
        arrow-up
        7
        ·
        12 days ago

        It looks like GNOME is the only compositor that doesn’t support the wlr_layer_shell protocol, which is anything but surprising. Smithay works (Cosmic and Niri), wlroots works, Kwin and Mir work, Aquamarine (Hyprland) is not listed, but I know that it works.

  • Xylight@lemdro.id
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    3
    ·
    12 days ago

    I see this as a feature honestly. Screw apps who try to be different with their special little windows

  • istdaslol@feddit.org
    link
    fedilink
    arrow-up
    10
    ·
    13 days ago

    It is easy, just loop through all active windows and increase their layer by one, making yours the most bottom

  • 🍉 Albert 🍉@lemmy.world
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    11 days ago

    Carpentry gives you the ability to make whatever furniture you want

    Why dont you make a table that floats in the air with no legs?

    • DefederateLemmyMl@feddit.nl
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      No. Those are X11 only.

      I had a bunch of wmctrl window placement scripts that I had to rewrite in kwin’s (awful) scripting language when I switched to wayland.

      • Fmstrat@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        4 days ago

        While not all functions work, they do a lot of things in Wayland. xdotool search, xdotool winactivate, xdotool windowsize, xdotool windowmove, xdotool keyup, and wmctrl -r all work fine, and my “move to” script (that positions all my windows on startup) works in Wayland using those.

        • DefederateLemmyMl@feddit.nl
          link
          fedilink
          arrow-up
          2
          ·
          4 days ago

          wmctrl and xdotool don’t do anything for me with native Wayland windows. It only seems to work for applications that use Xwayland.

          So while I can use it to resize and position xterm or urxvt windows, it does not work with foot or kitty or firefox windows.

          • Fmstrat@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            4 days ago

            Interesting. I will test my laptop woth Firefox tomorrow, see if there is anything janky going on that would make it work.

            I currently have it working with Chromium web apps, Thunderbird, and Element.