Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Start Minimized on Boot" GUI option is missing #5806

Open
Yowlen opened this issue Oct 1, 2018 · 57 comments
Open

"Start Minimized on Boot" GUI option is missing #5806

Yowlen opened this issue Oct 1, 2018 · 57 comments

Comments

@Yowlen
Copy link

Yowlen commented Oct 1, 2018

Your system information

  • Steam client version (build number or date): Oct 1, 2018
  • Distribution (e.g. Ubuntu): Xubuntu 18.04
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

When booting, Steam starts up in the window, with no option in the Settings to start minimized. I could've sworn Steam used to behave this way at one point in Linux and I know it still behaves that way in Windows, but I can't for the life of me figure out why this functionality was removed.

The only possible explanation I can think of on my end is that I had to remove the Status Notifier Plugin on my panel due to crashes relating to a bug in another app, forcing the other app & Steam to use the legacy Notification Plugin stuff. But Steam minimizes to the Notification tray icon just fine, so I don't see why this option would not be present. Unfortunately, I can't test this without uninstalling the other app, and I can't really do that right now.

Steps for reproducing this issue:

  1. Install Steam and set it up via the additional installer.
  2. (Maybe remove the Status Notifier Plugin from the panel?)
  3. Reboot.
@kisak-valve
Copy link
Member

Hello @Yowlen, running steam -silent should give this behavior. Adjusting the Exec= line of ~/.config/autostart/steam.desktop to end with -silent should also give that behavior when Steam starts with the user session.

@Yowlen
Copy link
Author

Yowlen commented Oct 2, 2018

Okay, that works, but the functionality should still match the Windows client. The Windows client has this option in the GUI, so the Linux one should too.

@Yowlen
Copy link
Author

Yowlen commented Oct 2, 2018

Okay. I take it back. It worked for literally one reboot. Steam actually reset the ~/.config/autostart/steam.desktop launcher when it started up. I'd have to put the option back in every time before shutting down the computer for this to work, so this is not an effective workaround.

@kisak-valve
Copy link
Member

Can you try adjusting /usr/share/applications/steam.desktop instead?

@Yowlen
Copy link
Author

Yowlen commented Oct 7, 2018

I edited the config one again just to see what would happen and it seems to be sticking now. I think the other one had to do with an issue I was experiencing with a malfunctioning game which prevented me from closing Steam, forcing me to reboot without letting Steam shut down properly. I guess the crash recovery routine resets everything - including the startup thing.

So the first workaround does work, but this still needs to be put as a proper option within the GUI.

@sorsasampo
Copy link

@kisak-valve:

Hello @Yowlen, running steam -silent should give this behavior. Adjusting the Exec= line of ~/.config/autostart/steam.desktop to end with -silent should also give that behavior when Steam starts with the user session.

This is what I do, and I have the file in version control. But Steam keeps overwriting it:

-Exec=/usr/games/steam -silent %U                                       
+Exec=/usr/games/steam %U

/usr/share/applications/steam.desktop is not the right place to modify for user-specific configuration, either.

@kisak-valve:

  1. Steam should stop messing with the Exec line of ~/.config/autostart/Steam.desktop
  2. ... with the exception of adding/removing -silent, which should have an option in the GUI as @Yowlen pointed out.

@Yowlen
Copy link
Author

Yowlen commented Dec 12, 2018

