sudo apt-get install wmctrl
wmctrl -r "Spotify Premium" -b toggle,fullscreen
"Spotify Premium" - the name of the window may vary
Credit: https://community.spotify.com/t5/Desktop-Linux/Stuck-in-Full-Screen/m-p/1241023/highlight/true#M841
#!/bin/bash | |
wmctrl -r "Spotify Premium" -b toggle,fullscreen |
sudo apt-get install wmctrl
wmctrl -r "Spotify Premium" -b toggle,fullscreen
"Spotify Premium" - the name of the window may vary
Credit: https://community.spotify.com/t5/Desktop-Linux/Stuck-in-Full-Screen/m-p/1241023/highlight/true#M841
Works like a charm, thanks!