this post was submitted on 13 Oct 2023
422 points (99.3% liked)

Linux

47361 readers
1092 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 31 comments
sorted by: hot top controversial new old
[–] [email protected] 67 points 11 months ago (3 children)

Firefox is surprisingly one of the few programs that has no/almost no glitches in wayland with nvidia.

[–] [email protected] 37 points 11 months ago* (last edited 11 months ago)

The total of human days of work amounts to something like 1000 years+. Its a an incredible project.

[–] [email protected] 34 points 11 months ago (2 children)

And it needs even less memory than Electron, even if it runs as an own instance with a different profile! I replaced Discord with it a year ago and it's much better in literally every way. I just wish there would be a FF alternative for Electron.

[–] [email protected] 13 points 11 months ago
[–] [email protected] 7 points 11 months ago

I think there is something like that but it's really not popular and I'm not even sure it's maintained anymore

[–] [email protected] 3 points 11 months ago (3 children)

Try it with multiple monitors. Unless I manually enable native wayland, it flickers just like most other xwayland windows.

[–] [email protected] 16 points 11 months ago

I meant using MOZ_ENABLE_WAYLAND=1, of course

only glitch recently is that I couldn't get multi-account containers to work. 2 years ago I couldn't even open setting's menu under wayland, so it's been evolving

[–] [email protected] 13 points 11 months ago

I think he meant Firefox running under native Wayland.

[–] [email protected] 2 points 11 months ago

Heck, I have a single monitor and it flickers too.

[–] [email protected] 41 points 11 months ago (4 children)

it's not already enabled??

[–] [email protected] 31 points 11 months ago

I think it was an option. Not by default

[–] [email protected] 26 points 11 months ago (1 children)

Fedoras package enabled it by default.

[–] [email protected] 1 points 11 months ago
[–] [email protected] 10 points 11 months ago

It’s an environment variable. I have MOZ_ENABLE_WAYLAND=true in my sway wrapper script.

[–] [email protected] 9 points 11 months ago

It was a "hidden feature", pretty much.

[–] [email protected] 31 points 11 months ago

This is the best summary I could come up with:


While some Linux distributions like Fedora and Arch are enabling the native Wayland back-end for Firefox by default, upstream Firefox continues to not enable this Wayland support as part of their default builds.

Martin Stransky of Red Hat who is known for his Firefox work on Fedora today outlined the Firefox Linux improvements made last quarter.

He mentioned that the "Wayland backend is gaining momentum at Mozilla upstream."

There's this bug tracker for the status of shipping the Wayland back-end for Firefox releases.

Mozilla's Sylvestre Ledru commented last week that he's in favor of going ahead with the change as long as it's documented properly.

Martin also outlined in his Q3 Firefox Linux status blog post that dbus-glib has also been dropped as a build dependency for Firefox, Firefox supports a new kiosk mode, there is a new idle monitor/service implemented, and other Linux improvements.


The original article contains 241 words, the summary contains 145 words. Saved 40%. I'm a bot and I'm open source!

[–] [email protected] 26 points 11 months ago
[–] [email protected] 24 points 11 months ago

Well good thing I finally realized it wasn't enabled and set my environment variables to enable it.

[–] [email protected] 22 points 11 months ago (1 children)

Finally. I was having some weird graphical glitches, so I switched it to the Wayland backend, and I've not noticed any issues. It's totally stable (at least for me).

[–] [email protected] 4 points 11 months ago

Huh, I'll give that a go as occasionally some black blocks and other artifacts appear for me- thought that it couldn't handle high def or something.

[–] [email protected] 20 points 11 months ago (1 children)

Will this fix copying from the url bar in kde?

[–] [email protected] 27 points 11 months ago (1 children)

Where the copied content would sometimes disappear from the clipboard? Iirc that's a KDE bug being fixed in 6

[–] [email protected] 1 points 11 months ago (1 children)

I just can’t copy anything from the URL bar at all.

[–] [email protected] 4 points 11 months ago

Afaik that's a bug in Firefox, it doesn't cope well when middle click paste is disabled... As a workaround you can enable it again

[–] [email protected] 14 points 11 months ago

I've been using this environment variable to enable Wayland for at least a year.... No issues.

[–] [email protected] 6 points 11 months ago (1 children)

I'm out of the loop, what's the wayland backend?

[–] [email protected] 8 points 11 months ago

For most apps there's no difference, but dealing with multi-window apps that can spawn new windows, merge them, display video content in its own window etc. there's a lot of communication that Firefox has to do with the technology that draws its window to the screen.

I guess before now, default Firefox setups would've used XWayland to translate those communications which would've worked fine if not for some overhead and edge cases. This would make Firefox a truly Wayland-native application, when running on Wayland.

[–] [email protected] 5 points 11 months ago

But I have been manually enabling it with a system environment variable and confirmed it was native wayland. No xwayland

[–] [email protected] 5 points 11 months ago (1 children)

Would this let global menu (plasma) on Firefox work better under Wayland? I remember someone saying that Wayland was the reason it didn’t work.

[–] [email protected] 3 points 11 months ago

Global menus work by exporting the menu over DBus. It has no relation to x11 or Wayland.

[–] [email protected] 1 points 11 months ago