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

  • penquin@lemmy.kde.socialOP
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    10 months ago

    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 :/

    • Still@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      10 months ago

      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

        • Still@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          10 months ago

          you 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