Hi y’all, I’m on EndeavourOS, wondering if I can get Steam to start minimized/tray. I know about launch commands, but I don’t know where to put them in on Linux. I tried right-clicking the app & going into the Properties, then adding -silent to the Arguments under the Application tab, but that did not do anything.

Help would be appreciated. It is also my first time using Linux.

EDIT: SOLVED by @therealjcdenton@lemmy.zip Thanks, everyone, for the help!

  • therealjcdenton@lemmy.zip
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    22 days ago

    In ~/.config/autostart/steam.desktop look for the line Exec=steam %U and change it to Exec=steam -nochatui -nofriendui -silent %U

    It’ll start up minimized to your system tray

    • kemsat@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      22 days ago

      The line “Exec=steam %U” doesn’t exist in steam.desktop. I did find “Exec=/usr/bin/steam-runtime %U” so I’ll try changing that.

      EDIT: this worked, thank you very much!

  • serpineslair@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    23 days ago

    Which window manager/desktop environment are you using? If you are using a desktop environment is there an application called startup applications or something of the like? I personally use my window manager’s config file to startup applications. EDIT: changed WM to window manager and DE to desktop environment.

    • kemsat@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      23 days ago

      KDE & I’m not sure for window manager, is that Dolphin the file browser?

      • governorkeagan@lemdro.id
        link
        fedilink
        English
        arrow-up
        3
        ·
        23 days ago

        A window manager would be similar to your Desktop Environment - better explanation.

        Since you mentioned that you’re using KDE, there’s an option in system settings called “Autostart”. You can then add Steam to the list of applications (or terminal commands) that start automatically.

        • kemsat@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          22 days ago

          I have Steam starting with the system, I just want it to start minimized or directly to the tray

  • KrapKake@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    23 days ago

    If you have steam installed as a system app then copy the .desktop file from /usr/share/applications/steam.desktop to your /home/yourusername/.local/share/applications. Once you have the .desktop file in local, edit the desktop file and go down to the first Exec= line and and the -silent switch at the end.