Skip to content

Close to Tray #1025

Closed
Closed

Description

@kevincox

There have been similar reports (#11 and #270) but they have been closed because they were talking about adding a system tray icon which already exists. So to everyone who is reading this without a tray icon don't comment as it will get closed for the same reason.

Currently, when pressing the close or minimize buttons in the main steam window it causes steam to minimize. It would be nice if the minimize button retained it's current behavior while the close button closed the main window but kept it running in the tray.

Currently the only way to have steam running in the tray is by launching it as steam --applaunch $id because the window is never opened. Of course, once you open the window you have no way to close it.

I understand if this is a low priority enhancement request because it does not affect Unity but it would be a nice feature to eventually have implemented for traditional desktops. It is really annoying to have the steam window taking up space in my panel when I am not actively using it and am just keeping it open to receive notifications.

Activity

  1. gdrewb-valve commented on Jan 29, 2013

    @gdrewb-valve
    Contributor

    When the Steam window is minimized where does it go? Does your window manager not support some form of display of minimized windows? The thinking behind the Steam UI is that there's an expectation minimized windows are tracked and available to the user in some way, plus then there's the app indicator icon.

  2. kevincox commented on Jan 29, 2013

    @kevincox
    Author

    It goes to my panel.

    The issue is that I don't want it taking up space there when I hit the close button. I want the window itself to be closed (while leaving the systray icon in my notification area).

  3. Majkl578 commented on Jan 29, 2013

    @Majkl578

    @gdrewb-valve: On Gnome Shell, the window minimizes (disappears), but it is still present in the overlay as an regularly opened window, same for alt+tabbing.

  4. gdrewb-valve commented on Jan 29, 2013

    @gdrewb-valve
    Contributor

    Ah, I see, you don't want even the minimized form of the window. We deliberately switched the close box to minimize because of the number of people where the app indicator didn't work. If the window actually closes and there is no app indicator there's no UI at all for Steam even though it's still running, so we switched to minimizing. Unfortunately there's no way to know if app indicators are working (presence/absence is not sufficient as even if they're present they do not always work). Our hope is that the problems there will get worked out and then we can remove our workarounds and rely on the app indicator, at which point closing the window will close it.

  5. ghost
    self-assigned this
    on Jan 29, 2013
  6. kevincox commented on Jan 29, 2013

    @kevincox
    Author

    EDIT: Posted before I saw gdrewb-vavle's reply.

    There are three states a window can be in open, minimized or shaded. Open, is as you would expect. The window is on the screen (but may be hidden below other windows). Minimized means the window exists but is not currently on the screen. And shaded is generally a window manager feature for just displaying a titlebar on the screen. All three window types are displayed in the "window buttons" type feature of a panel (a list of all windows).

    What I am looking for is when I click the 'X' in the steam UI for the window actually close so that it doesn't appear in this panel.

    I probably went more in depth then necessary but I was having trouble articulating.

  7. kevincox commented on Jan 29, 2013

    @kevincox
    Author

    I see. That makes perfect sense. Is there any way that you could provide an option to make close behave properly? Even if I had to edit a config file or set an environment variable.

  8. gdrewb-valve commented on Jan 29, 2013

    @gdrewb-valve
    Contributor

    OK, in the next client if you have STEAM_FRAME_FORCE_CLOSE=1 in your environment the close box will close the window instead of minimize. This is also hopefully temporary as we want to get rid of all of these oddities once we can rely on app inidicators.

  9. kevincox commented on Jan 29, 2013

    @kevincox
    Author

    Thanks, that is awesome. I already have it set in my shortcut :D I guess this is closed then unless it happens not to work.

  10. kevincox commented on Jan 31, 2013

    @kevincox
    Author

    I'm just confirming that this works! Thanks for all of the hard work.

  11. sirsquidfly commented on Jan 31, 2013

    @sirsquidfly

    Hmm where do i pop "STEAM_FRAME_FORCE_CLOSE=1" as adding it to the end of my shortcut so it reads:
    /usr/bin/steam %U STEAM_FRAME_FORCE_CLOSE=1
    Doesn't work for me.

  12. kevincox commented on Jan 31, 2013

    @kevincox
    Author

    It is an environment variable so you have to set it one of the following ways.

    STEAM_FRAME_FORCE_CLOSE=1 steam
    

    but this might not work for shortcuts. You can work around this by calling the shell directly.

    sh -c 'STEAM_FRAME_FORCE_CLOSE=1 steam'
    

    Or you can set it in your environment.

    export STEAM_FRAME_FORCE_CLOSE=1
    steam
    

    Whatever works for you.

  13. LukasThyWalls commented on Feb 8, 2013

    @LukasThyWalls

    With the last update, in KDE, the systray icon are fully showing with image and all, but itself can't close to tray. If i opening Steam with STEAM_FRAME_FORCE_CLOSE=1 steam do it, but when i click (one, twice or all times i do) in the Steam tray icon it doesn't do anything, only do something if i open the menu with the secondary button and choose the option.

    The questions:

    • When STEAM_FRAME_FORCE_CLOSE=1 steam or a proper fix will be added to Steam automaticly?
    • In your case, clicking only in the systray icon do anything? will it be fixed?

    I could create a new issue, but i think to do the questions here first and do it later if it's needed

  14. 86 remaining items

  15. Hi-Angel commented on Jan 28, 2017

    @Hi-Angel

    @sharifzadesina wait, isn't this whole bugreport, that said to be fixed, was about exiting upon pressing "X button"?

  16. Hi-Angel commented on Jan 28, 2017

    @Hi-Angel

    Anyway, I have to say steam behavior seems to be broken, beacuse there's no way to minimize it to tray at all. Upon closing window it exits. Upon pressing the tray icon it shows a menu. The menu have also no an option to minimize to tray.

  17. tengwar commented on Jan 28, 2017

    @tengwar

    @Hi-Angel It should close to tray when you click the main window's "x" button. If that doesn't work then something is wrong. Is your steam fully updated? What DE are you using?

  18. Hi-Angel commented on Jan 28, 2017

    @Hi-Angel

    @tengwar I have neither DE nor a bar with "x" button upon windows — I'm using a tiling WM, i3. To close steam I simply press the closing hotkey.

  19. nmschulte commented on Jan 28, 2017

    @nmschulte

    @Hi-Angel, using i3's kill command and the latest Steam beta, Steam "closes" to the tray (in i3bar) (as does clicking the "X" button). Left or right clicking on the tray icon opens the menu. Choosing "exit" from that menu or Steam's main menu exists steam.

  20. Hi-Angel commented on Jan 28, 2017

    @Hi-Angel

    @nmschulte weird, for me i3's kill command closes steam completely. Upon opening from terminal, last steam words after I pressed the hotkey:

    Refresh rate: 1
    Refresh rate: 1                                                                                             
    Refresh rate: 1                                                                                             
    Refresh rate: 1                                                                                             
    Refresh rate: 1                                                                                             
    Refresh rate: 1                                                                                             
    Refresh rate: 1                                                                                             
    Refresh rate: 1                                                                                             
    [2017-01-28 20:55:12] Startup - updater built Jan 19 2017 01:22:13                                          
    [2017-01-28 20:55:13] Проверка установки...                                                                 
    [2017-01-28 20:55:13] Verification complete                                                                 
    Unable to remove /home/constantine/.local/share/Steam/CONFIG/SteamAppData.vdf!                              
    																											
    [2017-01-28 20:55:28] Shutdown                                                                              
    

    i3 version 4.13 here.

  21. nmschulte commented on Jan 28, 2017

    @nmschulte

    I would open a new bug report w/ your details, then. I am running on Debian (unstable) with a build of the latest next of i3.

  22. Hi-Angel commented on Jan 28, 2017

    @Hi-Angel

    @nmschulte nah, I can't. I'm on Archlinux, it's unsupported.

  23. Hi-Angel commented on Jan 28, 2017

    @Hi-Angel

    @nmschulte anyway, could you post output of i3 --version, please?

  24. nmschulte commented on Jan 28, 2017

    @nmschulte

    @Hi-Angel oh, I didn't realize that mattered. 😐 You could try reproducing it on Debian or Ubuntu. ArchLinux is fairly similar, anyway.

    $ i3 --version
    i3 version 4.13-35-gd4066a6c (2017-01-10, branch "next") © 2009 Michael Stapelberg and contributors```
    
  25. Hi-Angel commented on Jan 28, 2017

    @Hi-Angel

    @nmschulte well, having another distro doesn't mean I can't make a generic feature request ;)

  26. nmschulte commented on Jan 28, 2017

    @nmschulte

    @Hi-Angel, brilliant!

  27. ryleestatler commented on May 25, 2026

    @ryleestatler

    This is still an issue on Linux Mint 22.3 - Cinnamon 64-bit

  28. LuigiKraken commented on Jun 5, 2026

    @LuigiKraken

    Steam is one of the most user-respecting platforms in the industry and generous refunds, Proton, the Deck, all of it. Which makes this one missing toggle so much more glaring. Every other application on my Linux desktop closes when I click the close button, because that's what the close button means Those that dont I dont use... Steam is the lone exception, and there isn't even a setting to opt out of it.

    Instead of closing, X minimizes to the tray, and to actually quit I have to dig into a menu or right-click the tray icon. That's an extra deliberate step, every single time, to do the one thing the button I just pressed is universally understood to do. STEAM_FRAME_FORCE_CLOSE=1 is unreliable on the current client, so there is currently no dependable way to get this behavior.

    This isn't a feature request for something complex. It's a single checkbox: "Close button exits Steam." Default it to the current behavior if you must, just give those of us who don't want a background process the choice. Respecting the user means respecting the close button.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions