Spotify on GNOME: How to Fix the Blue Window Border

Christoph Langner Avatar

3 min read

0 views

A blue frame around Spotify on GNOME ruins the look, even though everything still works as it should. On Arch Linux, the fix is easy: either go through Flatpak or use a launch flag for the client from the AUR.

If you use Spotify on Linux with GNOME, you may have noticed an ugly blue border around the app window over the last few days. I’m seeing the problem here on my machine under Arch Linux, but it should affect all distributions.

The culprit is an update to the official Electron-based Linux client that messed up the GTK-style window decoration. Spotify itself works just as before, but visually it looks anything but nice.

Solutions for Spotify

There are two easy ways to fix the problem. The most convenient one is to install Spotify as a Flatpak. The Flatpak version doesn’t show the blue frame, and you don’t have to worry about anything. No configuration changes are needed.

If you installed Spotify via the Spotify Launcher (the spotify-launcher package from Arch’s extra repository) or directly from the AUR (the spotify entry), you need to set the launch flag --ozone-platform=x11 instead. That makes the GTK decoration show up correctly. Depending on how you installed it, add the flag like this:

For AUR Spotify in the file ~/.config/spotify-flags.conf:

--ozone-platform=x11

For Spotify Launcher in ~/.config/spotify-launcher.conf:

[spotify]
extra_arguments = ["--ozone-platform=x11"]

You may have to create these files first. After restarting Spotify, the blue frame should be gone and everything should look normal again.

Correction from Fabian on Mastodon: That’s not quite right. This is solely down to Spotify running natively on Wayland, where under GNOME it needs a client-side decoration (CSD), which it provides through that blue one. Forcing it back to X11 might cause real problems, like blurry fonts, bad (or no) scaling and so on. Also, Spotify isn’t Electron, it’s the Chromium Embedded Framework (CEF).

Sure, it’s a crutch, but one that helps right now. And you can undo the change quickly, too. The other options would be to run GNOME under X11 or to make friends with the blue frames. To me, neither is exactly ideal. So for now this is a workaround, and of course you shouldn’t forget about it in case Spotify starts acting up again at some point.

Related posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Markdown is supported: **bold**, _italic_, [link text](URL), `Code`, lines starting with - for lists, 1. for numbered lists, triple backticks for code blocks.

Security check: Which logo is this?

About the blog

Since 2006 I have been trying out what Linux, free software and the right hardware can do – from distribution tests to Raspberry Pi projects. Hands-on rather than a mere news ticker.

Categories

Tags

Support the blog

Enjoy what you read here? A small donation helps pay for hosting and new test devices – and keeps the coffee coming.

Linux und Ich — Spotify on GNOME: How to Fix the Blue Window Border
https://linuxundich.de/en/gnu-linux/spotify-on-gnome-how-to-fix-the-blue-window-border/ — printed on October 3, 2026