Last.FM Linux Client Available

Good news for music listeners using a Linux distro. There is now a Linux version available of the Last.FM player:

Last.FM and Audioscrobbler Logo Linux Client

Here is a brief tutorial on how to install it on Ubuntu Linux.

You’re going to have to compile from the files in the tarball. And for compiling, you’ll need to get Qt4. In case you can’t find Qt4 in Apt or Synaptic, make sure your sources.list file (located in /etc/apt/sources.list) has plenty of repositories (for that, you can check this Sources.list generator).

You can check if you have a recent version of Qt installed by typing entering the following command in the Terminal:
$ qmake -v
This should output something like:

QMake version: 2.00a
Using Qt version 4.1.2 in /usr/lib

You should read the ‘readme’ file for the installation instructions. However there seems to be a small difference in the steps needed to compile in Ubuntu.

The instructions tell you to run the following commands:
$ qmake
$ make

However when I ran these commands, I got some instructions on the usage of qmake and also received an error telling me ‘bash: make: command not found‘.

In my case, I typed in
$ qmake -project
$ qmake

And everything worked fine. A ’shell script’ file called ‘lastfm’ was generated and when I ran it, the Last.FM player ran flawlessly:

Last.FM Player Screenshot

Additionally, you might want to integrate the handling of lastfm:// links into Firefox.

What I did is rename the ‘lastfm’ shell script into ‘player’. I then renamed the Last.FM folder to ‘lastfm’. I moved the ‘lastfm’ folder to /home/your_username/ and…

If you want to enable Firefox to handle the lastfm protocol, you have to:

  1. type in the Firefox address bar ‘about:config’
  2. create a new string value by right-clicking anywhere and selecting ‘new string’
  3. as the preference name, set ‘network.protocol-handler.app.lastfm’, and as its value ‘/home/your_username/lastfm/player’.

Comments (7) left to “Last.FM Linux Client Available”

  1. Lonon wrote:

    Are you serious?
    All of this sh*t just for last.fm? Always the same.. MAKE. THE. F*UCKING. INSTALLER.

    Nobody is going to compile anything.

  2. Lonon wrote:

    Oh! come on!
    You can just download the friking .deb and that’s it. I supposed you can’t feel like a hacker if you do it the easy way.. right?

  3. Rammag wrote:

    the installer is just for Feisty, on other Ubuntu distibutions we”ll have to install it “the hacker way”.

  4. Johnathan wrote:

    Just use the installer? Not if you are running amd64 stupid.

  5. Post Babs wrote:

    Jesus, Lonon, learn to install from a tarball, it’s not brain surgery, and source code is universal. Oh, my distro doesn’t use .debs. I suppose I should give up and buy a Mac, right? Fuck you

  6. Graceful Exits » Last.fm on Ubuntu Gutsy: smooth as rabbit fur wrote:

    [...] a spot of Googling I was expecting to have to go through the same palaver with Last.fm’s client, and crossed my fingers that nothing would go horribly wrong. But I needn’t have worried: the [...]

  7. x wrote:

    Applications>Add/Remove>Lastfm

Post a Comment

*Required
*Required (Never published)