Just to be clear, I figured out why it resets. Whenever a client update is released, the ~/.config/autostart/Steam.desktop file gets reset. And with me being in the beta program now, it updates every day, sometimes more than once. (I wasn't in the beta program 2 months ago when I wrote those other replies.)

This makes it impossible to use this workaround anymore unless I were to back out of the beta program and essentially forfeit my ability to test other issues I'm currently vested in getting fixed.

@sorsasampo
Copy link

Yeah, either Steam or the user modifies that ~/.config/autostart/Steam.desktop, but clearly not both.

@kisak-valve: another angle for this:

  1. Install /usr/share/applications/steam.desktop pristine as usual.
  2. Allow people to manually copy this to ~/.local/share/applications/steam.desktop to override the system-wide configuration (to add -silent for example). This is the de facto way to overriding .desktop files, and I think for example update-desktop-database considers it.
  3. Make ~/.config/autostart/Steam.desktop just a wrapper that starts steam.desktop, using the overridden file if it exists. I imagine there ought to be an existing command for this, but can't remember one.

Additionally maybe just add a toggleable GUI option that is used as default when no -silent is passed (for completeness, add -no-silent too).

@Yowlen
Copy link
Author

Yowlen commented Dec 13, 2018

There's no reason a user should have to do any of that, though. Any startup options should be toggleable in the GUI, barring an emergency debug command line option or whatever. No hacky workarounds, no command line unless absolutely necessary. We need to start holding Linux's user-friendliness to the same standards as Windows if we ever hope to have Linux not be an outlier in the desktop/laptop OS market. Steam is pushing their Linux-based SteamOS, so I would hope that they understand this necessity.

The Windows version has this option in the GUI, so the Linux version should have it too. That's all there is to it.

@cminnoy
Copy link

cminnoy commented Mar 22, 2019

This still seems to be an open issue, a very much appreciated one! Please add it soon.

@viggy96
Copy link

viggy96 commented Aug 1, 2019

There should be a GUI option to start Steam minimised on startup, just like the Windows client.

@Yowlen
Copy link
Author

Yowlen commented Aug 1, 2019

Which is why this issue is still open. It's not that hard to add, either. They would only need to add logic to the autostart shortcut creation subroutine to add the -silent switch to it if the GUI option is checked, or remove it if it's not.

I have no idea how to do GUI stuff, but even with my own limited skillset, I can make a bash script that can toggle this at will, so unless the GUI change is really that hard, or there's another piece of Steam's code that's getting in the way somewhere, it's no more than a 5 minute fix.

@Yowlen Yowlen changed the title Start Minimized option is missing "Start Minimized on Boot" GUI option is missing Aug 1, 2019
@viggy96
Copy link

viggy96 commented Aug 1, 2019

Yeah, its pretty annoying to have to edit the ~/.config/autostart/steam.desktop file every time Steam updates to add the -silent flag. The Linux GUI should have the same options as the Windows one, especially simple features like this.

@viggy96
Copy link

viggy96 commented Aug 8, 2019

Is there any motion on this issue?

@viggy96
Copy link

viggy96 commented Aug 9, 2019

Is there any movement on this issue?

@TriMoon
Copy link

TriMoon commented Aug 11, 2019

In case steam developers stay LAZY to add this, one might consider creating a CRON job that runs every min to check and add the option back to the USER CONFIG desktop file...

That cronjob could run a script that uses grep to check for the option and sed to modify it inline if needed 😉

@cddouma
Copy link

cddouma commented Jan 2, 2020

Thanks for the suggestions how to work around this issue. Let me share the non-interactive command to apply the workaround (as suggested by @TriMoon).
sed -i '/Exec/ { /-silent/! s/steam\>/steam -silent/ }' ~/.config/autostart/steam.desktop
Make this into a cronjob or a script until the steam settings GUI provide support for this.

@cminnoy
Copy link

cminnoy commented Jan 28, 2020

I want't to add to this that I have been monitoring the power consumption of my NVIDIA graphics card. When Steam is NOT minimized the card consumes about 31 Watt (as measured by the driver) and the clocks stay very active. When Steam minimizes power goes down to 8 Watt and the clock frequency drops to 400 Mhz on my card. To conclude, while you are working on your desktop it is best to keep Steam minimized to the tray on not have the window open.
But it clearly indicates that the Steam client is doing something which it ain't supposed to do. There is no reason why it should consume that amount of power from the GPU. As a side note, BigPicture mode also consumes a lot of power even when you don't interact with the screen.

@TriMoon
Copy link

TriMoon commented Jan 28, 2020

@cminnoy That's because it has a browser window process active when shown, which ofcourse has javascript running...
More reason to start it minimized on startup 😉

@cminnoy
Copy link

cminnoy commented Jan 28, 2020 via email

@bjoern-tantau
Copy link

Just to be clear, I figured out why it resets. Whenever a client update is released, the ~/.config/autostart/Steam.desktop file gets reset. And with me being in the beta program now, it updates every day, sometimes more than once. (I wasn't in the beta program 2 months ago when I wrote those other replies.)

This makes it impossible to use this workaround anymore unless I were to back out of the beta program and essentially forfeit my ability to test other issues I'm currently vested in getting fixed.

Can't you just copy the ~/.config/autostart/steam.desktop file to ~/.config/autostart/steam-at.desktop or something similar and not use the GUI as a workaround? This should stop the file from being overwritten with every update.

@Yowlen
Copy link
Author

Yowlen commented Feb 7, 2020

Why would I not use the GUI? I can't install new games from Firefox, and updating to the latest GloriousEggroll Proton version on each new release so that music and stuff works in Warframe (among other things that get messed up due to official Proton versions not compiling FAudio with ffmpeg support) requires going into the GUI to change it.

There's a multitude of reasons to want to use the GUI but not have it pop up when you boot up the system, so that workaround is likely only gonna work for a select few people.

We need proper "Start Minimized on Boot" support, including a GUI checkbox. There's no reason the Linux version shouldn't have the same features as the Windows version.

@bjoern-tantau
Copy link

I meant, not use the GUI to set Steam to start on boot minimized. As a workaround. Until Valve has fixed this.
Of course you should use the GUI for everything else.

@Yowlen
Copy link
Author

Yowlen commented Feb 7, 2020

But that's the whole problem. There's no GUI option for any of this in the first place. Adding the -silent flag has to be done manually.

And honestly, devs that make Linux apps have a bad habit of taking any "workarounds" that actually work and making it the official "solution" just to avoid having to implement it properly in their own code.

So leave the workarounds out of it. I don't wanna risk another bug report getting closed because the workaround was deemed "good enough". I've had more than enough of that from the DXVK devs, among others.

Edit: Just to be clear, I'm not saying Steam's Linux devs are like that. I'm just saying I don't wanna risk it.

@Lycanite
Copy link

It's a hack but setting the .desktop owner to root might do the job making it non-writable.

@qaron84
Copy link

qaron84 commented May 5, 2020

I repeat, THIS IS A HACK but it fixed the problem for me!! :D

  1. add the option inside the file /usr/share/applications/steam.desktop
  2. open steam>settings disable start at boot
  3. re-enable start at boot and check the file ~/.config/autostart/Steam.desktop

in my system it adds the options from /usr/share/applications/steam.desktop file and it keeps this setting for every boot after that consistently

@Yowlen
Copy link
Author

Yowlen commented May 5, 2020

I will say that adding the -silent option to the ~/.config/autostart/steam.desktop file, then making the file read-only to the user does work as a workaround, and is easier to accomplish than the rest of the workarounds that have been suggested, and unlike them, this doesn't require root to perform since chmod (or the GUI file manager equivalent) doesn't need root to work on the user's own files.

Still need the GUI option, ofc, but this has been working for me for a month or two now.

@ghost
Copy link

ghost commented Jul 12, 2020

Disable the option within Steam "Run when my computer starts" then manually add the -silent option into a manually-made new/copied autostart.

Yes, Steam will also execute if you make a manual autostart and as far as I see, will not rewrite it if the option is disabled to continually monitor and remake it within Steam.

You can also be extra sure and just give the autostart a different name, like I did. I don't make sense of how Steam would detect such a 'rogue' autostart with a different name and delete it.

@karypid
Copy link

karypid commented Dec 6, 2020

This is every annoying. It should just be added to the code rather than asking Linux users to manually run periodic jobs that update the desktop shortcut. There should be a preference that gets saved to disk, as well as code that reads it at startup and decides whether to show the main window or not.

@viggy96
Copy link

viggy96 commented Dec 13, 2020

Will this option ever be added to the Linux client? Its simple enough to add, the "-silent" argument just has to be included in the steam.desktop file when the option is enabled.

@inviktus
Copy link

I repeat, THIS IS A HACK but it fixed the problem for me!! :D

  1. add the option inside the file /usr/share/applications/steam.desktop
  2. open steam>settings disable start at boot
  3. re-enable start at boot and check the file ~/.config/autostart/Steam.desktop

in my system it adds the options from /usr/share/applications/steam.desktop file and it keeps this setting for every boot after that consistently

Works - Will have to wait and see if it persists after updates which it seems it should.

Shameful that this is still an issue in January 2021, years after it was initially raised given how simple of a fix it must be to implement.

@jsmithdev
Copy link

jsmithdev commented Mar 10, 2021

using that hack as well, thanks qaron84, but it will be nice when there's a checkbox to add -silent

@qaron84
Copy link

qaron84 commented Mar 11, 2021

  1. disable the autostart steam when system boots from the steam client
2. create a file inside /home/user/.config/autostart/SteamSilent.desktop with the following contents:

[Desktop Entry]
Name=Steam (Runtime)
Comment=Application for managing and playing games on Steam
Comment[pt_BR]=Aplicativo para jogar e gerenciar jogos no Steam
Comment[bg]=Приложение за ръководене и пускане на игри в Steam
Comment[cs]=Aplikace pro spravování a hraní her ve službě Steam
Comment[da]=Applikation til at håndtere og spille spil på Steam
Comment[nl]=Applicatie voor het beheer en het spelen van games op Steam
Comment[fi]=Steamin pelien hallintaan ja pelaamiseen tarkoitettu sovellus
Comment[fr]=Application de gestion et d'utilisation des jeux sur Steam
Comment[de]=Anwendung zum Verwalten und Spielen von Spielen auf Steam
Comment[el]=Εφαρμογή διαχείρισης παιχνιδιών στο Steam
Comment[hu]=Alkalmazás a Steames játékok futtatásához és kezeléséhez
Comment[it]=Applicazione per la gestione e l'esecuzione di giochi su Steam
Comment[ja]=Steam 上でゲームを管理&プレイするためのアプリケーション
Comment[ko]=Steam에 있는 게임을 관리하고 플레이할 수 있는 응용 프로그램
Comment[no]=Program for å administrere og spille spill på Steam
Comment[pt_PT]=Aplicação para organizar e executar jogos no Steam
Comment[pl]=Aplikacja do zarządzania i uruchamiania gier na platformie Steam
Comment[ro]=Aplicație pentru administrarea și jucatul jocurilor pe Steam
Comment[ru]=Приложение для игр и управления играми в Steam
Comment[es]=Aplicación para administrar y ejecutar juegos en Steam
Comment[sv]=Ett program för att hantera samt spela spel på Steam
Comment[zh_CN]=管理和进行 Steam 游戏的应用程序
Comment[zh_TW]=管理並執行 Steam 遊戲的應用程式
Comment[th]=โปรแกรมสำหรับจัดการและเล่นเกมบน Steam
Comment[tr]=Steam üzerinden oyun oynama ve düzenleme uygulaması
Comment[uk]=Програма для керування іграми та запуску ігор у Steam
Comment[vi]=Ứng dụng để quản lý và chơi trò chơi trên Steam
Exec=/usr/bin/steam-runtime %U -silent
Icon=steam
Terminal=false
Type=Application
Categories=Network;FileTransfer;Game;
MimeType=x-scheme-handler/steam;
Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;

[Desktop Action Store]
Name=Store
Name[pt_BR]=Loja
Name[bg]=Магазин
Name[cs]=Obchod
Name[da]=Butik
Name[nl]=Winkel
Name[fi]=Kauppa
Name[fr]=Magasin
Name[de]=Shop
Name[el]=ΚΑΤΑΣΤΗΜΑ
Name[hu]=Áruház
Name[it]=Negozio
Name[ja]=ストア
Name[ko]=상점
Name[no]=Butikk
Name[pt_PT]=Loja
Name[pl]=Sklep
Name[ro]=Magazin
Name[ru]=Магазин
Name[es]=Tienda
Name[sv]=Butik
Name[zh_CN]=商店
Name[zh_TW]=商店
Name[th]=ร้านค้า
Name[tr]=Mağaza
Name[uk]=Крамниця
Name[vi]=Cửa hàng
Exec=steam steam://store

[Desktop Action Community]
Name=Community
Name[pt_BR]=Comunidade
Name[bg]=Общност
Name[cs]=Komunita
Name[da]=Fællesskab
Name[nl]=Community
Name[fi]=Yhteisö
Name[fr]=Communauté
Name[de]=Community
Name[el]=Κοινότητα
Name[hu]=Közösség
Name[it]=Comunità
Name[ja]=コミュニティ
Name[ko]=커뮤니티
Name[no]=Samfunn
Name[pt_PT]=Comunidade
Name[pl]=Społeczność
Name[ro]=Comunitate
Name[ru]=Сообщество
Name[es]=Comunidad
Name[sv]=Gemenskap
Name[zh_CN]=社区
Name[zh_TW]=社群
Name[th]=ชุมชน
Name[tr]=Topluluk
Name[uk]=Спільнота
Name[vi]=Cộng đồng
Exec=steam steam://url/SteamIDControlPage

[Desktop Action Library]
Name=Library
Name[pt_BR]=Biblioteca
Name[bg]=Библиотека
Name[cs]=Knihovna
Name[da]=Bibliotek
Name[nl]=Bibliotheek
Name[fi]=Kokoelma
Name[fr]=Bibliothèque
Name[de]=Bibliothek
Name[el]=Συλλογή
Name[hu]=Könyvtár
Name[it]=Libreria
Name[ja]=ライブラリ
Name[ko]=라이브러리
Name[no]=Bibliotek
Name[pt_PT]=Biblioteca
Name[pl]=Biblioteka
Name[ro]=Colecţie
Name[ru]=Библиотека
Name[es]=Biblioteca
Name[sv]=Bibliotek
Name[zh_CN]=库
Name[zh_TW]=收藏庫
Name[th]=คลัง
Name[tr]=Kütüphane
Name[uk]=Бібліотека
Name[vi]=Thư viện
Exec=steam steam://open/games

[Desktop Action Servers]
Name=Servers
Name[pt_BR]=Servidores
Name[bg]=Сървъри
Name[cs]=Servery
Name[da]=Servere
Name[nl]=Servers
Name[fi]=Palvelimet
Name[fr]=Serveurs
Name[de]=Server
Name[el]=Διακομιστές
Name[hu]=Szerverek
Name[it]=Server
Name[ja]=サーバー
Name[ko]=서버
Name[no]=Tjenere
Name[pt_PT]=Servidores
Name[pl]=Serwery
Name[ro]=Servere
Name[ru]=Серверы
Name[es]=Servidores
Name[sv]=Servrar
Name[zh_CN]=服务器
Name[zh_TW]=伺服器
Name[th]=เซิร์ฟเวอร์
Name[tr]=Sunucular
Name[uk]=Сервери
Name[vi]=Máy chủ
Exec=steam steam://open/servers

[Desktop Action Screenshots]
Name=Screenshots
Name[pt_BR]=Capturas de tela
Name[bg]=Снимки
Name[cs]=Snímky obrazovky
Name[da]=Skærmbilleder
Name[nl]=Screenshots
Name[fi]=Kuvankaappaukset
Name[fr]=Captures d'écran
Name[de]=Screenshots
Name[el]=Φωτογραφίες
Name[hu]=Képernyőmentések
Name[it]=Screenshot
Name[ja]=スクリーンショット
Name[ko]=스크린샷
Name[no]=Skjermbilder
Name[pt_PT]=Capturas de ecrã
Name[pl]=Zrzuty ekranu
Name[ro]=Capturi de ecran
Name[ru]=Скриншоты
Name[es]=Capturas
Name[sv]=Skärmdumpar
Name[zh_CN]=截图
Name[zh_TW]=螢幕擷圖
Name[th]=ภาพหน้าจอ
Name[tr]=Ekran Görüntüleri
Name[uk]=Скріншоти
Name[vi]=Ảnh chụp
Exec=steam steam://open/screenshots

[Desktop Action News]
Name=News
Name[pt_BR]=Notícias
Name[bg]=Новини
Name[cs]=Zprávy
Name[da]=Nyheder
Name[nl]=Nieuws
Name[fi]=Uutiset
Name[fr]=Actualités
Name[de]=Neuigkeiten
Name[el]=Νέα
Name[hu]=Hírek
Name[it]=Notizie
Name[ja]=ニュース
Name[ko]=뉴스
Name[no]=Nyheter
Name[pt_PT]=Novidades
Name[pl]=Aktualności
Name[ro]=Știri
Name[ru]=Новости
Name[es]=Noticias
Name[sv]=Nyheter
Name[zh_CN]=新闻
Name[zh_TW]=新聞
Name[th]=ข่าวสาร
Name[tr]=Haberler
Name[uk]=Новини
Name[vi]=Tin tức
Exec=steam steam://open/news

[Desktop Action Settings]
Name=Settings
Name[pt_BR]=Configurações
Name[bg]=Настройки
Name[cs]=Nastavení
Name[da]=Indstillinger
Name[nl]=Instellingen
Name[fi]=Asetukset
Name[fr]=Paramètres
Name[de]=Einstellungen
Name[el]=Ρυθμίσεις
Name[hu]=Beállítások
Name[it]=Impostazioni
Name[ja]=設定
Name[ko]=설정
Name[no]=Innstillinger
Name[pt_PT]=Definições
Name[pl]=Ustawienia
Name[ro]=Setări
Name[ru]=Настройки
Name[es]=Parámetros
Name[sv]=Inställningar
Name[zh_CN]=设置
Name[zh_TW]=設定
Name[th]=การตั้งค่า
Name[tr]=Ayarlar
Name[uk]=Налаштування
Name[vi]=Thiết lập
Exec=steam steam://open/settings

[Desktop Action BigPicture]
Name=Big Picture
Exec=steam steam://open/bigpicture

[Desktop Action Friends]
Name=Friends
Name[pt_BR]=Amigos
Name[bg]=Приятели
Name[cs]=Přátelé
Name[da]=Venner
Name[nl]=Vrienden
Name[fi]=Kaverit
Name[fr]=Amis
Name[de]=Freunde
Name[el]=Φίλοι
Name[hu]=Barátok
Name[it]=Amici
Name[ja]=フレンド
Name[ko]=친구
Name[no]=Venner
Name[pt_PT]=Amigos
Name[pl]=Znajomi
Name[ro]=Prieteni
Name[ru]=Друзья
Name[es]=Amigos
Name[sv]=Vänner
Name[zh_CN]=好友
Name[zh_TW]=好友
Name[th]=เพื่อน
Name[tr]=Arkadaşlar
Name[uk]=Друзі
Name[vi]=Bạn bè
Exec=steam steam://open/friends

  1. reboot system... now steam is always opening in silent mode!!!!!!!!!!!!!

@K4LCIFER
Copy link

K4LCIFER commented Jul 7, 2021

For me, adding the -silent flag to ~/.config/autostart/steam.desktop used to work, but now it no longer does. Even with the -silent flag added, steam still shows up on boot. Not sure what's going on with that.

@ghost
Copy link

ghost commented Jul 7, 2021

For me, adding the -silent flag to ~/.config/autostart/steam.desktop used to work, but now it no longer does. Even with the -silent flag added, steam still shows up on boot. Not sure what's going on with that.

Works for me on Arch, the key is Line 30 in qaron84's contents of SteamSilent.desktop:

Exec=/usr/bin/steam-runtime %U -silent

Directly having that is the only change needed in the original steam.desktop file. Make sure it is not --silent with two hyphens. I tried that as a typo and it does not work.

@Yowlen
Copy link
Author

Yowlen commented Jul 7, 2021

Also worth re-mentioning that Steam can potentially overwrite ~/.config/autostart/steam.desktop on updates, so you may need to set it to read-only in order to keep Steam from removing the -silent argument. (It's worked for me, at least, since finding out it was an option checks the clock over a year ago.)

But again, all of this could be solved once and for all if Steam simply added a GUI option to set the flag for us. 3 years without such a simple fix for a feature parity issue is a very strange thing to see. If people up above can write scripts for it, it can't be that much harder to implement it into Steam itself. If Steam for Windows doesn't bother us with the window on bootup, neither should Steam for Linux. >.>

@hoxu
Copy link

hoxu commented Jul 10, 2021

@Furvy

They don't fix these issues, I believe, because they are looking for new programmers to contribute to the free code rather than have a bunch of non-contributors demand essentially free customer service.

Ah, if only we got off our butts, learn programming and do it ourselves, eh? Maybe someday I will...

The Steam client is not open source and Valve does not take PRs to improve it. This repository is only for tracking issues, and contains no source code.

Steam is not exactly free either; Valve gets 30 % cut of sales, which can be used to support and develop the software that gets them paying customers in the first place.

This issue has a lot of subscribers, so let's stay on topic and focus on workarounds to this issue until it's properly fixed.


The UI option "[x] Run Steam when my computer starts" creates ~/.config/autostart/Steam.desktop, so to prevent it getting overwritten by Steam, a simple workaround is to:

  1. cp ~/.config/autostart/Steam.desktop ~/.config/autostart/Steam_custom.desktop.
  2. Change the Exec line of Steam_custom.desktop to: Exec=/usr/games/steam -silent %U
  3. Uncheck Run Steam when my computer starts.

@ChaosBlades
Copy link

Why is this still an issue? It seems like this would take the absolute minimum effort for Valve to resolve. It has been 3 years!

@DocBretti
Copy link

DocBretti commented Dec 8, 2021

@ kisak-valve
This works like a charm, thnx.

@ghost
Copy link

ghost commented Dec 22, 2021

Add the GUI option!

@ghost
Copy link

ghost commented Dec 22, 2021

There's a start steam in big picture mode option, but no start steam minimized option. What the heck?

@laichiaheng
Copy link

It's 2022 now, the problem still exists.

@pkly
Copy link

pkly commented Mar 5, 2022

Yes, please add a gui option for this, or at least a config parameter we can set somewhere without modifying the shortcut.

@ChaosBlades
Copy link

People have suggested a cron job but instead I just created a script (if you want to call these two lines a script) and added that to my startup processes so that steam can't tell there is an entry for it.

#!/bin/bash
steam -silent

I named it steam_silent.sh, made it executable, then added it to my Startup Application Preferences. Now Steam does not magically mark 'Run Steam when my computer starts' in settings upon detecting an entry for the command 'steam'.

Here you go Valve, I submit these two lines of code as a PR.

@sol8712
Copy link

sol8712 commented May 2, 2022

Replying to #5806 (comment)

This PR may also fix several other bugs related to starting on boot, and streamline the process.

@howels
Copy link

howels commented Jul 6, 2022

Please fix this. It's such a trivial change and would be so pleasant for the users. Incorporate the -silent argument into the GUI options so it can persist please.

Tired of huge steam window popping up every boot. Nice to have it running in the background but I don't want to see it until I got to launch a game.

@MattSturgeon
Copy link

MattSturgeon commented Sep 3, 2022

Also worth re-mentioning that Steam can potentially overwrite ~/.config/autostart/steam.desktop on updates, so you may need to set it to read-only in order to keep Steam from removing the -silent argument.

Can also just use a different name, e.g. steam_silent.desktop but probably best to not have the autostart box ticked in Steam's preferences or you'll end up with a duplicate.

I named it steam_silent.sh, made it executable, then added it to my Startup Application Preferences.

This is effectively the same as creating your own .desktop file in ~/.config/autostart (that's what your Startup Application Preferences does under the hood). Just set Exec=steam -silent. As long as the file isn't named steam.desktop, steam won't edit it.

You could achieve the same thing without a separate script by adding steam -silent directly to your Startup Applications, no script required. (Assuming Startup Applications doesn't decide to name the desktop entry steam.desktop)

@hueldoeu
Copy link

UNCHECK "Run Steam when my computer starts" in the settings and put a shortcut of steam with -nochatui -nofriendsui -silent in run => shell:startup

@csolisr
Copy link

csolisr commented Oct 25, 2022

UNCHECK "Run Steam when my computer starts" in the settings and put a shortcut of steam with -nochatui -nofriendsui -silent in run => shell:startup

Oddly enough, Steam still overwrites the new shortcut anyway. I'm seriously considering to mark it read-only but who knows what might break if I do

@hueldoeu
Copy link

UNCHECK "Run Steam when my computer starts" in the settings and put a shortcut of steam with -nochatui -nofriendsui -silent in run => shell:startup

Oddly enough, Steam still overwrites the new shortcut anyway. I'm seriously considering to mark it read-only but who knows what might break if I do

i haven't been fooled by an overwriting steam, who replaces my shortcut, so far.

@Yowlen
Copy link
Author

Yowlen commented Oct 25, 2022

I've had mine marked as read-only since it was first suggested by someone a few months after I opened this issue. Specifically, I enable the autostart option within Steam, then manually add the -silent parameter, and then mark the file read-only.

I haven't run into any problems in the 3+ years since doing that. Steam doesn't overwrite it or anything, and it functions as expected. I consider it probably the easiest workaround in the bunch or at least one of the easiest.

I really wish Steam would fix this themselves, but at least I haven't needed to bother with it for most of the time since I opened this issue.

@olejon
Copy link

olejon commented Apr 21, 2023

I've known about this option, and know all about the Linux filesystem, the prioritizing of folders etc of XDG. However, why does Steam requires the window to be the active window to start Big Picture Mode using the Guide button on my Logitech, that Steam considers Xbox controllers although the layout is more PS, just logical as 360s are very well supported.

Any way to use -silent and having a controller being able to launch Big Picture Mode. I mean BPM has improved A LOT now.

@Kommynct
Copy link

Kommynct commented May 1, 2023

the silent flag no longer seems to do anything at all with the latest release.

@kisak-valve
Copy link
Member

Hello @Kommynct, you're looking for #9382 instead of this issue report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests