Spotify 0.9.11 for GNU/Linux

Solved!
Reply

Spotify 0.9.11 for GNU/Linux

parbo
Spotify Legend

Hi, fellow penguin fans!

 

Today we've pushed version 0.9.11.26 of the Linux desktop client to our public repo. Just update your system!

 

General release notes: http://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Release-Notes-Spotify-for-Desktop-0-9-11/...

 

Linux specific changes:

 

 - collectionCache.bnk is no longer written to $HOME

 

Known issues:

 

 - It still doesn't work to drag from an HTML5 view to a legacy view (such as the sidebar).

 - On first start, the HTML5 views may not appear (just empty black views), try restarting the app if it happens

 - Some users have reported problems with the new track change notifications. If you experience problems, you can start the client with "spotify --ui.track_notifications_enabled=false", or you can edit the file called ~/.config/spotify/Users/<your-spotify-username>-user/prefs and add a line with "ui.track_notifications_enabled=false". Sorry for not having this option available in the UI.

 - No 32-bit build is available

 - This build is not compatible with debian squeeze or wheezy

 

If you don't already have the Linux client installed, install like this:

 

# 1. Add our repository. As root or with sudo, create
#    a file called /etc/apt/sources.list.d/spotify.list and add
#    "deb http://repository.spotify.com/stable non-free" to it.
#    Here's a one-liner:
sudo sh -c 'echo "deb http://repository.spotify.com/stable non-free" > /etc/apt/sources.list.d/spotify.list'
 
# 2. If you want to verify the downloaded packages,
#    you will need to add our public key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
 
# 3. Run apt-get update
sudo apt-get update
 
# 4. Install spotify!
sudo apt-get install spotify-client
 
You don't have a debian based system? Well, it's still possible to get things running. Either you convert the debian package to something else using alien, or you can just download and extract the stuff you need from the package. There is no need to install the client, it can be run from anywhere.
 
# 1. Get the right filename
SPOTIFY_DEB=http://repository-origin.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.11.26.g995ec04.78-1_`uname -m | sed s/x86_64/amd64/ | sed s/i686/i386/`.deb
 
# 2. Download the package
wget repository.spotify.com/pool/non-free/s/spotify/$SPOTIFY_DEB
 
# 3. Extract the required parts
ar p $SPOTIFY_DEB data.tar.gz | tar -zx --strip-components=3 ./opt/spotify/spotify-client
 
# 4. Go in to the extracted folder
cd spotify-client
 
# 5. Setup symlinks to libs (NOTE: this script assumes Fedora 17, edit to suit your needs)
./linklibs-fedora.sh
 
# 6. Optionally register icons and menu item
#    Note: for the menu item to work, you need to ensure
#    spotify is in your $PATH, either by symlinking
#    it from /usr/bin or /usr/local/bin, or by adding
#    the spotify-client folder to your $PATH
./register.sh
 

 

16 ACCEPTED SOLUTIONS
Solution!

rannyakuza
Casual Listener

Hmm, this seems to be because of an erronuous http/dns redirect. As a workaround, place the following in /etc/apt/sources.list.d/spotify.list:

 

deb http://repository-origin.spotify.com stable non-free


This URL does not have the spotify-redirect-to-our-homepage-because-i-dont-know-why-argh redirect rule, therefore apt-get will work. After Spotify fixes this, you should be able to change the apt-get URL above back to its default (ie. without -origin in the URL).

View solution in original post

Solution!

CaptDragon
Newbie

This worked for me, Thanks!


@rannyakuza wrote:

Hmm, this seems to be because of an erronuous http/dns redirect. As a workaround, place the following in /etc/apt/sources.list.d/spotify.list:

 

deb http://repository-origin.spotify.com stable non-free


This URL does not have the spotify-redirect-to-our-homepage-because-i-dont-know-why-argh redirect rule, therefore apt-get will work. After Spotify fixes this, you should be able to change the apt-get URL above back to its default (ie. without -origin in the URL).


 

View solution in original post

Solution!

webrunner1981
Regular

Remove the spotify repository from software sources , then add spotify source with origin in name

 

In terminal

sudo add-apt-repository -r "deb http://repository.spotify.com stable non-free"

sudo add-apt-repository "deb  http://repository-origin.spotify.com stable non-free"

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

sudo apt-get upgrade

 

Let me know does it work for you.

 

View solution in original post

