Skip to content

Instantly share code, notes, and snippets.

Last active July 29, 2023 16:50
  • Star 12 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save greew/f7c219e4b45390151de16e93b9cfa5ff to your computer and use it in GitHub Desktop.
Fix Spotify stuck in full screen (Ubuntu) installed from snap

Problem: I experienced Spotify being stuck in full screen mode. The title bar with minimize, maximize and close wasn't present and no keyboard shortcut I know about would exit full screen.


@mastier has improved the solution - see here

Solution (old):

rm ~/snap/spotify/current/.config/spotify/prefs

Works both in 18.04.01 and 20.04.x

Source: (Even though this didn't fix the problem for the author, it worked for me)

Copy link

tiff413 commented Nov 2, 2022

Removing app.window.position.saved=true from ~/snap/spotify/current/.config/spotify/prefs worked for me! Thanks

Copy link

gabocles commented Nov 7, 2022

thanks @mastier . Worked just fine for me. Ubuntu 22.04 here. Cheers!

Copy link



Copy link

0penSrc commented Mar 30, 2023

You are the goat. Thank you!

Copy link

Just sharing a one line script or function fix, doing what all others shared here:

I've saved it in my path and just run it whenever the situation presents, sharing in case it simplifies the adjustment for others:

#! /bin/bash
sed -i "/\b\(app.window.position\)\b/d" -- $HOME/snap/spotify/current/.config/spotify/prefs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment