Table of Contents
This guide explains how to minimize Spotify to the System Tray in Linux, with clear steps, practical tips, and important checks before you begin.
Install KDocker
To do this, we will use both the latest version of the Spotify client and KDocker. KDocker is a simple tool that lets you move any application to the system tray, in most popular desktop environments. Although it hasn't been updated for a long time, KDocker still works well for most desktop environments. This is probably the current best solution for connecting Spotify client.
You can install KDocker in Ubuntu and distributions compatible with:
sudo apt install kdockerIn Fedora, Red Hat, and others, try:
sudo dnf install kdockerUse KDocker to minimize Spotify to the system tray
Launch KDocker from the Applications menu after installation.

Click the Spotify window to minimize it to the system tray.

Everything is done! You will find your application in the system tray instead of the taskbar.

To show Spotify again, click the KDocker system tray icon and select Show Spotify .
You can also right-click the icon and choose Dock Another to repeat the process for other apps.
Integrate KDocker with Spotify
As you can see, the above method requires you to run Spotify and KDocker at the same time. Another way to do this is to integrate KDocker with Spotify so it can be minimized to the system tray at any time.
Note that the following instructions use Ubuntu's default desktop.
Also, keep in mind that these tweaks will only apply to desktop icons. If you launch Spotify in any other way, such as from an app list or Terminal, Spotify will work properly and won't hide in the system tray.
Start by locating the Spotify icons. Enter the command:
ls /usr/share/icons/Papirus/64x64/apps/spotify.svgYou will see a list of icons related to Spotify. Quickly record the path to a specific icon, such as /usr/share/icons/Papirus/64×64/apps/spotify. svg.
Copy the Spotify client desktop entry to your Home folder using the command:
cp /usr/share/applications/spotify.desktop ~/.local/share/applicationsEdit copied files using your favorite text editor. The post uses Nano, so the command would be:
nano ~/.local/share/applications/spotify.desktopFind the line Exec = spotify% U.

Change it to:
Exec=kdocker -q -o -l -i /usr/share/icons/Papirus/64x64/apps/spotify.svg -n Spotify spotify %UWhat the above command does is let KDocker handle opening the Spotify app and make it shrink. The path to the Spotify icon is for KDocker to show the Spotify icon in the system tray. Without it, it will just show a generic icon.
Save your changes by Ctrl + O and exit the file using the Ctrl + X .
Launch Spotify and you will see its icon in the system tray.

Click the icon to minimize Spotify to the system tray.
Frequently Asked Questions
What should I know about Minimize Spotify to the System Tray in Linux?
Focus on the key features, requirements, limitations, and practical use cases explained in this guide.
How do I get the best results with Minimize Spotify to the System Tray in Linux?
Follow the recommended steps, use current software or information, confirm compatibility, and review settings before major changes.
Are there any risks or limitations?
Potential limitations depend on compatibility, data quality, cost, privacy, support, and how the product or method is used.
Was this article helpful?
Your feedback helps us improve.
Reader Comments 0
Sign in with email or Google to join the discussion.