this post was submitted on 18 Sep 2023
45 points (94.1% liked)
Linux
48216 readers
702 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
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 lineExec=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 honestlyThe 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.
Switched to this
Exec=steam -forcedesktopscaling 2 %U
and it still didn't work. Changed a couple of things there and still nothing. Damn, this is so annoying. Guess I will need to just do it through the terminal and call it a dayI just use in my Exec=
Exec=GDK_SCALE=2 steam
but that may differ in looks from the options you are using
I have a steam-big-ui.desktop that gives me the option to run in big mode, or I run normal steam for small mode.