4 ms·
I said this last time, but ydotool probably won't ever have the same features as xdotool because the scope isn't the same. A lot of the X commands in xdotool do
by cycloptic 6y ago
I said this last time, but ydotool probably won't ever have the same features as xdotool because the scope isn't the same. A lot of the X commands in xdotool don't even make sense in the context of wayland, so it would be unreasonable for them to have the same scope.
- pmoriarty 6y agoAs an end-user, the fact that Wayland can't do what I need while X can is a black mark against Wayland.
- cycloptic 6y agoI don't understand where you're getting this idea that Wayland is or was supposed to do all the same things as X in exactly the same way. It's not, that's the entire point. As an end-user you can continue to use what works for you. Yes X is much more flexible at some things (and Wayland is more flexible at others) but it comes at a cost which is expounded on by the article.
- CarelessExpert 6y ago> I don't understand where you're getting this idea that Wayland is or was supposed to do all the same things as X in exactly the same way. It's not, that's the entire point. Ahh, classic: blame the user. You are wrong for expecting things to work in a way that's familiar! Global hotkey bindings? Sure, that works on Windows, macOS, and X, but it doesn't on Wayland and its your fault for expecting it. The beatings will continue until morale improves! > As an end-user you can continue to use what works for you. LOL, Wayland is literally being marketed as the replacement for X. It's even the default display server in Debian, Ubuntu, and (I think?) Fedora. Why are you surprised that people therefore expect stuff that works in X to work in Wayland?
- cycloptic 6y agoPlease tone down the rhetoric, I'm not blaming anybody. X is still included on those distros as a fallback option in case you have something that doesn't work. Re global hotkey bindings: Can you please describe your setup to me? I honestly have no idea what you're talking about, global hotkeys were supported in all the Wayland implementations I tried recently. (KDE, GNOME, Sway, Wayfire)
- CarelessExpert 6y ago> Please tone down the rhetoric, I'm not blaming anybody. I understand that's not your intention, but that's effectively what you're doing. I'm a former developer who moved into product management a long time ago, and I've seen the syndrome. "I understand what you want, but we didn't build it that way, so you need to change your expectations" places the onus on the user to change their behaviour, instead of on the developer to build the thing the user actually wants. > X is still included on those distros as a fallback option in case you have something that doesn't work. The trouble is, a neophyte will a) have no idea what the difference is between Wayland and Xorg, and b) not realize that switching might fix whatever issue they're encountering. And BTW, this all presumes that a distro installs Xorg at all. If not, you've gotta dive into the package manager, which adds an additional barrier since you need to know what to look for and install. > Re global hotkey bindings: Can you please describe your setup to me? I honestly have no idea what you're talking about, global hotkeys were supported in all the Wayland implementations I tried recently. (KDE, GNOME, Sway, Wayfire) It certainly doesn't. Two examples that immediately spring to mind: Guake, a handy pop-up terminal. In X I can press F12 anywhere and it opens. Super handy for quick terminal interactions, always-on commandline tools, etc. Gnome Do or equivalent. Basically Quicksilver for Linux. Fast search, command execution, etc, from the keyboard. Hit a hotkey and it pops up. Right now the way this works is that the compositor binds the key and then... does stuff. But that requires these applications to be redesigned to support that. For example, guake added a whole separate binary, 'guake-toggle', and it's only job is to toggle visibility. Unfortunately, that requires the user to know that they need to go into their compositor settings, bind the key, and set it to run that application. Meanwhile, on literally any other OS, this would be handled with a config setting right in the application. Maybe eventually be addressed with yet-another-dbus-protocol, but right now it's just a gaping functional regression.
- bitwize 6y ago> Global hotkey bindings? Sure, that works on Windows, macOS, and X, but it doesn't on Wayland and its your fault for expecting it. It's not that. It's that global hotkey bindings are out of scope for a Wayland compositor. But don't worry. An API for such things for the crufty d-bus broker should be dropping aaaaaaany minute now... then all you have to do is wait for your compositor to support it!
- umanwizard 6y agoWayland is not currently the default on Ubuntu.
- CarelessExpert 6y agoDoh, my bad, you're right. I... think? they were planning to make it the default in 20.04 and then they backed off.
- jolmg 6y ago> I don't understand where you're getting this idea that Wayland is or was supposed to do all the same things as X This entire post is about Xorg becoming abandonware. People are expressing why they're not willing to switch to Wayland, citing lack of features they use. > As an end-user you can continue to use what works for you. Until Xorg becomes unmaintained and eventually breaks. Wayland is not being put forth as an option. The idea is that X will eventually be unsupported.
- cycloptic 6y agoThe article also includes a call for developers that want to help support X.
- jolmg 6y agoYes it does, but that's not going to stop people from expressing themselves online or discuss the disadvantages of what's coming. Besides, realistically speaking, not everyone is capable enough to do that. Their only way to contribute is to let the web know that not everyone prefers Wayland and why. Discussions like these are like feature requests and bug reports, only broader, encompassing multiple projects. Some people might interpret that as entitled b____ing, but then apparently so are feature requests and bug reports sometimes.
- sergeykish 6y agoIt does nothing good. It is not Wayland fault that distribution decided to switch. It is not Wayland fault that no one wants to maintain X.Org. The right call would be kickstarter, patreon, any kind of sponsorship.
- pmoriarty 6y ago"it comes at a cost which is expounded on by the article." I would appreciate it if you could quote the article where it expounds on the cost. I've read through it a few times, and could only find two very brief, vague, handwavy complaints against X: 1 - "the code happens to implement an unfortunate specification" 2 - "You can only apply so much thrust to the pig before you question why you're trying to make it fly at all." As an end-user, I don't find these to be particularly convincing. Moreover, X works for me now and does everything I need.
- cycloptic 6y agoThose are all quotes that are referring to it, as well as this one: >But using it to drive your display hardware and multiplex your input devices is choosing to make your life worse. If X continues to work for you and you don't find it makes your life worse, then... keep using it?
- sergeykish 6y agoDaniel Stone, The real story behind Wayland and X (Or, 'Why Everything You've Read in LWN and Phoronix Comments is Untrue') https://www.youtube.com/watch?v=GWQh_DmDLKQ https://www.youtube.com/watch?v=GWQh_DmDLKQ And directly from ajaxnwnk https://news.ycombinator.com/item?id=24925189 https://news.ycombinator.com/item?id=24925189 > Moreover, X works for me now and does everything I need. Someone makes pig fly all these years.
- hapless 6y agoYes, the missing scope is the problem!