Solution!

StefanoRadice
Music Fan

Hello, I had the same problem and solved it thanks to your advice but in a slightly different way. I am running Ubuntu 14.04 64 bit, Spotify 0.9.11. The file you suggest to edit does not exist on my system. Creating it has no effect. I edited  /etc/apt/sources.list instead and replaced repository.spotify.com with repository-origin.spotify.com, now it works. Thanks!

View solution in original post

Solution!

porkchopper
Casual Listener

Thanks!

I did not copy and paste because I'm trying to learn to program. I followed some advice I read and tried reading what I typed backwards, but still missed it.

View solution in original post

Solution!

Peter__
Community Legend
There is nothing above 0.9.4 if you are on a 32-bit system due to the developers having issues with the Spotify build system.

Swap to 64-bit?

Peter
Spotify Community Mentor and Troubleshooter

Spotify Last.FM Twitter LinkedIn Meet Peter Rock Star Jam 2014


If this post was helpful, please add kudos below!

View solution in original post

Solution!

sleeksorrow
Roadie

@blurk wrote:

Also, the thing that shows suggestions when you search for something won't disappear unless you hit search


... or unless you press "tab".

View solution in original post

Solution!

olejon
Roadie

@HarmoAx wrote:

Hello,
I have installed the linux version of Spotify and the install went fine. Although, I'm experiencing problems with the launch of Spotify : when I launch it (either with the spotify icon or with command line) I'm getting this error : "spotify: error while loading shared libraries: libpangoxft-1.0.so.0: cannot open shared object file: No such file or directory"...
Any idea about how to solve this ? (I've done a quick search through the web and I haven't been able to find a solution...)
Regards.


Looks like you're missing a package (for some reason...).

 

Run this command to install it:

 

sudo apt-get install libpangoxft-1.0-0

 

In the future, you can use the "Search the contents of packages" search here to find out which packages provides what files.

SpotCommander - The most elegant, intuitive, feature-rich & universal remote control for Spotify, exclusive for Linux users!

View solution in original post

Solution!

TheTimeSInk
Regular

@wade1987:

 

Try changing your repo to: http://repository-origin.spotify.com 

 

We had this problem last spring and this fixed it. I haven't had any issue with installs on Ubuntu, but on a Mint install the other night I had to use this fix.

 

Reference:

http://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Spotify-0-9-11-for-GNU-Linux/m-p/845435/h...

 

View solution in original post

Solution!

olejon
Roadie

@Poltiser wrote:

 

There are differences between Xubuntu 14.04 (plays music from local HD) and 14.10 (does not play mp3 from HD) even after installing ffmpeg on Xubuntu 14.10


@Poltiser:

 

I just got local files working on Ubuntu 14.10 following my earlier instructions for 14.04 when the Spotify client was not updated yet.

 

Here you go:

 

http://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Linux-Local-files-do-not-play-on-Ubuntu-1...

 

It plays MP3s perfectly after doing this for me.

SpotCommander - The most elegant, intuitive, feature-rich & universal remote control for Spotify, exclusive for Linux users!

View solution in original post

Solution!

muammar
Music Fan

Yes, this is known. It has to do with notifications. So, if you run spotify as follows:

 

spotify --ui.track_notifications_enabled=false

 

 

it should work fine. 

View solution in original post

Solution!

olejon
Roadie

 

Now that local files playback doesn't work on Ubuntu 14.10, I'm reposting a fix I wrote back when it didn't work on Ubuntu 14.04. The fix still works.


I just compiled a minimal FFmpeg 0.10.12 from source (the version from the Saucy PPA), and extracted the necessary files to get local files playing. This way, we don't have to install an entire FFmpeg + libx264 built for an older version of Ubuntu library that potentially can disrupt other applications.

 

To get local files playing, simply run the commands below in a terminal.

 

  • Each command should be on one line (they get wrapped here)
  • This does not overwrite any files on a Ubuntu 14.xx system
  • Don't forget to the ldconfig and install the necessary codecs (the last two commands)

64-bit users:

 

sudo wget https://dl.dropboxusercontent.com/u/8593574/Spotify/ffmpeg/libavcodec.so.53 -O /usr/lib/x86_64-linux-gnu/libavcodec.so.53
sudo wget https://dl.dropboxusercontent.com/u/8593574/Spotify/ffmpeg/libavformat.so.53 -O /usr/lib/x86_64-linux-gnu/libavformat.so.53
sudo wget https://dl.dropboxusercontent.com/u/8593574/Spotify/ffmpeg/libavutil.so.51 -O /usr/lib/x86_64-linux-gnu/libavutil.so.51
sudo ldconfig
sudo apt-get install ubuntu-restricted-extras

32-bit users:

 

sudo wget https://dl.dropboxusercontent.com/u/8593574/spotify/ffmpeg/32-bit/libavcodec.so.53 -O /usr/lib/i386-linux-gnu/libavcodec.so.53
sudo wget https://dl.dropboxusercontent.com/u/8593574/spotify/ffmpeg/32-bit/libavformat.so.53 -O /usr/lib/i386-linux-gnu/libavformat.so.53
sudo wget https://dl.dropboxusercontent.com/u/8593574/spotify/ffmpeg/32-bit/libavutil.so.51 -O /usr/lib/i386-linux-gnu/libavutil.so.51
sudo ldconfig
sudo apt-get install ubuntu-restricted-extras

Please tell me if it doesn't work.

SpotCommander - The most elegant, intuitive, feature-rich & universal remote control for Spotify, exclusive for Linux users!

View solution in original post

Solution!

user-removed
Not applicable

Spotify segfaults after ~50sec when playing music if gtk+-2.24.26 is installed. Downgrading to gtk+-2.24.25-r1 resolves this.

 

[ 6564.483737] spotify[26506]: segfault at 7f6ddaad1dd0 ip 00007f6ddaad1dd0 sp 00007fff247c1878 error 14
[ 6564.483775] audit: type=1701 audit(1424437880.831:10): auid=1000 uid=1000 gid=1000 ses=1 subj=kernel pid=26506 comm="spotify" exe="/opt/spotify/spotify-client/spotify" sig=11

 

View solution in original post

Solution!

olejon
Roadie

@rainest wrote:

Ah, yes, Albums, I used to have those. Now they are all gone, who knows where.

 

Why do half the screens just bring up a big blank void.

 

2015-03-02-004340_2560x1440_scrot.png.png

 


Not seeing the same issue on a clean Ubuntu 14.10 64-bit virtual machine.

 

Try exiting Spotify completely, and remove your config and cache.

 

rm -r ~/.config/spotify
rm -r ~/.cache/spotify

 

SpotCommander - The most elegant, intuitive, feature-rich & universal remote control for Spotify, exclusive for Linux users!

View solution in original post

Solution!

cHagHi
Gig Goer

Thanks for the update!

 

I'm on Ubuntu 14.10, and I'm experiencing (almost) the same problems as Nico751:

  • I have an icon on the taskbar, but it's the standard "X11" plain icon, not Spotify's
  • The window decoration is wrong
  • I have no application menu
  • Media keys do not work
  • Spotify Connect does not work, the button seems to be disabled or inactive
  • There's no menu entry (presumably because the .deb does not install a .desktop file in /usr/share/applications)

The scrollbars work for me though, both with the mouse and the keyboard.

 

Any help will be gratly appreciated!

 

 

View solution in original post

Solution!

sleeksorrow
Roadie

@antortjim wrote:

Although I have been able to run the most recent version (1.0.1), I am experiencing the same issues as those you mentioned above. Also, I am unable to play local files, and the upper toolbar has dissapeared. What can I do to fix it or at least contribute to the development of the Linux client?? Running Ubuntu 14.04 64 bits. Thank you


I am not aware of a toolbar in versions below 1.0. If you mean the menu bar, the menu now is behind a little downward arrow in the upper right corner.

 

For playing local files, it may be that 1.0 still has the same issues with trusty as the older versions had. Try a search in this forum, a quick hit would be https://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Linux-Local-files-do-not-play-on-Ubuntu-...

 

Edit: I'm not sure if your local files show up, but are not playable, or if they don't show up at all. In first case, see my hint above. In the latter case, it may be that you just need to re-add the local music folders in your preferences. As far as I remember, the settings have been resetted to default for me.

 

Edit2: Indeed, Spotify 0.9 is using $HOME/.config/spotify and Spotify 1.0 is using $HOME/.config/Spotify (note the uppercase "S"). That's why the config was all default after update, and it means your old config for 0.9 is still there and untouched.

View solution in original post

368 Replies

muammar
Music Fan

I am sorry because this message is orthogonal with the discussion, but I strongly believe there would be another option to follow-up the development of Spotify Linux preview. Maybe a mailing list?. I am sure most of linux users won't have any problems to follow a mailing list instead of this current chaotic way of doing it. 

 

Regards, 

sleeksorrow
Roadie

CPU load on Spotify 1.0.1 is about 5 times less (!) than on 0.9.x

 

On my old weak laptop I always had about 6-8% cpu load, now I see it between 0.5-3%, sometimes even showing 0.0% O.o

 

Wooot!

Muskratt
Regular

bruh, new stable release of  0.9.X and no 32 bit build. theres no doubt, 32bit version is kill
tumblr_mvyxhl1tay1skfqn6o1_400.jpg

MattSuda
Rock Star 24
Rock Star 24

Update:

 

Read this announcement:

 

https://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Spotify-0-9-17-for-GNU-Linux-and-the-upc...

MattSudaRock Star 24
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

renebarbosa
Music Fan

There is a changelog of that update?

Fred
Community Legend

@renebarbosa  that's a good question. I've asked staff about this, will get back once I have an answer. 

 

 

☆✩✪ Want to help out? Become a Spotify Rock Star today! ✪✩☆
Jag svarar på svenska via pm eller via twitter


Binaural track - listen with headphones with good volume!

martijntje
Regular

There does not seem to be a changelog.

 

~$ apt-get changelog spotify-client
Err Changelog for spotify-client (http://changelogs.ubuntu.com/changelogs/pool/non-free/s/spotify/spotify_0.9.17.1.g9b85d43.7-1/changelog)
  404  Not Found
Err Changelog for spotify-client (http://repository.spotify.com/pool/non-free/s/spotify/spotify_0.9.17.1.g9b85d43.7-1.changelog)
  404  Not Found [IP: 54.230.128.24 80]
E: changelog for this version is not (yet) available; try https://launchpad.net/ubuntu/+source/spotify/+changelog

 

s3boun3t
Casual Listener

thanks for support linux

the startup spotify is very better

ale2695
Music Fan

Spotify 0.9.17.1 released into stable repository:

Schermata del 2015-03-24 18:49:27.png

EXiDO
Regular

The latest update seems to have fixed a problem i had where spotify would make ubuntu 14.10 to run out of memory and force an log out or something around those lines. Don't remember the error message sadly enough.

The problem would start when i visited one of my playlist with many songs and started to scroll down.

 

Edit: I also notice the icon in the panel has got a better image resoultion in this new version.

sophie23
Casual Listener

Nothing change, I remove everything and reinstall all from fresh but keeps showing the same message. Another idea, please?

sophie23
Casual Listener

Don't understand your post.

ale2695
Music Fan

 


@sophie23 wrote:

Don't understand your post.


Today the Spotify team has released a new stable update for the Spotify Linux client 😉

 

 

sleeksorrow
Roadie

It was just now that I understood that on Windows Spotify has pushed this pre-beta testversion to all and any customers without an option to skip or roll back.

 

I'm speechless.....

sophie23
Casual Listener

Hi!! I was looking inside the post but was too much info, I'm sorry if someone already post an answer for my problem! I  install spotify in Ubuntu 14.04 LTS 64bits and worked just fine! but i had to reinstall my ubuntu for other reasons in the same pc, did the same steps with the installation of spotify and ... Nothing, just crash before show anything, this what it show's  in the console

15:05:53.962 I [breakpad.cpp:107                ] Registered Breakpad for product: spotify

15:05:53.965 I [translate.cpp:139               ] Reloading language file
15:05:53.975 I [translate.cpp:139               ] Reloading language file
15:05:53.976 I [breakpad.cpp:261                ] Searching for crashdumps: /home/gen/.cache/spotify/*.dmp

Violación de segmento (`core' generado)

 

And that's it.

 

The only difference is that I install rails and the lib of mysql, just that. 😞

 

I'm really noob in all the subject of linux (I'm learning, it's my first time) and with the English (don't kill me).

 

Thanks!!

sleeksorrow
Roadie

The message points to the directory where spotify is caching things it has downloaded. Try cleaning the cache and see if it helps.

 

code:

 

rm -r $HOME/.cache/spotify

 

If that doesn't help, then perhaps it's a problem in your spotify settings. Since they are not that difficult to set up again, try to clear them together with the cache.

 

code:

 

rm -r $HOME/.cache/spotify $HOME/.config/spotify

 

If that helps, but comes back again, it might be that you are sometimes running spotify as root by mistake. Make sure that you always start any graphical programs as user. (There are some graphical programs around that need root access, but these are very special apps and you will know if you see them.)

 

Some people in the past reported that their spotify is crashing when they use some other widget theme than qtcurve:

https://bbs.archlinux.org/viewtopic.php?id=138326&p=2

so perhaps switching to qtcurve could be a workaround.

 


@sophie23 wrote:

Hi!! I was looking inside the post but was too much info, I'm sorry if someone already post an answer for my problem! I  install spotify in Ubuntu 14.04 LTS 64bits and worked just fine! but i had to reinstall my ubuntu for other reasons in the same pc, did the same steps with the installation of spotify and ... Nothing, just crash before show anything, this what it show's  in the console

15:05:53.962 I [breakpad.cpp:107                ] Registered Breakpad for product: spotify

15:05:53.965 I [translate.cpp:139               ] Reloading language file
15:05:53.975 I [translate.cpp:139               ] Reloading language file
15:05:53.976 I [breakpad.cpp:261                ] Searching for crashdumps: /home/gen/.cache/spotify/*.dmp

Violación de segmento (`core' generado)

 

And that's it.

 

The only difference is that I install rails and the lib of mysql, just that. 😞

 

I'm really noob in all the subject of linux (I'm learning, it's my first time) and with the English (don't kill me).

 

Thanks!!


 

sophie23
Casual Listener

Thanks but doesn't help, keeps saying the same:

04:10:48.539 I [breakpad.cpp:107                ] Registered Breakpad for product: spotify

04:10:48.543 I [translate.cpp:139               ] Reloading language file
04:10:48.576 I [translate.cpp:139               ] Reloading language file
04:10:48.578 I [breakpad.cpp:261                ] Searching for crashdumps: /home/gen/.cache/spotify/*.dmp

Violación de segmento (`core' generado)

antortjim
Casual Listener

Although I have been able to run the most recent version (1.0.1), I am experiencing the same issues as those you mentioned above. Also, I am unable to play local files, and the upper toolbar has dissapeared. What can I do to fix it or at least contribute to the development of the Linux client?? Running Ubuntu 14.04 64 bits. Thank you

Solution!

sleeksorrow
Roadie

@antortjim wrote:

Although I have been able to run the most recent version (1.0.1), I am experiencing the same issues as those you mentioned above. Also, I am unable to play local files, and the upper toolbar has dissapeared. What can I do to fix it or at least contribute to the development of the Linux client?? Running Ubuntu 14.04 64 bits. Thank you


I am not aware of a toolbar in versions below 1.0. If you mean the menu bar, the menu now is behind a little downward arrow in the upper right corner.

 

For playing local files, it may be that 1.0 still has the same issues with trusty as the older versions had. Try a search in this forum, a quick hit would be https://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Linux-Local-files-do-not-play-on-Ubuntu-...

 

Edit: I'm not sure if your local files show up, but are not playable, or if they don't show up at all. In first case, see my hint above. In the latter case, it may be that you just need to re-add the local music folders in your preferences. As far as I remember, the settings have been resetted to default for me.

 

Edit2: Indeed, Spotify 0.9 is using $HOME/.config/spotify and Spotify 1.0 is using $HOME/.config/Spotify (note the uppercase "S"). That's why the config was all default after update, and it means your old config for 0.9 is still there and untouched.

View solution in original post

cHagHi
Gig Goer

@sleeksorrow wrote:

@antortjim wrote:

Although I have been able to run the most recent version (1.0.1), I am experiencing the same issues as those you mentioned above. Also, I am unable to play local files, and the upper toolbar has dissapeared. What can I do to fix it or at least contribute to the development of the Linux client?? Running Ubuntu 14.04 64 bits. Thank you


I am not aware of a toolbar in versions below 1.0. If you mean the menu bar, the menu now is behind a little downward arrow in the upper right corner.

 


I don't think the downward arrow in the upper right corner replaces the menu. The Windows version of the desktop app has both a proper/standard application menú, and the arrow next to the user name. There are several features/functions that cannot be accessed with said downward arrow, and are only exposed in the menu.

 

So I don't think that the lack of a menu in the Linux version is intentional. It's a bug.

 

SUGGESTED POSTS