Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
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)
@vspedr
Copy link

vspedr commented Nov 16, 2020

+1, worked for me as well!

@leoheck
Copy link

leoheck commented Feb 5, 2021

Thanks, my preps file was here ~/.config/spotify/prefs

@jonathanpmartins
Copy link

jonathanpmartins commented Mar 14, 2021

I removed everything in the file and just left the credentials. Works like a charm! Thanks

@AimanAlmureish
Copy link

AimanAlmureish commented May 8, 2021

Thank you so much this was a fix to my problem! I was trying to remove ~/.config/spotify/prefs this directory coz all solutions were like this! But yours is working perfectly!

@studzin-sky
Copy link

studzin-sky commented Nov 19, 2021

So easy! TY

@OleHalvor
Copy link

OleHalvor commented Dec 7, 2021

+1 thanks

@Kasazn
Copy link

Kasazn commented Feb 7, 2022

Thank you very much! Worked flawlessly!

@dexxmd
Copy link

dexxmd commented Feb 10, 2022

Works on Ubuntu 19.10, spotify from snap.
Thank You!

@Nicherus
Copy link

Nicherus commented Mar 25, 2022

+1 worked on ubuntu 20.04

@mastier
Copy link

mastier commented Apr 26, 2022

I got Spotify from snap, so the prefs are in ~/snap/spotify/current/.config/spotify/prefs

The culprit was removing this options

app.window.position.saved=true

@greew
Copy link
Author

greew commented Apr 27, 2022

I got Spotify from snap, so the prefs are in ~/snap/spotify/current/.config/spotify/prefs

The culprit was removing this options

app.window.position.saved=true

Thanks! Great to know! :)

@Ortega-Dan
Copy link

Ortega-Dan commented May 7, 2022

Thank you. Incredibly annoying feature.

And thank you @mastier This is the less intrusive fix. 👍 🚀

I got Spotify from snap, so the prefs are in ~/snap/spotify/current/.config/spotify/prefs

The culprit was removing this options

app.window.position.saved=true

@braekevelt
Copy link

braekevelt commented Jun 21, 2022

Thanks! Work perfectly on Ubuntu 22.04.

@bayological
Copy link

bayological commented Jul 1, 2022

I got Spotify from snap, so the prefs are in ~/snap/spotify/current/.config/spotify/prefs

The culprit was removing this options

app.window.position.saved=true

Thank you. This worked for me on Ubuntu 22.04.

@cpsyctc
Copy link

cpsyctc commented Jul 30, 2022

For me too (Ubuntu 22.04.01 LTS on AMD, GNOME 42.2 and /etc/gdm3/custom.conf WaylandEnable=false (i.e. Xorg at the moment). Thanks, that was really irritating.

@isaacyakl
Copy link

isaacyakl commented Aug 18, 2022

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.

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