Skip to content

Instantly share code, notes, and snippets.

@greew
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.

Solution:

@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: https://community.spotify.com/t5/Desktop-Linux/Full-screen-under-Ubuntu-18-04/m-p/4546981/highlight/true#M16717 (Even though this didn't fix the problem for the author, it worked for me)

@isaacyakl
Copy link

Just upgraded to Ubuntu 22.04.1 and had the same issue. I removed everything except for "autologin" information and it fixed the issue for me.

@tiff413
Copy link

tiff413 commented Nov 2, 2022

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

@gabocles
Copy link

gabocles commented Nov 7, 2022

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

@PietroFantini
Copy link

indow.posi

thanks

@0penSrc
Copy link

0penSrc commented Mar 30, 2023

You are the goat. Thank you!

@Ortega-Dan
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