Setting user icon / avatar in manjaro KDE

1 minute read

/intro

a problem I just had when installing Manjaro linux (KDE edition) was that I could not change my user’s avatar image. No matter what I did it kept defaulting to blank

after a few web searches I stumbled on a good pointer.

turn out manjaro read the user image file from this location /var/lib/AccountsService/icons and that location if you check who owns it is… ROOT

/why

so it happens that you go to kde settings or manjaro settings and change the image, input your admin password, but the image is not displayed.

it happens because when you authenticate as admin you can save your chosen image, but after that, your user itself cannot read from it…

/the_fix

the fix, in my case, is this one liner

[user@hostname: ~]$ sudo chown <user>:root /var/lib/AccountsService/icons/<user>

<user> is your username, and inside that icons folder there is a file with you username that will be the avatar image. It is the same image set by kde that you can fine as .face in your home folder.

the above command will make that file readable to you user, so you will be able to set as usual from the system settings and change it at will.

Updated: