linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

atzanteol, in KDE's Nate Graham On X11 Being A Bad Platform & The Wayland Future

Nate Graham acknowledges current gaps in Wayland support but on the matter of “Wayland breaks everything” isn’t really the right perspective

That’s rather disingenuous. It’s meant to be a replacement for X11. So it does break things.

conciselyverbose,

It's not intended as a drop in replacement.

Backwards compatibility forever sounds great, but the technical debt eventually becomes a giant fucking limitation on improvement. They chose not to stay backwards compatible for a reason.

SpaceCadet,
@SpaceCadet@feddit.nl avatar

I agree that at some point you have to be able to ditch technical debt, but you still should be able to do more or less the same things with the new system as with the old system and that’s currently still not the case.

The problem is that the architecture of Wayland and the organization around it themselves impose limitations that have a chilling effect on development for it. One issue is that Wayland has been deliberately left very slim, leaving a lot of complexity and implementation details up to the compositor. A compositor can be seen as something that approaches the size and complexity of an entire X display server. This means that if someone wants to create a window manager, they have to implement a whole compositor first. So instead of writing window manager code, which is what the developer is probably the most interested in, they are spending most of their time implementing the compositor.

Naturally this also leads to a lot of duplication of effort. For example: GNOME, KDE and the window managers that have implemented a wayland version each have their own compositor that by and large does the same thing.

Another issue is the standardization of the protocols and interfaces that the different compositors use, or lack thereof. There is a steering group containing the major stakeholders that votes on proposed extensions, but good proposals often get shot down because the major stakeholders can’t agree on it and sometimes ego or principles gets in the way. And then you have cases where one compositor just goes their own way and implements something regardless of what the others do.

For example, as a result of this there’s still no standard screen capture API, so if you want to do things like screenshots, remote desktop, desktop streaming, … whether or not you can do that, and with which tool, depends on the compositor you use. Another example: they’re currently still bickering over whether or not an application should be allowed to place windows with absolute coordinates, and how that should be implemented. We’re currently 15 years after initial release of Wayland…

In my opinion, this is all completely backwards. Both in an organizational and technical sense way too much has been left up to the individual compositors that should have been a core part of Wayland itself.

Unfortunately, it’s all too late to fix this. We’re 15 years into Wayland development, and the flawed architecture has been set in stone. Wayland isn’t going to go away soon either, too many parties are invested in it. So for me the reasonable thing to do is to wait and stick with X11 until the dust settles and something emerges on the other side that is better than what I currently have.

wiki_me,

This means that if someone wants to create a window manager, they have to implement a whole compositor first. So instead of writing window manager code, which is what the developer is probably the most interested in, they are spending most of their time implementing the compositor.

wlroots has existed for almost 7 years and this misconception is still repeated.

SpaceCadet, (edited )
@SpaceCadet@feddit.nl avatar

I know wlroots exists. It’s a library that helps you implement a compositor (i.e. does some of the heavy lifting), but at the end of the day the window manager developer is still implementing a compositor and is responsible for maintaining his compositor.

The mere fact that wlroots, and other efforts like louvre, are necessary at all actually prove my point that it was an idiotic design to push everything off into “compositors”.

atzanteol,

It’s not intended as a drop in replacement.

… Which is why it “breaks everything”

HumanPenguin, (edited )
@HumanPenguin@feddit.uk avatar

As railways were a replacement for canals.

It was not the railways that broke the barge. But the companies expecting to gain the advantages without adapting there transportation.

Replace not upgrade.

PS i still use canals. Bur do not blame the raIlway for not fitting my boat.

atzanteol,

Railways are not a “replacement” for canals.

pelotron,
@pelotron@midwest.social avatar

barges just haven’t been ported to railways yet

flying_sheep,
@flying_sheep@lemmy.ml avatar

Duh. But you do understand what purpose the metaphor serves?

atzanteol,

Yes. And it’s a bad analogy. Nobody is expecting you to be able to take a barge on railways. But existing linux applications are being expected to run on Wayland. As I said - railways didn’t replace canals - they’re different types of things.

flying_sheep,
@flying_sheep@lemmy.ml avatar

Within the last 10 years and the next 5 years, software using old hacks instead of GUI toolkits are expected to switch, yes.

People can choose to continue to use X11 until KDE Plasma 6 hits Debian stable.

I don’t see a problem. Nobody forces Wayland onto anyone yet, except for bleeding edge distributions like Fedora. And unless you’ve been severely misled, you should know what you signed up for when you installed Fedora.

atzanteol,

I don’t see a problem.

I didn’t say there was a problem. I’m saying it’s pretty disingenuous to act like Wayland isn’t intended as a replacement for X11. All of which you seem to agree with. As you say “nobody forces Wayland onto anyone yet” (emphasis mine).

Also - I just love how your comment is written like a politician would have written it. “Sure you can use the dirty old X11 if you really want to, or you can use the nice new God-fearing Wayland”.

flying_sheep,
@flying_sheep@lemmy.ml avatar

If you bring the two parts of your comment together and dial back the assumptions of bad faith, you’ll get a consistent picture:

Wayland is a blank slate replacement for how to do window management on Linux. At some point it’ll become the standard for software that’s new or maintained. Unmaintained software that doesn’t talk to the internet and is therefore safe to run even with security holes will continue to be supported via XWayland. The giant scope and API surface is part of the reason why it’s deprecated. Maintainers are expected to target the new way to do things going forward, because there are people able and willing to maintain that support (many of those people former X11 maintainers who are looking forward to stop having to deal with that legacy behemoth)

That’s the state of things I wanted to express. Not my opinion, no agenda, just how I understand the situation.

atzanteol,

Neat.

HumanPenguin,
@HumanPenguin@feddit.uk avatar

Lol. Learn your history.

In the UK railways very much were a replacement for canals.

Both being built to transport good accross the nation.

atzanteol,

Lol. Learn your history.

Don’t be shitty.

HumanPenguin,
@HumanPenguin@feddit.uk avatar

Yeah sorry. But when you look at the events building europeen railways. More so in the UK as we had a huge canal system built in a few decades. But most of Europe denser areas.

Railways were very much a replacement for the to slow canal system.

Canals built a huge industry allowing manufacturers to ship goods to cities while shipping resources from the mines and farms etc.

But industries like meat fish milk and strongly enough market gardening (fresh flowers) were very limited to local areas before the railways. Took off hugely when the railways intentionally set up in direct competition to the canals.

Canals survived for a while moving the slower stuff. But started needing to redesign to support bigger and more boats faster. Before finally closing down.

The UK and most of Europe rebuilt/renovated them as a leasure activity from the 1950s. But most of the late 1800 to early 1900s railways vcompanies actually worked to replace and put canal companies out of business.

Passenger rail really was not a big thing untill about the 1920s.

atzanteol,

We’re getting well away from the topic now. It depends on what you mean by “replace”. Railways and canals exist side-by-side as different solutions to similar problems - sure. And some railways have replaced some canals. But the panama canal will not be replaced by a railroad for example. It couldn’t do the same job. The pros/cons of each option depends on many factors.

The analogy is poor for comparing software. Linux distros will likely replace X11 with Wayland over time. To do the same thing that X11 was doing. It will be replaced “in place”. The very same thing you were using with X11 will now need to work on Wayland. This would be like running your barges on the railroad? Maybe? Depending on how you squint?

I wouldn’t expect my barge to work on the railroad. I do expect that Firefox will run on Wayland after having used it on X11 for 20 years.

HumanPenguin,
@HumanPenguin@feddit.uk avatar

But as a user of a barge if you needed wanted to use railways. Because they are faster. It would be the barge maker or a new train maker you would look at. Not the railway.

Just like canals X11 still exists. And is still being developed. It has its limitations but some applications are choosing not to port. Because like barge makers. They simply do not see the need. Or merit.

If the makers of railways insisted that all current users agents had to work on them without adaption. Many of the advantages would no longer be there.

Just as if waylaid did not expect Firefox et al to adapt to its methods. The security and other advantages they seek would not be practice.

Waylaid is a replacement. Not an upgrade.

(PS yeah living in the UK replace canal with inland waterways navigation. Tends to be how we think of it. As they are such a huge part of our industrial history. I forget the US really never went through that part of europeen industrial development. Your example is a fairly unique and modern by comparison, it dose not link to any network. Where as the inland waterways accross the UK and parts of Europe were a linked inferstructure like our railways. When the railways in Europe were built. They were very much seen as a replacement to our existing canal system. By both the corperations set up to build the inferstructure and the media of the time. It is literally a part of our industrial history thought is schools here. As so much of our culture and industrial revolution is built around the events)

jjlinux,

But not “everything”, which is the point.

t0m5k1,
@t0m5k1@lemmy.world avatar

Just the apps and DE’s that don’t/can’t support it …hmmm

mikesailin, in What distros have you tried and thought, "Nope, this one's not for me"?

NIXOS is definitely not for me. The documentation sucks and there are less cumbersome ways to restore a system.

tobz619,

As someone currently suffering on NixOS, this is very true

taanegl,

Honestly, if you’re not using nix to deploy systems or need it to create reproducible environments across systems, then NixOS is a bit overkill.

I want to use NixOS for servers and embedded systems as well, so I run it on my laptop. But the user experience gives Gentoo a run for it’s money for being the most finnicky bastard in the distro world. They would both contend if there was a Razzy award for usability.

pipows,
@pipows@lemmy.today avatar

I tried it out, and it was so cumbersome to install packages that I gave up. I understand its application in servers, but for home computers it’s a pain in the ass

Matty_r, in Nobara 39 Officially Released
@Matty_r@programming.dev avatar

Cool, I’ve wanted to give this a go for a while but never really gelled with Gnome. I’ll have to give it another look.

woelkchen,
@woelkchen@lemmy.world avatar

Cool, I’ve wanted to give this a go for a while but never really gelled with Gnome.

Even before the switch of the default was Plasma already an option. It just wasn’t the default.

Matty_r,
@Matty_r@programming.dev avatar

Fair enough. I find if it’s the default option, it’s a better out-of-the-box experience as the devs would have spent more time on polishing etc.

possiblylinux127, in Which distro in your opinion is the best for virtualization (Windows 10 on either KVM or VMware), stability, and speed?

KVM with virtio runs circles around everything else

Benaaasaaas, in What distros have you tried and thought, "Nope, this one's not for me"?

Ubuntu, tried to install vim 8 when it released, too bad they only update major package versions once every 2 years. Find myself some random dudes repo, great it’s vim 8, too bad it was compiled w/o python support… Installed Manjaro (arch based) and never looked back.

Veticia, in What distros have you tried and thought, "Nope, this one's not for me"?
@Veticia@lemmy.ml avatar

I tried arch btw.

But didn’t like it.

Jean_Lurk_Picard, in What distros have you tried and thought, "Nope, this one's not for me"?
@Jean_Lurk_Picard@lemmy.world avatar

Linux Mint. There was just too much crap on the desktop

Andy,
@Andy@programming.dev avatar

Haha it’s all good, but it sounds like selling the house to avoid cleaning a table.

Jean_Lurk_Picard, (edited )
@Jean_Lurk_Picard@lemmy.world avatar

Well I ended up building my own house from scratch (in terms of this analogy). I don’t use any DE at all haha

richardisaguy, in Is anyone here using their hardware TPM chips for credentials?
@richardisaguy@lemmy.world avatar

I use it for storing luks credentials, so every time I boot I get dropped at my login manager. It leaves my system vunerable to attacks to it, but its quite convenient.

Besides, if anyone tries to boot any other OS which is not mine, the keys are erased.

