- Minimize Spotify Window
- Spotify Minimize To Tray
- Spotify Minimize To Tray Linux
- How To Turn Off Spotify Auto Launch

Hey, the last time I using Spotify was around a years ago on my previous company desktop workstation running Ubuntu 16.06 (As far I remember). Today I installing Spotify to my Fedora 27. Seem minimize to tray when close windows
options are completely missing (Last time it have, but need to configure) from Spotify setting.
I don’t like it work like now.. messy. So as workaround, let use kdocker
to dock Spotify to tray. It available for most distro too (Fedora, Arch, Ubuntu, Debian).
Here some infomation from Fedora repo :
Minimize Spotify Window
Minimize Spotify to the icon tray Submitted by SpotyAtBest on 2015-03-05 09:25 PM. Before the last update, I could minimize Spotify to the icon tray. What happened to that feature? It was perfect for listening to music at work without everyone eyeing my business. The tray is the area of your taskbar on the right side, just left of the clock. If there is no Spotify icon there, click the little triangle and it will show up in the full list, if Spotify is currently running. If you right click on the tray Icon, there should be an option that says 'Hide from taskbar when closed'. I launch the game and it immediately minimizes to the task bar, refusing to run full-screen. I cannot get it to stay full-screen at all, and although I can hear the game in the background it is simply locked to the taskbar. I suspect this is a resolution issue which cannot be fixed without doing something incredibly complex with Steam Cloud. I've tried changing the resolution in the.ini file.
To install kdocker
with Fedora just run these command
or if you using Ubuntu / Debian
Now edit file /usr/share/applications/spotify.desktop
and change the Exec
:
Below is my full spotify.desktop
file, please take note you need to change /usr/share/icons/Papirus/64x64/apps/spotify.svg
with you own path to Spotify icon :
Now close instance of Spotify if already open and launch again via menu then you will notice spotify automatically minimize to taskbar. Double click on icon and kdocker
will open spotify windows menu for you and minimize again if you done or click minimize.
Spotify Minimize To Tray
Nice! That all, see you next round ~
Related Posts
- 06 Jan 2019 »Moving to Gitlab pages
- 02 Nov 2018 »IBMs acquisition of Red Hat
- 09 Oct 2018 »Sync clipboard between remote and host when using VNC on SLES
- 27 Sep 2018 »Generate XML using SQL query with Oracle database
- 25 Sep 2018 »LAMP stack for Fedora
- 10 Sep 2018 »Linux Fedora 28 and Avantree ANC032 wireless headphone
The postings on this site are my own and don't necessarily represent my employer’s positions, strategies or opinions.
Spotify Minimize To Tray Linux

How To Turn Off Spotify Auto Launch
©Robbi Nespu, 2019 — built with Jekyll + Lagom theme
Home | Contact | Archive | Privacy policy
Restore minimized to tray windows to their previous positions after sleep/desktop unlock.
3 discussion posts | Hi. I'm using 2 displayport monitors so my windows move from one monitor to another after resuming from sleep/Unlocking desktop. I stumbled upon these 2 guides https://www.displayfusion.com/Discussions/View/automatically-save-and-restore-window-positions-on-sleepresume/?ID=fa98975e-e4ed-45de-afe0-fafad56c7a83#first and https://www.displayfusion.com/Discussions/View/restoring-windows-to-appropriate-screens-when-docking/?ID=87111264-3633-444a-9cc9-78093bceedab and used them to create triggers to circumvent this behavior: 1. I saved monitor profile. 2. I set system idle trigger to save windows 5 seconds before monitors going to sleep (1755 seconds) 3. I set windows to restore to previosly saved position based on monitor profile change (because when displayport monitor goes to sleep after 1-2 minutes it's effectively goes off and monitor profile changes in windows and when it's waked profile changes back and DF detects it as previously saved) 4. I also set trigger to save windows positions on desktop lock and restore them when desktop is unlocked. Triggers above cause any opened windows to restore their positions perfectly. However there's apps like Discord, Spotify or HWInfo. These apps are closed to tray. And upon clicking on tray icon they're restored to wrong monitor. I tried to create triggers for these specific apps and was succesfull to some degree. Window created trigger don't work but window focused trigger works but not 100% of times probably because all windows cannot be focused by default. So I'm looking for a way to focus these windows when I open them from double clicking tray icons and applying triggers after that. Or any other solution to restore positions of windows minimized to tray (their default behavior not DF minimize to tray function) after sleep/desktop unlock. |
Owen Muhlethaler (BFS) | Hello, When you created the window focused trigger, did you create a trigger for each of the apps your opening from the tray? Thanks! |
Sunlighthell | Quote: Hello, When you created the window focused trigger, did you create a trigger for each of the apps your opening from the tray? Thanks! Hi. Yes I created profile for all apps I need. I guess it is how these apps are programmed. Because on other hand I have iCue and MSI Afterburner apps. They remember their positions no matter what (sleep/closed to tray without any DF triggers/functions). Also I noticed that when youtube is in fullscreen and video is paused (I use firefox browser) save windows position function on system idle is not working but windows 10 idle timer is working resulting in monitors going to sleep without saving windows positions. |
Owen Muhlethaler (BFS) | Hello, Could you try setting the window text match condition for the programs that aren't working? For example, try setting the window text to 'discord' and see how that works. That's interesting with firefox. Does this happen with any other applications when they go full screen? Thanks! |
Sunlighthell | Quote: Hello, Could you try setting the window text match condition for the programs that aren't working? For example, try setting the window text to 'discord' and see how that works. That's interesting with firefox. Does this happen with any other applications when they go full screen? Thanks! Hi! Unfortunately this is not an option because discord change window name depending on text channel/voice channel I last used. It moves to correct position once I click taskbar and then click on discord window. If I could auto focus windows with certain condition that would be great. And youtube fullscreen. It seem this is windows 10 'feature'. After some googling I found records that you can disable this behavior using regedit or group polisies but have not tried yet and doubt I will. |
Owen Muhlethaler (BFS) | Hello, Unfortunately I don't think there's much we can do here. The windows positions function won't restore windows that aren't visible, and the window focused trigger doesn't always fire when a program is restored from the tray, it depends on how that program is hidden. Sorry I couldn't be of more help! |
Was this helpful? |