• Plasma 5.20.4: System Preferences -> User Management: User image do

    From =?UTF-8?Q?H=C3=A9ctor_Sales_Llamas?@21:1/5 to All on Fri Dec 25 11:30:02 2020
    *Update:* it also doesn't seem to work on the login screen with sddm the
    image don't change!

    Regards

    El vie, 25 dic 2020 a las 10:01, Héctor Sales Llamas (< hectorvicentesales@gmail.com>) escribió:

    If I choose the image from the file the user image changes correctly (Screenshot1) but if I choose one of the images that come by default they
    do not change (Screenshot2)

    *Note: *This strange behavior has happened to me in both sid and testing (upgrade from unstable plasma 5.20 and frameworks 5.77.0-2)

    Best Regards


    <div dir="ltr"><b>Update:</b> it also doesn&#39;t seem to work on the login screen with sddm the image don&#39;t change!<br><div><br></div><div>Regards</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie, 25 dic 2020 a las 10:
    01, Héctor Sales Llamas (&lt;<a href="mailto:hectorvicentesales@gmail.com">hectorvicentesales@gmail.com</a>&gt;) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
    <div dir="ltr">If I choose the image from the file the user image changes correctly (Screenshot1) but if I choose one of the images that come by default they do not change (Screenshot2)<br><br><b>Note: </b>This strange behavior has happened to me in both
    sid and testing (upgrade from unstable plasma 5.20 and frameworks 5.77.0-2)<br><br>Best Regards<br></div>
    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luca.pedrielli@21:1/5 to All on Fri Dec 25 18:50:02 2020
    This is a multi-part message in MIME format.
    I can confirm.
    It seems that sddm looks for avatar in ~/.face.icon or in
    /usr/share/sddm/faces (you can change it
    with the FaceDir key in the sddm configuration file)
    In the new kcm_users, if you choose the avatar from file, it write in /var/lib/AccountsService/icons and update
    the Icon key in /var/lib/AccountsService/user.
    If you choose a default image only the Icon key in /var/lib/AccountsService/user is updated.

    :(

    Best, Luca.

    Il 25/12/20 11:28, Héctor Sales Llamas ha scritto:
    *Update:* it also doesn't seem to work on the login screen with sddm
    the image don't change!

    Regards

    El vie, 25 dic 2020 a las 10:01, Héctor Sales Llamas (<hectorvicentesales@gmail.com <mailto:hectorvicentesales@gmail.com>>) escribió:

    If I choose the image from the file the user image changes
    correctly (Screenshot1) but if I choose one of the images that
    come by default they do not change (Screenshot2)

    *Note: *This strange behavior has happened to me in both sid and
    testing (upgrade from unstable plasma 5.20 and frameworks 5.77.0-2)

    Best Regards


    --
    Saluti, Luca Pedrielli


    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div class="moz-cite-prefix">I can confirm.</div>
    <div class="moz-cite-prefix">It seems that sddm looks for avatar in
    ~/.face.icon or in /usr/share/sddm/faces (you can change it</div>
    <div class="moz-cite-prefix">with the FaceDir key in the sddm
    configuration file)</div>
    <div class="moz-cite-prefix">In the new kcm_users, if you choose the
    avatar from file, it write in /var/lib/AccountsService/icons and
    update</div>
    <div class="moz-cite-prefix">the Icon key in
    /var/lib/AccountsService/user.</div>
    <div class="moz-cite-prefix">If you choose a default image only the
    Icon key in /var/lib/AccountsService/user is updated.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">:(</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Best, Luca.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Il 25/12/20 11:28, Héctor Sales Llamas
    ha scritto:<br>
    </div>
    <blockquote type="cite" cite="mid:CA+FRte+49PazmQu8Z5Xu=yhPKDc7P+RD7qdr7e-Ro22hrEy-JA@mail.gmail.com">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <div dir="ltr"><b>Update:</b> it also doesn't seem to work on the
    login screen with sddm the image don't change!<br>
    <div><br>
    </div>
    <div>Regards</div>
    </div>
    <br>
    <div class="gmail_quote">
    <div dir="ltr" class="gmail_attr">El vie, 25 dic 2020 a las
    10:01, Héctor Sales Llamas (&lt;<a
    href="mailto:hectorvicentesales@gmail.com"
    moz-do-not-send="true">hectorvicentesales@gmail.com</a>&gt;)
    escribió:<br>
    </div>
    <blockquote class="gmail_quote" style="margin:0px 0px 0px
    0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
    <div dir="ltr">If I choose the image from the file the user
    image changes correctly (Screenshot1) but if I choose one of
    the images that come by default they do not change
    (Screenshot2)<br>
    <br>
    <b>Note: </b>This strange behavior has happened to me in
    both sid and testing (upgrade from unstable plasma 5.20 and
    frameworks 5.77.0-2)<br>
    <br>
    Best Regards<br>
    </div>
    </blockquote>
    </div>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">--
    Saluti, Luca Pedrielli </pre>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?H=C3=A9ctor_Sales_Llamas?@21:1/5 to All on Fri Dec 25 19:30:01 2020
    Thanks for the explanation, then it is a problem pertaining to the package plasma-desktop-data ?.

    This package provides:

    ...............................................................................................................................
    /usr/share/kpackage/kcms/kcm_users /usr/share/kpackage/kcms/kcm_users/contents /usr/share/kpackage/kcms/kcm_users/contents/img /usr/share/kpackage/kcms/kcm_users/contents/img/Artist Konqi.png ........................................................................


    On plasma 5.19.x you change the image and this is update on menu and login screen at once.

    Best Regards,


    El vie, 25 dic 2020 a las 18:49, luca.pedrielli (<agoiza@gmail.com>)
    escribió:

    I can confirm.
    It seems that sddm looks for avatar in ~/.face.icon or in /usr/share/sddm/faces (you can change it
    with the FaceDir key in the sddm configuration file)
    In the new kcm_users, if you choose the avatar from file, it write in /var/lib/AccountsService/icons and update
    the Icon key in /var/lib/AccountsService/user.
    If you choose a default image only the Icon key in /var/lib/AccountsService/user is updated.

    :(

    Best, Luca.

    Il 25/12/20 11:28, Héctor Sales Llamas ha scritto:

    *Update:* it also doesn't seem to work on the login screen with sddm the image don't change!

    Regards

    El vie, 25 dic 2020 a las 10:01, Héctor Sales Llamas (< hectorvicentesales@gmail.com>) escribió:

    If I choose the image from the file the user image changes correctly
    (Screenshot1) but if I choose one of the images that come by default they
    do not change (Screenshot2)

    *Note: *This strange behavior has happened to me in both sid and testing
    (upgrade from unstable plasma 5.20 and frameworks 5.77.0-2)

    Best Regards


    --
    Saluti, Luca Pedrielli



    <div dir="ltr">Thanks for the explanation, then it is a problem pertaining to the package plasma-desktop-data ?.<div><br></div><div>This package provides:<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:
    1px solid rgb(204,204,204);padding-left:1ex">...............................................................................................................................<br><span style="font-family:monospace"><span style="color:rgb(0,0,0)">/usr/share/
    kpackage/kcms/kcm_users<br>
    </span></span><span style="font-family:monospace">/usr/share/kpackage/kcms/kcm_users/contents<br>
    </span><span style="font-family:monospace">/usr/share/kpackage/kcms/kcm_users/contents/img<br>
    </span><span style="font-family:monospace">/usr/share/kpackage/kcms/kcm_users/contents/img/Artist Konqi.png<br></span><span style="font-family:monospace">........................................................................</span></blockquote><div><br>
    </div><div> On plasma 5.19.x you change the image and this is update on menu and login screen at once.</div><div><br></div><div>Best Regards, </div><div><span style="font-family:monospace">
    <br></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie, 25 dic 2020 a las 18:49, luca.pedrielli (&lt;<a href="mailto:agoiza@gmail.com">agoiza@gmail.com</a>&gt;) escribió:<br></div><blockquote class="gmail_quote"
    style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



    <div>
    <div>I can confirm.</div>
    <div>It seems that sddm looks for avatar in
    ~/.face.icon or in /usr/share/sddm/faces (you can change it</div>
    <div>with the FaceDir key in the sddm
    configuration file)</div>
    <div>In the new kcm_users, if you choose the
    avatar from file, it write in /var/lib/AccountsService/icons and
    update</div>
    <div>the Icon key in
    /var/lib/AccountsService/user.</div>
    <div>If you choose a default image only the
    Icon key in /var/lib/AccountsService/user is updated.</div>
    <div><br>
    </div>
    <div>:(</div>
    <div><br>
    </div>
    <div>Best, Luca.</div>
    <div><br>
    </div>
    <div>Il 25/12/20 11:28, Héctor Sales Llamas
    ha scritto:<br>
    </div>
    <blockquote type="cite">

    <div dir="ltr"><b>Update:</b> it also doesn&#39;t seem to work on the
    login screen with sddm the image don&#39;t change!<br>
    <div><br>
    </div>
    <div>Regards</div>
    </div>
    <br>
    <div class="gmail_quote">
    <div dir="ltr" class="gmail_attr">El vie, 25 dic 2020 a las
    10:01, Héctor Sales Llamas (&lt;<a href="mailto:hectorvicentesales@gmail.com" target="_blank">hectorvicentesales@gmail.com</a>&gt;)
    escribió:<br>
    </div>
    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
    <div dir="ltr">If I choose the image from the file the user
    image changes correctly (Screenshot1) but if I choose one of
    the images that come by default they do not change
    (Screenshot2)<br>
    <br>
    <b>Note: </b>This strange behavior has happened to me in
    both sid and testing (upgrade from unstable plasma 5.20 and
    frameworks 5.77.0-2)<br>
    <br>
    Best Regards<br>
    </div>
    </blockquote>
    </div>
    </blockquote>
    <p><br>
    </p>
    <pre cols="72">--
    Saluti, Luca Pedrielli </pre>
    </div>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Norbert Preining@21:1/5 to luca.pedrielli on Fri Dec 25 22:10:02 2020
    Hi

    On Fri, 25 Dec 2020, luca.pedrielli wrote:
    It seems that sddm looks for avatar in ~/.face.icon or in /usr/share/sddm/faces (you can change it

    Hmm, according to https://github.com/sddm/sddm/issues/683 this icons of AccountsService should be available since sometime in 2018 ...
    And sddm hasn't changed in this respect I think, and the former
    user-manager also used AccountsService.

    Checking the source of sddm:
    const QString userFace = QStringLiteral("%1/.face.icon").arg(user->homeDir);
    const QString systemFace = QStringLiteral("%1/%2.face.icon").arg(facesDir).arg(user->name);
    QString accountsServiceFace = QStringLiteral("/var/lib/AccountsService/icons/%1").arg(user->name);

    if (QFile::exists(userFace))
    user->icon = QStringLiteral("file://%1").arg(userFace);
    else if (QFile::exists(accountsServiceFace))
    user->icon = accountsServiceFace;
    else if (QFile::exists(systemFace))
    user->icon = QStringLiteral("file://%1").arg(systemFace);

    so it checks
    - ~/.face.icon
    - sddm face dir/$USER.face.icon
    - /var/lib/AccountsService/icons/$USER

    So changes *should* show up ...

    I am a bit puzzled.

    Norbert

    --
    PREINING Norbert https://www.preining.info
    Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
    GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luca.pedrielli@21:1/5 to All on Sat Dec 26 10:20:01 2020
    This is a multi-part message in MIME format.
    Il 25/12/20 22:00, Norbert Preining ha scritto:
    Hi

    On Fri, 25 Dec 2020, luca.pedrielli wrote:
    It seems that sddm looks for avatar in ~/.face.icon or in
    /usr/share/sddm/faces (you can change it
    Hmm, according to https://github.com/sddm/sddm/issues/683 this icons of AccountsService should be available since sometime in 2018 ...
    And sddm hasn't changed in this respect I think, and the former
    user-manager also used AccountsService.

    Checking the source of sddm:
    const QString userFace = QStringLiteral("%1/.face.icon").arg(user->homeDir);
    const QString systemFace = QStringLiteral("%1/%2.face.icon").arg(facesDir).arg(user->name);
    QString accountsServiceFace = QStringLiteral("/var/lib/AccountsService/icons/%1").arg(user->name);

    if (QFile::exists(userFace))
    user->icon = QStringLiteral("file://%1").arg(userFace);
    else if (QFile::exists(accountsServiceFace))
    user->icon = accountsServiceFace;
    else if (QFile::exists(systemFace))
    user->icon = QStringLiteral("file://%1").arg(systemFace);

    so it checks
    - ~/.face.icon
    - sddm face dir/$USER.face.icon
    - /var/lib/AccountsService/icons/$USER

    So changes *should* show up ...

    I am a bit puzzled.

    Norbert

    Hi Norbert,

    I've tested with new users and sddm works as you say:

    ----------------------------------------------------------------------------------------------------------------------------

    $ LC_ALL=C strace -f sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze 2>&1 | grep 'Accounts\|face.icon'
    [pid 11780]
    access("/usr/share/sddm/themes/debian-theme/faces/.face.icon", F_OK) =
    -1 ENOENT (No such file or directory)
    [pid 11780] access("/home/ilprof/.face.icon", F_OK) = -1 ENOENT (No such
    file or directory)
    [pid 11780] access("/var/lib/AccountsService/icons/ilprof", F_OK) = 0
    [pid 11780] access("/home/mario/.face.icon", F_OK) = -1 ENOENT (No such
    file or directory)
    [pid 11780] access("/var/lib/AccountsService/icons/mario", F_OK) = -1
    ENOENT (No such file or directory)
    [pid 11780] access("/usr/share/sddm/faces/mario.face.icon", F_OK) = -1
    ENOENT (No such file or directory)
    [pid 11780] access("/var/lib/AccountsService/icons/ilprof", F_OK) = 0
    [pid 11780] openat(AT_FDCWD, "/var/lib/AccountsService/icons/ilprof", O_RDONLY|O_CLOEXEC) = 19
    [pid 11780] openat(AT_FDCWD, "/usr/share/sddm/faces/.face.icon", O_RDONLY|O_CLOEXEC) = 19

    ----------------------------------------------------------------------------------------------------------------------------

    but the strange behaviour of kcm_users remains:

    If you choose a default image /var/lib/AccountsService/icons/$USER is
    not updated

    Best, Luca



    --
    PREINING Norbert https://www.preining.info Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
    GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


    --
    Saluti, Luca Pedrielli


    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-15">
    </head>
    <body>
    <div class="moz-cite-prefix">Il 25/12/20 22:00, Norbert Preining ha
    scritto:<br>
    </div>
    <blockquote type="cite"
    cite="mid:X+ZS5noAMy%2F2hdnX@burischnitzel.preining.info">
    <pre class="moz-quote-pre" wrap="">Hi

    On Fri, 25 Dec 2020, luca.pedrielli wrote:
    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">It seems that sddm looks for avatar in ~/.face.icon or in
    /usr/share/sddm/faces (you can change it
    </pre>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    Hmm, according to <a class="moz-txt-link-freetext" href="https://github.com/sddm/sddm/issues/683">https://github.com/sddm/sddm/issues/683</a> this icons of
    AccountsService should be available since sometime in 2018 ...
    And sddm hasn't changed in this respect I think, and the former
    user-manager also used AccountsService.

    Checking the source of sddm:
    const QString userFace = QStringLiteral("%1/.face.icon").arg(user-&gt;homeDir);
    const QString systemFace = QStringLiteral("%1/%2.face.icon").arg(facesDir).arg(user-&gt;name);
    QString accountsServiceFace = QStringLiteral("/var/lib/AccountsService/icons/%1").arg(user-&gt;name);

    if (QFile::exists(userFace))
    user-&gt;icon = QStringLiteral(<a class="moz-txt-link-rfc2396E" href="file://%1">"file://%1"</a>).arg(userFace);
    else if (QFile::exists(accountsServiceFace))
    user-&gt;icon = accountsServiceFace;
    else if (QFile::exists(systemFace))
    user-&gt;icon = QStringLiteral(<a class="moz-txt-link-rfc2396E" href="file://%1">"file://%1"</a>).arg(systemFace);

    so it checks
    - ~/.face.icon
    - sddm face dir/$USER.face.icon
    - /var/lib/AccountsService/icons/$USER

    So changes *should* show up ...

    I am a bit puzzled.

    Norbert</pre>
    </blockquote>
    <p>Hi Norbert,</p>
    <p>I've tested with new users and sddm works <span class="VIiyi"
    lang="en"><span class="JLqJ4b ChMk0b"
    data-language-for-alternatives="en"
    data-language-to-translate-into="it" data-phrase-index="0"><span>as
    you say:</span></span></span></p>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
    data-language-for-alternatives="en"
    data-language-to-translate-into="it" data-phrase-index="0"><span><font
    face="monospace">----------------------------------------------------------------------------------------------------------------------------<br>
    </font></span></span></span></p>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
    data-language-for-alternatives="en"
    data-language-to-translate-into="it" data-phrase-index="0"><span><font
    face="monospace">$ LC_ALL=C strace -f sddm-greeter
    --test-mode --theme /usr/share/sddm/themes/breeze
    2&gt;&amp;1 | grep 'Accounts\|face.icon'<br>
    [pid 11780]
    access("/usr/share/sddm/themes/debian-theme/faces/.face.icon",
    F_OK) = -1 ENOENT (No such file or directory)<br>
    [pid 11780] access("/home/ilprof/.face.icon", F_OK) = -1
    ENOENT (No such file or directory)<br>
    [pid 11780]
    access("/var/lib/AccountsService/icons/ilprof", F_OK) = 0<br>
    [pid 11780] access("/home/mario/.face.icon", F_OK) = -1
    ENOENT (No such file or directory)<br>
    [pid 11780] access("/var/lib/AccountsService/icons/mario",
    F_OK) = -1 ENOENT (No such file or directory)<br>
    [pid 11780]
    access("/usr/share/sddm/faces/mario.face.icon", F_OK) = -1
    ENOENT (No such file or directory)<br>
    [pid 11780]
    access("/var/lib/AccountsService/icons/ilprof", F_OK) = 0<br>
    [pid 11780] openat(AT_FDCWD,
    "/var/lib/AccountsService/icons/ilprof",
    O_RDONLY|O_CLOEXEC) = 19<br>
    [pid 11780] openat(AT_FDCWD,
    "/usr/share/sddm/faces/.face.icon", O_RDONLY|O_CLOEXEC) =
    19<br>
    </font></span></span></span><br>
    <span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
    data-language-for-alternatives="en"
    data-language-to-translate-into="it" data-phrase-index="0"><span><span
    class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
    data-language-for-alternatives="en"
    data-language-to-translate-into="it"
    data-phrase-index="0"><span><font face="monospace">----------------------------------------------------------------------------------------------------------------------------</font></span></span></span></span></span></span></p>
    <p>but the strange behaviour of kcm_users remains: <br>
    </p>
    <p>If you choose a default image
    /var/lib/AccountsService/icons/$USER is not updated<br>
    </p>
    <p>Best, Luca</p>
    <br>
    <blockquote type="cite"
    cite="mid:X+ZS5noAMy%2F2hdnX@burischnitzel.preining.info">
    <pre class="moz-quote-pre" wrap="">

    --
    PREINING Norbert <a class="moz-txt-link-freetext" href="https://www.preining.info">https://www.preining.info</a>
    Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
    GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
    </pre>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">--
    Saluti, Luca Pedrielli </pre>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luca.pedrielli@21:1/5 to All on Sat Dec 26 20:00:02 2020
    Il 26/12/20 10:23, Rik Mills ha scritto:
    Perhaps https://bugs.kde.org/show_bug.cgi?id=422177

    I think you are right.

    Thanks.

    --
    Saluti, Luca Pedrielli

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)