Does anybody know how to set a window always on bottom in rust gtk4? set_type_hint() does not exist.
Linux gives users the freedom to keep using x11 :p
This is the way…
ugh I wish I could but my Laptop set up says “no, you can’t.” discrete Nividia GPU with onboard AMD GPU and gaming on x11 is a no go for me. So my only choice is wayland :/
I once heard about someone accidentally pouring tea from a teapot into a mug with instant coffee in it rather than hot water.
Your laptop has the GPU equivalent of that drink.
ugh I know. In hindsight I would have never bought it.
I wonder if we’ll find anything to replace it some day, it’s not a good protocol.
Maybe someday someone will develop a better replacement, but so far no one has.
I chose wrong, must be linux’s fault.
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.
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.
If’s FOSS, don’t cry about it, implement the feature the way you think is best; just like every one else.
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
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.
well that’s the problem. “I don’t use it therefore it must be a bad idea”
“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
And Linux people wonder why the year of the “desktop” never comes…
Gatekeep much?
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.
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
Sounds like a good opportunity to add the features in the way you see fit.
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.
Would you look at that? Heres one now.
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.
You just haven’t tried it with the latest release of this fork of Plasma.
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.
Out of curiosity, what features does x11 have that are essential to you?
Amen.
You’re pigeonholing yourself into an environment which can’t support basic functions life þis. Use Xorg, and you’ll be able to do it.
Bold of you to assume Wayland devs do things like absolutely everything else, in fact the opposite is true. As a rule of thumb Wayland devs must always do everything completely differently from everyone else and if you dont like that feel free to ignore the less than 2% of people who use Linux.
I see this as a feature honestly. Screw apps who try to be different with their special little windows
Is it bottom layer in wayland terminology (the one for bars and stuff)? In that case I think gtk4-layer-shell is the answer.
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).
kwin supports this, gnome from my perspective is more about a cohesive experience you either love or don’t
why do you want to hide the window from the user in such a bizarre way? what’s the purpose?
The age of pop-under ads were truly the dark times.
Right? Why not just let the user position it where they want it? This seems like it can only be nefarious.
I guess stuff like desktop widgets might be a candidate. Not sure if there’s a specific framework for those, though
but that’s already a thing!
ok, on kde, no idea about others
Having a program that draws pretty things as a wallpaper.
aren’t there better ways for that in most window managers?
Isn’t this what conky does? Puts it on the root layer?
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.
It gives you the freedom to do that, not the ability
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.
Wayland is just a few years younger than X11… It was first released in 2008…
X11 is way, way older than that. But it also was more actively developed for most of that time.
I don’t think there are any plans to add more functionality
It is easy, just loop through all active windows and increase their layer by one, making yours the most bottom
You’re looking for gtk4-layer-shell (doesn’t work on gnome tho 'cos they hate you (only gnome is like this))
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?
What actually bothers me is when a window opens and takes my keyboard focus away from where I was working. God, I hate what shit.
There was a time when Steam did that like four times.
Or even worse, a dialog window opens locking the rest of the application but it’s under other windows for some reason and I’m like wtf
Can’t you still script it with
wmctrlandxdotool?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.
While not all functions work, they do a lot of things in Wayland.
xdotool search,xdotool winactivate,xdotool windowsize,xdotool windowmove,xdotool keyup, andwmctrl -rall work fine, and my “move to” script (that positions all my windows on startup) works in Wayland using those.wmctrlandxdotooldon’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
xtermorurxvtwindows, it does not work withfootorkittyorfirefoxwindows.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.
It’s possible those are still using Xwayland
You can use
xlsclientsto check.

















