Spotify (flatpak) is missing window decorations

Spotify starts, but without any window decorations, thus controls.
Also not draggable with Super Key.

Spotify version: 1.1.84.716.gc5f8b819 (16.10.2022)

Terminal output:

flatpak run com.spotify.Client 
/app/extra/bin/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/bin/spotify)
[spotifywm] attached to spotify
/app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
[spotifywm] attached to spotify
[spotifywm] attached to spotify
Gtk-Message: 20:45:53.553: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:45:53.553: Failed to load module "canberra-gtk-module"
/proc/self/exe: /app/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
[spotifywm] attached to spotify
[spotifywm] spotify window found

System:

OS: Zorin OS 16.2 x86_64
Kernel: 5.15.0-52-generic
Packages: 2409 (dpkg), 78 (flatpak), 5 (snap)
Shell: bash 5.0.17
Resolution: 1920x1080
DE: GNOME
WM: Mutter
WM Theme: ZorinBlue-Dark
Theme: ZorinBlue-Dark [GTK2/3]
Icons: Papirus-Dark [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i7-6700K (8) @ 4.600GHz
GPU: NVIDIA GeForce GTX 1080
Memory: 3952MiB / 64245MiB

Flatpaks are sandboxed and things that they would need to relay on from the system - are blocked to them.
Flatpak packages are supposed to include everything that they need but...

You might try using flatseal

To grant flatpaks access to system theme and window management.

As @Aravisian said. Or install it via Spotify repositories:

curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | sudo apt-key add - 
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update && sudo apt-get install spotify-client
1 Like

Issue fixed with this:

Spotify will try to start with the same window dimensions as the last session. If your screen resolution changes (gets smaller) the window may no longer fit on the screen.

You can fix this manually by editing the config file located at ~/.var/app/com.spotify.Client/config/spotify/prefs. Look for the keys starting with app.window and remove them, or set them to something reasonable.

1 Like