Bug 28095 - Avatar Change not working on Classic Install Mageia 8 but does work on Live
Summary: Avatar Change not working on Classic Install Mageia 8 but does work on Live
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords: IN_ERRATA8
Depends on:
Blocks:
 
Reported: 2021-01-14 20:45 CET by Ezequiel Partida
Modified: 2023-05-10 07:20 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment: No fix as 2021-01-17


Attachments

Description Ezequiel Partida 2021-01-14 20:45:11 CET
Description of problem:

Once Mageia 8 Plasma 5 is installed with classic installer, if you open system settings / Personalization / User / click on the circle to change the avatar... Once saved it does not show when you lock the screen or change the loginscreen to something like Breeze or Breeze2

This same procedure does work while using Mageia 8 Live installer.

I notice that on the live installed Mageia, avatars are located at '/user/share/user-manager/avatars´.

But on the classic installer they are located at ´/usr/share/kpackage/kcms/kcm_users/contents/img/' 


I have not yet tried the netinstaller, but I will keep you posted

Regards

Ezequiel Partida (ZekeMX)
Comment 1 Lewis Smith 2021-01-14 20:58:29 CET
Thank you for the report.

On my system, which started life as a Classic M8alpha ISO, since kept up to date:
 $ ls /usr/share/kpackage/kcms/kcm_users/contents/img/
shows 18 .png images.
 $ ls /user/share/user-manager/avatars
ls: cannot access '/user/share/user-manager/avatars': No such file or directory

I prefer to leave this to Aurélien who will understand this better; messing with Plasma as described is not my scene: Avatars, themes...

CC'ing also Martin since it seems to bear on the ISO contents.

CC: (none) => mageia, ouaurelien

Comment 2 Ezequiel Partida 2021-01-16 01:39:54 CET
Hello,

Today I tested the Mageia 8 Net Installer, the path are the same as classic Install.

Once I tried to change the avatar on System Settings / Personalization / User /  I get "There was an error while saving changes.." on a pink ribbon message inside the window.

It seems to have changed it but after rebooting there is nothing.

Regards
Comment 3 Aurelien Oudelet 2021-01-17 17:48:09 CET
I reproduce the issue.
The systemsettings5 KCM Users doesn't update the .face.png file at the root of the user directory.

Reported upstream, already. A fix isn't available for the moment.

Keywords: (none) => FOR_ERRATA8
Assignee: bugsquad => kde

Aurelien Oudelet 2021-01-17 17:48:53 CET

Status comment: (none) => No fix as 2021-01-17

Comment 4 David GEIGER 2021-01-26 07:37:13 CET
Add upstream Url

CC: (none) => geiger.david68210
URL: (none) => https://bugs.kde.org/show_bug.cgi?id=422177

Comment 5 Aurelien Oudelet 2021-02-02 18:14:34 CET
To workaround this,
1) Choose and copy a png avatar like ones found under
/usr/share/kpackage/kcms/kcm_users/contents/img/

2) Copy/paste chosen PNG file as "~/.face"

3) Make a symlink as:
$ ln -s ./.face ./.face.icon

4) set ACL like this:
$ setfacl -m u:sddm:r ~/.face.icon
$ setfacl -m u:sddm:x ~/

This permits sddm to see your avatar as ".face.icon" in your user root home directory. Why makin a symlink?
For simply change your avatar by only change the ~/.face file.

AccountsService and QML KCM_users are totally broken as is for now.
Morgan Leijström 2021-02-06 13:21:16 CET

CC: (none) => fri
Keywords: FOR_ERRATA8 => IN_ERRATA8

Comment 6 Ezequiel Partida 2021-03-07 03:53:00 CET
Thank You Aurelien

It works great!
Comment 7 Ezequiel Partida 2023-05-10 07:20:49 CEST
I will mark this as fixed

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.