Hi all,
I have a 4k monitor and the steam app is very tiny. I have found out that I can fix it by running the app in the terminal with steam -forcedesktopscaling 2, but it is getting tiring launching it through the terminal. Is there any way I can change something in the app itself and make it launch with that command?
KDE Plasma on endeavour OS is what I'm running
Tried going into the .desktop file to add the command somewhere in the "exec", but failed.
Could someone please help?
Thank you
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 this Exec=GDK_SCALE=2 /usr/bin/steam %U and it still didn't work. Also, there are two steam apps, native and just plain steam in etc/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
Thank you.
Sorry, I forgot to mention that I just installed it from the repos.
As for the exec command, it is a bit confusing because there are more than just one. There is an exec command under every catagory.
For example, there is a section called [Desktop Action BigPicture] that has an exec line Exec=steam steam://open/bigpicture. There are more than one section, and they all have an exec line. I tried the line you provided at the very end of the steam.desktop and steam-native.desktop and still got nothing. So not sure honestly
The other sections are different actions that appear in the context menu of the steam desktop icon, so that you can launch steam straight into big picture for example. If you just launch steam, just the [Desktop Entry] section will execute.
While in my experience the answer you replied to works, to get the same behavior as what you got in the terminal, you should edit the exec line to something like steam --forcedesktopscaling=2 %u.
If you use the separate actions, you should edit it there as well, but those won't have any effect on just launching steam.
I use openSUSE and Plasma. I can just right click the start menu thing, and click "Edit Applications". Fro m there, I find Steam (Games -> Steam). And you can edit the command in the "Program" box.
I did something similar to get Steam to run in my GPU, since it was killing my CPU performance by running on the integrated GPU. It worked fine for me!
So, I created this file. I assume it needs to be set as “executable”? Did that and put in the path you suggested. Now what? Launched steam, still the same. Launch the file itself and nothing happened. :/