RSS Feed

Last.FM Linux Client Available

2006/07/27 by Rolando Garza

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’.

10 Comments »

  1. Lonon says:

    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 says:

    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 says:

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

  4. Johnathan says:

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

  5. Post Babs says:

    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. [...] 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 says:

    Applications>Add/Remove>Lastfm

  8. oleander says:

    geez I own a mac and I still think you anti-compiling people are stupid ungrateful troll-pussies.

  9. gallivant says:

    I found this description and it is nice that it is indeed possible to build apps from source, but it is also very convenient that ubuntu is so damn easy to work with from an everyday perspective that it is just a question of adding last.fm via the built-in tool to do so. No hazzle ;-)

    So those who want to build can do that and those too lazy or not so technically savvy can just add the application. No need to raz one way or the other.

  10. caarlos0 says:

    Lonon = noob ;)

    try to install it using the deb package in slackware _|_
    aehiuaheiuaehiuae

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <del datetime=""> <em> <i> <img src="" alt="" title="" class="" height="" width=""> <ins datetime="" cite=""> <li> <ol> <strike> <strong> <sub> <sup> <ul>