Spotify recently released a native Linux client for premium and unlimited account users.
More info over here: http://www.spotify.com/int/download/previews/
I've previously used the windows client but stopped since I don't like to have wine on my computer. Therefore I would like to try out the native client, but there's just one problem, it's distributed as a deb-package for Ubuntu and Debian only.
Anyone tried getting it to work on an Arch setup?
Last edited by Lazze (2010-07-20 09:41:33)
It's in the AUR - presumably that means somebody tried it.
You're right, thanks, forgot to check out AUR, now I feel a bit stupid...
I'll give it a try when getting home to my precious Arch-computer.
I don't know if this is the right post to use but I'm having some problems with this Spotify client. The AUR package gets installed without problems and the client starts, I can even play songs (on the first startup of the program). But if I try to access the prefrences Spotify crashes. When I try to restart Spotify it starts up (for a second) and then disappeares.
This is the terminal output:
per@arch ~]$ spotify 16:32:17.134 I [user_cache:136] UserCache::initiateGetUsers() will query for 1 users 16:32:18.575 I [ap:1387] Connecting to AP B2.spotify.com:4070 16:32:18.708 I [ap:937] Connected to AP: 188.8.131.52:4070 16:32:19.226 I [gui-model:2208] Login Code: 0 (process:13687): GLib-GObject-CRITICAL **: gtype.c:2706: You forgot to call g_type_init() (process:13687): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:13687): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed Segmentation fault [per@arch ~]$ java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8+rc691bc07c5e0) (ArchLinux-6.b18_0.hg_20100715-1-i686) OpenJDK Server VM (build 14.0-b16, mixed mode)
What is happening?
install jre, instead of openjdk
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
I uninstalled openjdk but it still crashes. Now I get:
per@arch packages]$ spotify 17:52:21.253 I [user_cache:136] UserCache::initiateGetUsers() will query for 1 users 17:52:21.701 I [ap:1387] Connecting to AP B2.spotify.com:4070 17:52:21.833 I [ap:937] Connected to AP: 184.108.40.206:4070 17:52:22.387 I [gui-model:2208] Login Code: 0 (process:29333): GLib-GObject-CRITICAL **: gtype.c:2706: You forgot to call g_type_init() (process:29333): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:29333): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed Segmentation fault
Edit: Does it have something to do with the gnome support mentioned here?: http://aur.archlinux.org/packages.php?ID=38847
Comment by: gadget3000 on Tue, 13 Jul 2010 11:41:52 +0000
"You need to have the environment variable SPOTIFYGNOMESUPPORT set."
I dont know how to do this.
Last edited by Perre (2010-07-20 18:17:49)
Just for other people that might end up here with the same issue. Delete ~/.config/spotify and ~/.cache/spotify That at least worked for me when I had the same error messages.
Edit: in terminal, write "export SPOTIFYGNOMESUPPORT=yes". It actually just checks if $SPOTIFYGNOMESUPPORT is something, so feel free to replace "yes" with anything you'd like.
Last edited by eothred (2010-07-21 05:35:11)
Hello again, installed spotify from AUR recently and so far so good. Thanks!
Thanks for the help eothred but it still doesn't work.
I removed Spotify and all dependencies from my system, reinstalled and it still crashes when trying to access prefrences. I also tried to enter export SPOTIFYGNOMESUPPORT=yes in terminal but I don't know if I'm doing it right. Just enter it in terminal wherever?
[per@arch ~]$ spotify 17:33:43.148 I [offline_authorizer.cpp:156] Unable to login offline: no such user 17:33:43.477 I [ap:1387] Connecting to AP B1.spotify.com:4070 17:33:43.514 I [ap:937] Connected to AP: 220.127.116.11:4070 17:33:43.714 I [user_cache:136] UserCache::initiateGetUsers() will query for 1 users 17:33:55.189 I [user_cache:136] UserCache::initiateGetUsers() will query for 1 users Segmentation fault
Edit: Seems to be a problem others are having too:
http://getsatisfaction.com/spotify/topi … _file_load
http://www.ubervu.com/conversations/www … /12/linux/
Last edited by Perre (2010-07-21 17:54:21)
@Perre: the crash at startup is due to http://bugs.archlinux.org/task/19855 , downgrading flash to 10.0 (or removing it altogether) fixes it. Still segfaults when opening preferences though