this post was submitted on 19 Mar 2024
54 points (66.3% liked)
Linux
48153 readers
793 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
For me, many electron apps (especially Discord and Spotify) start to spasm out with this. As in, they open blank windows and can't be focused etc. So using spotify-player in foot and canary.discord.com in FF Nightly is the only option.
Discord is best enjoyed in Firefox with uBlock origin anyways, I find it faster and it can't spy on your entire computer!!
Also with Vencord (Which is not in the Mozilla addon store anymore unfortunately, so you'll need to use Tampermonkey or FF Nightly/Dev and compile the extension yourself). Then add an Adblock theme to hide all the premium trash you can get for free with Vencord and voilá, you have yourself a usable, still spying and not E2EE, messenger.