Presi300@lemmy.world to Linux@lemmy.mlEnglish · 4 months agoHow to force all chromium apps to use wayland, instead of xwayland by default?message-squaremessage-square11fedilinkarrow-up19arrow-down10file-text
arrow-up19arrow-down1message-squareHow to force all chromium apps to use wayland, instead of xwayland by default?Presi300@lemmy.world to Linux@lemmy.mlEnglish · 4 months agomessage-square11fedilinkfile-text
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?
minus-squareboredsquirrel@slrpnk.netlinkfedilinkarrow-up4·4 months agoYou mean Electron? The Arch wiki has docs about that. For Flatpaks I use the environment variable ELECTRON_OZONE_PLATFORM_HINT=wayland See my dotfiles on github.com/boredsquirrel/dotfiles Same possible for Qt QT_QPA_PLATFORM=wayland
minus-squareFisch@discuss.tchncs.delinkfedilinkEnglisharrow-up1·4 months agoIs there a noticeable benefit to those apps running natively on Wayland vs running through xWayland?
You mean Electron?
The Arch wiki has docs about that.
For Flatpaks I use the environment variable
ELECTRON_OZONE_PLATFORM_HINT=wayland
See my dotfiles on github.com/boredsquirrel/dotfiles
Same possible for Qt
QT_QPA_PLATFORM=wayland
Is there a noticeable benefit to those apps running natively on Wayland vs running through xWayland?