[Feature] Wayland support.
RokeJulianLockhart opened this issue · comments
Before Requesting
- I found no existing issue matching my feature request
Describe the feature you'd like!
I use a 4K monitor, so I am forced to use Wayland because X does not scale correctly at high DPIs. I see no reason for this software to not support Wayland compositors, even if Discord itself is a different problem.
Anything else?
BetterDiscord/BetterDiscord#1528 (comment) depicts the current blurriness.
Are you running the app as a native wayland app using the proper electron parameters or settings? Have a look at the Arch Wiki's page on Wayland to see how to do this.
@QbDesu, indeed http://forums.opensuse.org/t/164044 was the problem, but I still would like Wayland support. To that end, is this feasible for BetterDiscord, or should I merely follow https://support.discord.com/hc/en-us/community/posts/360047644231?
Simplest way is to modify the discord entry to start with the appropriate command line flags. The way to do this depends on the desktop environment you are using.
One way that may work in an environment like sway or Weston but probably wouldn't work in Plasma or Gnome is overriding the .desktop
file by first copying the existing file from /usr/share/applications/discord.desktop
(exact path varies depending on distribution) to the ~/.local/share/applications/
folder and adding --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform=wayland
at the end of the Exec=
line.
This shouldn't really be considered for BD to add as a feature. Wayland implementations are still unstable and the Wayland specification is still far from done. On top of that the Wayland support for Chromium - and therefore by extension Electron and Discord - is still experimental. Wayland is just not quite there yet.
This sounds like an issue with the installer and not BD... moving issue