this post was submitted on 19 Mar 2024
55 points (66.7% liked)
Linux
48035 readers
714 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is an Xwayland and Electron issue, not a Discord or Gnome or a Display issue. This is because Electron under Xwayland (and also somewhat under Wayland) doesn't behave well with fractional scaling. If you want a true comparison, try opening Discord on Firefox with Wayland. It will be night and day in terms of sharpness compared to regular DPI displays
It's also posaible to open Discord with Wayland directly by editing the exec command in the .desktop file. Can't remember what it was ofd the top of my head, but it's the same for all electron apps.
Add
--ozone-platform-hint=auto
to the command, I've done it so may times for electron stuff it's engrained into my head now haha. You can check that it works withxlsclients
.Also
QT_QPA_PLATFORM=wayland
for QT based apps is handy to know too if they're not behaving.It works but as soon as I close it to the tray, it'll crash