Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Linux support will definitely get better within the next year, but yeah this is my biggest pain point. Electron and other XWayland apps look terrible. Is there some environment variable that I can set to launch Electron apps with the correct command line arguments for Wayland?

Edit: Looks like I found what I am looking for: https://www.electronjs.org/docs/latest/api/environment-varia....

Electron apps are still blurry though. Hmm... Also, seems like I need to expose something to Electron apps that are packaged in Flatpak. Needs more research.



Use a better DE. KDE allows not scaling xwayland apps, and Hyprland does too. Just set Xft.dpi to let it scale the old fashioned way. Electron can be started with wayland but it's often buggy.


GNOME meets all my needs except this one, so I think I will stay here. Definitely looking for a less drastic solution.


Many electron apps either ignore the ozone flags, or straight up ship with ancient electron, that doesn't support ozone/wayland at all.

The only way forward is bug the maintainers of the apps to do the right thing and support wayland properly. Electron itself does.


Slack seems to work great with Wayland, so props to them. VSCode and Discord were giving me trouble however. Thanks for your insight.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: