0x79 - a blog

Work in progress.

Category: Linux

Spotify Client crashes after gtk2 update

I recently ran in to some problems with the lpf spotify client for fedora (version 0.9.11.27). It was randomly crashing with a segfault caused by a gtk2 update. Downgrading gtk2 to 2.24.22 solved the problem.

You can also temporarily disable the gtk update by adding the following line to /etc/yum.conf

exclude=gtk2
more ...

yum - list packages you actually installed

If you want to find out, which packages you installed (without package dependencies), use the following commands to do it:

# find the most recent history entry
yum history list
    Loaded plugins: langpacks, refresh-packagekit
    ID     | Login user               | Date and time    | Action(s)      | Altered
    -------------------------------------------------------------------------------
       152 | System <unset>           | 2015-02-05 22:42 | Update         |   11   
       151 | System <unset>           | 2015-02-05 00:05 | Install        |   80   
#...

# get detailed information on changes from update no.1 till the latest entry
# grep for " Install" (don't forget the leading space, to omit Dep-Install entries)
yum history info 2..152 | grep " Install"
#...
    Install     gnuplot-4.6.3-6.fc20.x86_64                         @updates …
more ...

Install Spotify client on Fedora

Spotify has made a Linux version of their desktop client here, but its only available as a .deb package. If you want to install the fedora client, there is a repackaged version on rpmfusion.

1
2
3
#!/bin/bash
yum install lpf-spotify-client
lpf-spotify-client

This automatically downloads and builds the spotify client and it should also install the necessary dependencies python-devel and dbus-x11.

more ...