Ubuntu – How to install last.fm scrobbler on ubuntu 14.04

14.04

http://www.last.fm/download?showplatform=Linux

it has the guide for 12.10 but not newer ones
plz someone help

Best Answer

  • It does not matter which repository do you use. Each repository installs the same version.

    Eg the debian repository

    sudo apt-add-repository "deb http://apt.last.fm/debian stable main"
    sudo apt-get update
    sudo apt-get install lastfm-scrobbler
    

    But there seems to be a error in the desktop file /usr/share/applications/lastfm-client.desktop

    [Desktop Entry]
    Name=Last.fm Client
    Comment=Listen to Last.fm radio
    Exec=/usr/bin/lastfm-client
    Icon=lastfm-client
    Terminal=false
    Type=Application
    Categories=Qt;Audio;AudioVideo;
    StartupNotify=true
    

    The binary Exec=/usr/bin/lastfm-client doesn't exist. Therefore open the file in an editor

    sudo nano /usr/share/applications/lastfm-client.desktop
    

    and change the line Exec= from

    Exec=/usr/bin/lastfm-client
    

    to

    Exec=/usr/bin/lastfm-scrobbler
    

    Alternatively you could copy the file into your local applications folder

    cp /usr/share/applications/lastfm-client.desktop ~/.local/share/applications/lastfm-client.desktop
    sudo chown $USER:USER ~/.local/share/applications/lastfm-client.desktop
    

    and make the changes in this file via

    nano ~/.local/share/applications/lastfm-client.desktop