baseless_discourse,

Can you explain a bit on how the key erasure works? AFAIK TPM only refuse to release the key when certain PCR dont match, is there a setting to let it erase key?

richardisaguy,
@richardisaguy@lemmy.world avatar

fedoramagazine.org/automatically-decrypt-your-dis…

I’ve read this article to make my setup, but its very informative about the function of TPM too

baseless_discourse,

I have read that article, it doesn’t seem to mention that TPM will erase key if a different OS is loaded, maybe I missed something?

richardisaguy,
@richardisaguy@lemmy.world avatar

It talsk about pcr, every time another OS is booted some pcsrs are changed, and if the keys are installed on the correct ones, this will lead to it being erased

SpaceCadet,
@SpaceCadet@feddit.nl avatar

Besides, if anyone tries to boot any other OS which is not mine, the keys are erased.

There are forensic tools that can capture the contents of RAM, and so access your decrypted LUKS encryption key.

I guess it depends on who you are protecting against, but if for example law enforcement wants evidence against you for what they think is a serious enough crime, they just may go through the trouble to do it.

library_napper, in Is anyone here using their hardware TPM chips for credentials?
@library_napper@monyet.cc avatar

Usually because its not portable. A USB security key costs more than the TPM you already have, but you can make a backup and store it in a safe

Atemu, in NixOS beginner resources
@Atemu@lemmy.ml avatar

The best way I know of is to get yourself a VM and get into the weeds; try to configure a system to your liking.

Follow the NixOS manual. The Wiki is unofficial; often opinionated, out of date or just plain wrong. Take it with a grain of salt. The canonical source of documentation is the NixOS manual and it’s not nearly as bad as you may have heard.

Make extensive use of search.nixos.org/options or man configuration.nix. Finding and making proper use of options and the module system is the bread and butter of using NixOS.

Eventhough everyone and their mom will recommend them to you for nebulous reasons, ignore flakes for now. You will know when you’ll benefit from using them; namely when you need to use something outside of NixOS/Nixpkgs. You’re going to have enough to figure out with plain old NixOS on its own though; I don’t have external dependencies in my config to this day.

To wrap it up, make sure to ask the community if something’s not working as expected: github.com/NixOS/nixpkgs#community

LunchEnjoyer,
@LunchEnjoyer@lemmy.world avatar

Much appreciated dude 🙌

shellsharks, in What distros have you tried and thought, "Nope, this one's not for me"?
@shellsharks@infosec.pub avatar

Windows 🤣

Llewellyn,

Daad, please stop

mindlessLump, in My First Regular Expressions

I’ll have to check out this book. Just remember HTML cannot be parsed with regex

bizdelnick, (edited )

Well, technically it is possible with regex dialect that has lookarounds, but it is overcomplicated. There’s really no reason to do it.

ultra,

Thanks for that link.

amoroso, in Why do you use the terminal?
@amoroso@lemmy.ml avatar

Because it’s the most effective and powerful tool for putting the Unix philosophy into practice.

chitak166, (edited ) in What distros have you tried and thought, "Nope, this one's not for me"?

Fedora. Just feels like I’d be moving to the dnf ecosystem for no reason.

Lettuceeatlettuce, in What distros have you tried and thought, "Nope, this one's not for me"?
@Lettuceeatlettuce@lemmy.ml avatar

ZorinOS. I tried to install it on my spouse’s computer with all modern, well-supported AMD hardware. Had nothing but problems, to the point that the computer was barely usable. WiFi broken, GUI was laggy, repositories were buggy. When I finally got the system somewhat stable, I didn’t like the interface at all. Styles were bland, icons dull, everything just seemed clunky and awkward.

For a distro advertised as a beginner-friendly and pay-for-polish system, I was very dissapointed.

Might have been a fluke, I don’t think my experience is standard for Zorin, but it was a really terrible first impression and I never suggest it to Linux-curious folks. Mint or Vanilla Fedora are my go-to for newbs.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #