Scrobbling to Last.fm with Amarok 2.3 and no Kwallet

I am not a great [[KWallet]] fan (probably due to ignorance), so when I introduce my [[Last.fm]] credentials in [[Amarok (software)|Amarok]] I get this warning that they will be saved in plain text (because Kwallet is not running). That didn’t bother me much, until recently. As it happens, my computer at work (Amarok 2.3 on [[Arch Linux]]) does not scrobble (publish) the tracks I play into Last.fm.

The root of the problem seems to be that my Last.fm credentials are not actually saved. If I go to Settings -> Configure Amarok -> Internet Services -> Last.fm, I can write my “Username” and “Password” there. If I click on “Test login”, it will report a success for valid credentials, and a failure for wrong ones. If I click “OK” (that is, save and exit), the aforementioned warning about Kwallet not running appears (no big deal so far), and if I choose to accept the proposal of saving the password in plain text Amarok seems to accept it. The problem is, it doesn’t really. My tracks don’t get scrobbled, and if I go to the Last.fm settings again, the credentials are empty.

In my computer at home, with an identical Amarok 2.3 on Arch Linux and with no Kwallet, the credentials do get saved, and the scrobbling does work. It might well be because I alreadly applied the trick I will explain next (and I don’t remember having done it). I came accross the solution at bug report 555688 at [[ Launchpad_(website)|Launchpad]], the Ubuntu bugtracking site.

The solution is simple. Edit the following file:

~/.kde4/share/config/amarokrc

and add the following (section [Service_LastFm] will most likely already exist):

[Service_LastFm]
fetchSimilar=true
ignoreWallet=yes
password=YOURPASSWORD
scrobble=true
username=YOURUSERNAME

where YOURPASSWORD and YOURUSERNAME must obviously be changed for the appropriate values.

8 Comments »

  1. sebthemonster said,

    June 14, 2010 @ 20:51 pm

    Thank you very much for you post… I was deseperate to listen my last.fm radios with Amarok !!!

  2. javi said,

    July 26, 2010 @ 20:53 pm

    Thanks. This post saved my day.

  3. Fabian said,

    August 2, 2010 @ 0:59 am

    Ohh thank you so much. I was getting so frustrated. Works perfectly :)

  4. betology said,

    August 8, 2010 @ 23:05 pm

    ubuntu 10.4 the file is in ~/.kde/share/config/amarokrc
    woks fine thanks

  5. amsterdammack said,

    September 16, 2010 @ 14:38 pm

    thank you!

  6. pootzko said,

    September 25, 2010 @ 9:08 am

    sweet, no unnecessary typing anymore, this is going to my bookmarks =)

  7. joei said,

    September 29, 2010 @ 15:17 pm

    cheers mate! this was awesome!

  8. Why is the new Amarok prompting me for Wallet password on start? said,

    December 19, 2022 @ 16:45 pm

    […] this is how you can switch kwallet off for amarok […]

RSS feed for comments on this post · TrackBack URI

Leave a Comment