49
submitted 2 months ago by Presi300@lemmy.world to c/linux@lemmy.ml

I am aware of the switches you can pass to each app to make it use native wayland, but is there any way to do it globally?

you are viewing a single comment's thread
view the rest of the comments
[-] SteveTech@programming.dev 5 points 2 months ago* (last edited 2 months ago)

For electron, if ELECTRON_OZONE_PLATFORM_HINT and electron-flags.conf don't work, you can also add --ozone-platform-hint=wayland to the end of Exec in each .desktop file (also works on Chromium, ~~but not CEF AFAIK~~ and sometimes CEF).

There's also --ozone-platform-hint=auto if you find yourself switching between X11 and Wayland.

[-] boo_@lemmy.blahaj.zone 3 points 2 months ago

Spotify is CEF, I think, and it works pretty well.

this post was submitted on 14 Jun 2024
49 points (96.2% liked)

Linux

46611 readers
937 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