Posted by: pererik87 | February 20, 2012

Native Spotify in Ubuntu 11.10 (Linux Preview)

Native Spotify in Ubuntu 11.10 (Linux Preview)

(Image considered used under fair use)

1. Install

2. Local files

3. Common bugs and fixing them

To install Spotify native Linux client paste the following line into the terminal(ctrl+alt+t or Super(known as Windows key) -> terminal) and confirm with your password.

echo “deb http://repository.spotify.com stable non-free” | sudo tee -a /etc/apt/sources.list && sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 4E9CFF4E && sudo apt-get update && sudo apt-get install spotify-client-qt

Thats all there should be to it. More information and help is under.

NB: Spotify freezes during ads sometimes. click frantic on the next song button so you get a voice ad. To show Spotify their welcome you might consider paying for premium, it makes the bug go away as well. :)

——————

Add application launcer:

Super key (known as windows key) drag into unity launcher

——————

Local files

This will allow you to use local files in spotify.

If you don’t know what architecture you have you can use “uname -m” in terminal, it should output some letters like i386 that i have put in the brackets. Download the file, it should go to your download folder, if not make sure it does or move it there.

32 Bit Packages (i386/i486/i586/i686)

https://docs.google.com/file/d/0B7zekYZwRKjRZjIyZWU2NDEtMDEzNC00MjgxLThjYjEtNTAxZGM4MTE4YzI1/edit

Then in Terminal run:

cd Downloads && tar -zxvf '32 Bit Packages.tar.gz' && sudo dpkg -i *.deb && sudo apt-get install -f

64 Bit Packages (x86_64 GNU/Linux)

https://docs.google.com/file/d/0B7zekYZwRKjRZjNiZDFiNzYtMzg4ZC00MTI2LThhYzctZDg4NmJmZTZiMzgy/edit?pli=1

Then in Terminal run:
cd Downloads && tar -zxvf '64 Bit Packages.tar.gz' && sudo dpkg -i *.deb && sudo apt-get install -f

——————

Fixing the “InRelease” bug

Symptoms:

“””

Terminal update (sudo apt-get update)

W: Failed to fetch http://repository.spotify.com/dists/stable/InRelease Unable to find expected entry ‘non-free/source/Sources’ in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

“”

“”

Failed to download repository information

Check your Internet connection.

“”

“”

A triangle in the notification area that looks as if your computer is about to die !!!

“”

THE FIX

Super key(known as windows key) –> Software Sources –> Other software –> Remove the check/tick for the source code –> password –> Run Update Manager again

———————-

What does the install script do

sudo sh -c ‘echo “deb http://repository.spotify.com/ stable non-free” >> /etc/apt/sources.list.d/spotify.sources.list’           —- ads repository into your list

&& adv –keyserver keyserver.ubuntu.com –recv-keys 4E9CFF4E  —- Security clearance dude!! confirms the repo and sets permissions

&& sudo apt-get update   —- updates package list

&& apt-get install spotify-client-qt  —- Installs Spotify

Sources:

1. http://www.spotify.com/

2. Bug -> myself  :) :D

3. http://ubuntuforums.org/showthread.php?t=1870376

About these ads

Responses

  1. Hey there, You have done an incredible job. I’ll certainly digg it and personally recommend to my friends. I am confident they will be benefited from this web site.

  2. I can’t understand how come nobody has pointed this out. It took me like 15min to figure it out. Anyhow, the apt-key adv portion of your command simply doesn’t work. Or I suppose it would, but wordpress has probably converted your double – to one long -. It’s hard to realize that as the slightly larger – hardly stands out. And the options are actually documented in the man pages of gpg instead of apt-key. Not to mention that the error message left me totally clueless.

    • Btw. also the key you need to add has changed. It’s now this: 94558F59 (or check it out from the spotify site..)

  3. I fogrot about this post :) but Spotify started working flawlessly on 10.10 some time ago, at least for me. Apparently some update or another fixed it, because I didn’t do anything… I just hope that Spotify will release some kind of API for the basic controls to enable panel-applets, global shortcuts etc. on Spotify… Or is there a way to make global keys work already? It’s possible under Wine, but apparently not in the native version…

  4. You are missing a sudo in the last command:
    apt-get install spotify-client-qt spotify-client-gnome-support

    • thank you, thought it was something like that.

    • Yeah that would suck if a newb tried it which is my main target :/

  5. Spotify not workink in ubuntu 10.10

  6. Oh, well, you can’t have everything :)
    I submitted the bug, let’s hope it solvable…

  7. Spotify crashes in Ubuntu 10.10 RC when moving the mouse over the playlists. When starting from a terminal it complains about segmentation fault. Do you have a remedy for this?

    • I don’t think there is to much i can say.
      The implementation is still beta alpha stage (even thou their not calling it that).
      Copy the lines from the terminal and send it as a bug to spotify including version of ubuntu you are running and if you use Gnome or what.
      Spotifty runs well in Wine so using the Windows version may be a n option for now.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: