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
      2
      ·
      2 months 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
          1
          ·
          2 months 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
            1
            ·
            2 months 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.

  • Fizz@lemmy.nz
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    I know this is pedantic but Linux does give users the free to do this. They just need to add a patch to their desktop and patch their app to make it so.

  • Jul (they/she)@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Wayland is still too new for a lot of complex functionality. It works well enough for the vast majority of use cases, but X11 is still superior in terms of functionality. But like many systems, control means higher learning curve due to various quirks and complex configurations.

    • heartbreaker@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 months 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
        1
        ·
        2 months 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
          0
          arrow-down
          1
          ·
          2 months ago

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

            • highball@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              arrow-down
              1
              ·
              2 months 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.

            • highball@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              arrow-down
              1
              ·
              2 months 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.

          • heartbreaker@sh.itjust.worksOP
            link
            fedilink
            arrow-up
            0
            ·
            2 months 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

            • highball@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              arrow-down
              1
              ·
              2 months ago

              Sounds like a good opportunity to add the features in the way you see fit.

          • vrighter@discuss.tchncs.de
            link
            fedilink
            arrow-up
            0
            ·
            2 months 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
              0
              arrow-down
              1
              ·
              2 months 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
                  0
                  arrow-down
                  1
                  ·
                  2 months 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

      • mycodesucks@lemmy.world
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        edit-2
        2 months 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.

    • vrighter@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      2 months 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
            0
            arrow-down
            1
            ·
            2 months 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.

    • DefederateLemmyMl@feddit.nl
      link
      fedilink
      arrow-up
      0
      ·
      2 months 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
        ·
        2 months 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
          1
          ·
          2 months 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
            ·
            2 months 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.

    • heartbreaker@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I meant as in keep the always on the bottom/background (or at least move it to the back on launch). I tried gtk4-layer-shell, but unfortunately, it doesn’t support some desktop environments (like GNOME).