this post was submitted on 18 Sep 2023
45 points (94.1% liked)
Linux
48736 readers
1317 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 depends on if you installed Steam as a Flatpak or through the endeavourOS repositories, but one way that should work is editing the Exec line in the .desktop file. You've already tried that, but I don't know what you put there so it might be worth editing that line again. Try editing the Exec line to
Exec=GDK_SCALE=2 /usr/bin/steam %U
and let us know what happens.Oh, and also there was
Exec=/usr/bin/steam %U
at the beginning under the[Desktop Entry]
section that I added your command to to make it look like thisExec=GDK_SCALE=2 /usr/bin/steam %U
and it still didn't work. Also, there are two steam apps, native and just plain steam inetc/usr/share/applications
. I have two steams in my apps menu, steam(runtime) and native. It's so damn confusing :/you'd need to set the environment variables, that exec command is trying to run a program named GDK_SCALE, instead it should be like Exec=/usr/bin/env GDK_SCALE...
the two steam options are to choose between using the systems provided libraries and the ones that ship with steam, I recommend using the steam runtime rather than native
Changed
Exec=/usr/bin/steam-runtime %U
toExec=usr/bin/env GDK_SCALE=2
and still nothing changedyou need the whole line to be like
Exec=/usr/bin/env GDK_SCALE=2 /usr/bin/steam %U
I was just being lazy as I was on mobile at the time
/usr/bin/steam should be a link to /usr/bin/steam-runtime aswell