Presi300@lemmy.world to Linux@lemmy.mlEnglish · 7 months agoHow to force all chromium apps to use wayland, instead of xwayland by default?message-squaremessage-square12fedilinkarrow-up134arrow-down11file-text
arrow-up133arrow-down1message-squareHow to force all chromium apps to use wayland, instead of xwayland by default?Presi300@lemmy.world to Linux@lemmy.mlEnglish · 7 months agomessage-square12fedilinkfile-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-up8·7 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·6 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?