Last updated on November 27, 2026
GNOME keeps its media controls in the notification list. To reach them you open the calendar popover, scroll past the notifications, and find a small strip with a track title and three buttons. No artwork worth the name, no progress bar you can drag, and nothing in the top bar to tell you a track is running at all. I wanted that back where I can see it, so I wrote Now Playing Card: a GNOME Shell media card for any MPRIS player, drawn from what the players announce over D-Bus.
This post walks through what the extension does, how to install it, and the D-Bus and audio details that took most of the work. It describes version 1.0.18.

The Problem
Every player on Linux that can be driven from outside itself speaks MPRIS over D-Bus. On my machine that is Spotify, Firefox and Chromium, Rhythmbox, VLC, Amberol, Celluloid, and mpv once mpv-mpris is loaded. The data is all there on the bus:
busctl --user list | grep mpris
gdbus introspect --session \
--dest org.mpris.MediaPlayer2.spotify \
--object-path /org/mpris/MediaPlayer2GNOME Shell reads that bus already. What it draws from it is the strip in the notification list: title, artist, previous, play, next. The position property is never shown, so there is no scrubbing, and the artwork is rendered small enough that album covers are decoration rather than information.
What I Built
Two things: an animated equalizer in the top panel that appears while something plays, and a GNOME Shell media card behind it with cover art, a seekable progress bar, transport controls, and a volume slider for players that carry a volume of their own. There is nothing to configure to get going. Enable it and it picks up whatever is already playing.
Panel behaviour is the part I use most. The top-bar button can show the title or artist and title next to the icon, with its own previous, play and next buttons or play and pause alone. It takes a scroll wheel for tracks or volume, a middle click, and a right click that can open the menu, play or pause, or skip. So a track can be skipped or paused without opening anything. The icon of the player can stand next to the equalizer or in its place, and the whole button can sit on its own or be embedded at the bottom of Quick Settings.

The equalizer bars can also be swapped for a real spectrum analyzer that moves with the sound itself, like the meter on a hi-fi. Segments, solid columns or columns mirrored around the middle, eight to thirty-two of them, in the theme colour, green to red or a rainbow, with peaks that hang on for a moment:

Or the same sound as hills. Waves are the hills of the icon, in its greys, drifting by and rising with the music:

Ribbon is the same hills folded over a line through the middle and narrowing to a point at both ends, so they float in the panel instead of filling a box. The low notes swell the middle and the high ones the sides:

How It Works
Cover art arrives in three different shapes
The mpris:artUrl field is a URL, and what that URL points at depends entirely on the player. Some hand over a file:// path in the cache directory, some a remote https:// address, some a data: URI with the image inline. Browsers are the awkward case: Firefox announces the track and writes the cache file a moment later, so reading the path immediately gives you nothing. The extension waits for the file instead of giving up on it. Web addresses, the way Spotify sends them, the extension downloads itself, and the old cover stays on the card until the new one is here. Flatpak players are the other case: the artwork can sit inside a sandbox the shell cannot read, and there the card falls back to the application icon rather than showing an empty square.
Whatever arrives fills the square it is given, cropped rather than squeezed, so a 300×300 cover and a 1400×900 video thumbnail both look deliberate.
Seeking needs two different calls
MPRIS has an absolute SetPosition and a relative Seek. SetPosition is the one you want, but it takes a track id as its first argument and silently does nothing if that id does not match the track the player thinks is current. Plenty of players report no usable id at all. So the progress bar uses SetPosition where there is an id to pass and computes an offset for Seek where there is not. Same drag, same result, two code paths.
The spectrum listens in a process of its own
MPRIS carries no audio, so the spectrum has to listen to the sound output itself. Doing that inside the shell would mean the whole desktop waits whenever the sound server is slow, so it runs as a small GJS helper, spectrum.js, that the extension starts while a spectrum is on screen and stops when it is not. The helper reads the monitor of the default output through GStreamer’s pulsesrc, which PipeWire answers the same as PulseAudio does, runs an FFT over it and prints 32 bands as numbers on stdout. Nothing is recorded or stored.
The first version kept the output awake for as long as it listened, so Bluetooth headphones with multipoint would not switch to another device. A capture stream on PipeWire can be marked passive, and then it no longer holds the output open: the headset sleeps and switches as if nothing were listening. From PipeWire 1.7 a passive stream only hears the output with the in-follow mode, so the helper asks pipewire --version and picks the right one.
Several players at once
Three players running is normal: a browser tab, a music player, and something paused from an hour ago. They share one popup as an accordion. The one playing keeps its card open, the rest wait as rows and open on a click, and a player that starts playing always gets one of the places. Three cards at once by default, up to ten if you want them. The popup keeps one width whatever the track is called, so nothing jumps between songs.

Local files with no tags
An untagged file played from disk reports the player’s own name on both lines of the card, which is useless. Those are named after the file instead. It is a small thing that took a while to notice and five minutes to fix.
Installation
Prerequisites
GNOME Shell 45 through 51, Wayland or X11. The card itself needs nothing else. The spectrum needs GStreamer’s PulseAudio plugin from gst-plugins-good, which most desktops already have; without it the columns only pretend. Check both:
gnome-shell --version
gst-inspect-1.0 pulsesrc | head -3Step 1: install it
The simplest way is its page on extensions.gnome.org: switch it on there and it starts right away, so steps 2 and 3 are only for the zip. Every version on the site goes through review first, so it can sit a little behind the repository. For the newest one, grab the zip from a release instead. Every tag builds the same file that goes to the extensions site:
gnome-extensions install --force nowplaying@epogonii.github.io.shell-extension.zipOr build it from the sources, which is the same commands the release workflow runs. Do not forget spectrum.js, or the spectrum stays flat:
git clone https://github.com/epogonii/nowplaying-card
cd nowplaying-card
gnome-extensions pack --force \
--schema=schemas/org.gnome.shell.extensions.nowplaying.gschema.xml \
--extra-source=spectrum.js --extra-source=stylesheet.css \
--extra-source=stylesheet-light.css --extra-source=stylesheet-dark.css \
--extra-source=LICENSE --extra-source=icons
gnome-extensions install --force nowplaying@epogonii.github.io.shell-extension.zipStep 2: restart the shell
Do this before enabling it. A running shell keeps an extension’s JavaScript in memory for the life of the process, so new code needs a new shell. On X11, Alt+F2 then r is enough. On Wayland it has to be a full log out and back in.
Step 3: enable and verify
gnome-extensions enable nowplaying@epogonii.github.io
gnome-extensions info nowplaying@epogonii.github.io | grep StateExpected result: State: ACTIVE. Start any player and the equalizer appears in the panel, with the GNOME Shell media card one click behind it.
Preferences
gnome-extensions prefs nowplaying@epogonii.github.ioThe Card page decides how much of a card you get (accordion, always full, always compact), how many players the popup shows, the cover size, and whether the progress bar, volume slider and shuffle/repeat controls are drawn at all. Album art can be turned off there too: the player’s icon stands in and nothing is fetched from the web. The icon has square ends, rounded ends or cycling colours, optionally in the system accent colour, and Frames a second sets how often it moves, 30 by default; fewer cost the shell less. The spectrum lives on the same page: Shape, Colours, Columns, Range (how many decibels under the loudest note still show, which helps dense music that kept the columns near the top), Peak markers and Follow all sound.

The Panel page is the one worth a minute. Location switches between an own button and Quick Settings, Visibility takes always, only-while-playing or never, and Track in the panel takes nothing, the title, or artist and title. Text width is capped in pixels and can be held fixed so a short title does not shrink the panel. Scrolling over the button switches tracks or changes volume, Volume step sets how many percent one notch is, and Reverse direction flips the wheel. Middle and right click each pick their own action.
The Players page hides GNOME’s own controls and holds the ignore list, picked from installed applications or typed by hand.
Gotchas
- A browser announces every autoplaying video as a track. That is what the ignore list on the Players page is for: add the browser and the panel stops reacting to tabs.
- Skip buttons only appear when the player reports that it can skip. A missing button is the player saying no, not the card losing it.
- Before GNOME 50.2 the microphone indicator shows while the spectrum listens. It is the monitor of the output, not the microphone, and with the spectrum off the indicator goes away.
- Follow all sound makes calls and games move the spectrum too, even with nothing playing, so the helper listens whenever the icon is on screen. On PipeWire the output still sleeps; on plain PulseAudio it stays awake.
- VLC up to 3.0.21, the one Ubuntu 24.04 ships, says at start that it has nothing to play and never takes that back. The card asks it again when playback starts, pauses or stops.
- A web app pinned from Firefox with
browser.taskbarTabs.enabledshows its own icon, not Firefox’s. The card finds it by the window that has the track in its title. - GNOME’s own media controls are hidden while the extension runs and handed straight back when it stops, so disabling the extension does not leave you with no controls at all.
- Preferences apply immediately. Only new extension code needs the shell restart.
If something misbehaves, the shell’s own log is where it says so:
journalctl --user -b 0 -o cat /usr/bin/gnome-shell | grep nowplayingAn issue is quick to fix with the extension version, your GNOME Shell version and distribution, the player and how it is installed, and that log.
Takeaways
- MPRIS is a standard that every player implements slightly differently. Anything reading it needs a fallback for artwork and a fallback for seeking.
SetPositionfails quietly without a matching track id. If a scrub does nothing, that is usually why.- Anything that listens to the sound output should do it as a passive stream, or it quietly keeps the output and the Bluetooth headset awake.
- Extension code is loaded once per shell process. Restart the shell before you conclude a change did not work.
- The panel button doing transport on scroll, middle and right click removed most of my reasons to open the GNOME Shell media card at all.
Links
- Source and issues: github.com/epogonii/nowplaying-card
- Licence: GPL-2.0-or-later
- The extension is free and stays free. If it earned a coffee: GitHub Sponsors or PayPal.
Status: the extension is live on extensions.gnome.org at extensions.gnome.org/extension/10736/now-playing-card. It passed review and installs from there in one click. The release zip above is still there for anyone who wants the newest version before the site catches up.