Bug#856195: sddm: /usr/share/sddm/faces/username.face.icon is ignored
Package: sddm Version: 0.14.0-2 Bug#856195 I solved by downloading the source package sddm, edited the file “sddm-0.14.0/src/greeter/UserModel.cpp” and applied these changes: ... const QString facesDir = mainConfig.Theme.FacesDir.get(); - const QString defaultFace = QStringLiteral("file://%1/.fac e.icon").arg(facesDir); + const QString defaultFace = QStringLiteral("%1/.face.icon" ).arg(facesDir); ... // search for face icon user->icon = defaultFace; + QString userFace = QStringLiteral("%1/.face.icon").arg(user->homeDir); + if (QFile::exists(userFace)) + user->icon = userFace; ... and compiled with: cd sddm-0.14.0 debuild -i -us -uc -b -d cd .. dpkg -i sddm_0.14.0-2_amd64.deb apt-mark hold sddm systemctl daemon-reload systemctl restart sddm After restart the service, the icons have reappeared. Thanks, Anthony
Processed: Re: Bug#856195: sddm: /usr/share/sddm/faces/username.face.icon is ignored
Processing control commands: > tag -1 + pending Bug #856195 [sddm] sddm: /usr/share/sddm/faces/username.face.icon is ignored Added tag(s) pending. -- 856195: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856195 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#856195: sddm: /usr/share/sddm/faces/username.face.icon is ignored
Control: tag -1 + pending ¡Hola Salvo! El 2017-02-27 a las 12:12 +0100, Salvo Tomaselli escribió: Thanks I'll do that. I have 2 non system users only though. Could it be caused by my avatar image being very large? I just use a photo and didn't bother making a smaller version. Ah, it's a different issue then. This one is fixed with the upstream commit: ecb903e48822bd90650bdd64fe80754e3e9664cb I'm adding the fix to our git repository, but I'm not sure if this merits a request to the release team. Happy hacking, -- "Nothing ever goes away." -- Commoner's Law of Ecology Saludos /\/\ /\ >< `/ signature.asc Description: PGP signature
Bug#856195: sddm: /usr/share/sddm/faces/username.face.icon is ignored
Hello! Thanks I'll do that. I have 2 non system users only though. Could it be caused by my avatar image being very large? I just use a photo and didn't bother making a smaller version. Il 27/Feb/2017 11:30, "Maximiliano Curia" ha scritto: > Control: severity -1 normal > Control: tag -1 + upstream > Control: forwarded -1 https://github.com/sddm/sddm/issues/785 > > ¡Hola Salvo! > > El 2017-02-26 a las 12:59 +0100, Salvo Tomaselli escribió: > >> Package: sddm Version: 0.14.0-2 Severity: important >> > > marking this as high so it blocks updates for people who have apt-listbug >> > > The new release of sddm is showing the generic user icon for every user >> and no longer using the images I placed in /usr/share/sddm/faces/ >> > > It's kind of pointless to have icons for the users if they all look >> identical. >> > > tl;dr: Add this block to your /etc/sddm.conf (create the file if it > doesn't exists): > [Theme] > EnableAvatars=true > > The new version of sddm has a new configuration option > (DisableAvatarsThreshold) that disables the use of the avatars when the > amount of users is greater than this value. This option reduces the time > sddm takes to load in systems that have a large number of users, that > probably have their home directories using nfs automount. > > The upstream default is 7, which is kind of low. If you have more than 7 > users in your system you might want to raise this value, or you can > explicitly set the EnableAvatars value. > > This is documented in the generated example configuration file in > (/usr/share/doc/sddm/sddm.conf), I'm requesting upstream to document this > option in the sddm.conf manpage. > > Happy hacking, > -- > "A computer program does what you tell it to do, not what you want it to > do." > -- Greer's Law > Saludos /\/\ /\ >< `/ >
Processed: Re: Bug#856195: sddm: /usr/share/sddm/faces/username.face.icon is ignored
Processing control commands: > severity -1 normal Bug #856195 [sddm] sddm: /usr/share/sddm/faces/username.face.icon is ignored Severity set to 'normal' from 'important' > tag -1 + upstream Bug #856195 [sddm] sddm: /usr/share/sddm/faces/username.face.icon is ignored Added tag(s) upstream. > forwarded -1 https://github.com/sddm/sddm/issues/785 Bug #856195 [sddm] sddm: /usr/share/sddm/faces/username.face.icon is ignored Set Bug forwarded-to-address to 'https://github.com/sddm/sddm/issues/785'. -- 856195: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856195 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#856195: sddm: /usr/share/sddm/faces/username.face.icon is ignored
Control: severity -1 normal Control: tag -1 + upstream Control: forwarded -1 https://github.com/sddm/sddm/issues/785 ¡Hola Salvo! El 2017-02-26 a las 12:59 +0100, Salvo Tomaselli escribió: Package: sddm Version: 0.14.0-2 Severity: important marking this as high so it blocks updates for people who have apt-listbug The new release of sddm is showing the generic user icon for every user and no longer using the images I placed in /usr/share/sddm/faces/ It's kind of pointless to have icons for the users if they all look identical. tl;dr: Add this block to your /etc/sddm.conf (create the file if it doesn't exists): [Theme] EnableAvatars=true The new version of sddm has a new configuration option (DisableAvatarsThreshold) that disables the use of the avatars when the amount of users is greater than this value. This option reduces the time sddm takes to load in systems that have a large number of users, that probably have their home directories using nfs automount. The upstream default is 7, which is kind of low. If you have more than 7 users in your system you might want to raise this value, or you can explicitly set the EnableAvatars value. This is documented in the generated example configuration file in (/usr/share/doc/sddm/sddm.conf), I'm requesting upstream to document this option in the sddm.conf manpage. Happy hacking, -- "A computer program does what you tell it to do, not what you want it to do." -- Greer's Law Saludos /\/\ /\ >< `/ signature.asc Description: PGP signature
Bug#856195: sddm: /usr/share/sddm/faces/username.face.icon is ignored
Package: sddm Version: 0.14.0-2 Severity: important Dear Maintainer, marking this as high so it blocks updates for people who have apt-listbug The new release of sddm is showing the generic user icon for every user and no longer using the images I placed in /usr/share/sddm/faces/ It's kind of pointless to have icons for the users if they all look identical. Best -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages sddm depends on: ii adduser 3.115 ii debconf [debconf-2.0] 1.5.60 ii libc6 2.24-9 ii libgcc1 1:6.3.0-8 ii libpam0g1.1.8-3.5 ii libqt5core5a5.7.1+dfsg-3+b1 ii libqt5dbus5 5.7.1+dfsg-3+b1 ii libqt5gui5 5.7.1+dfsg-3+b1 ii libqt5network5 5.7.1+dfsg-3+b1 ii libqt5qml5 5.7.1-2 ii libqt5quick55.7.1-2 ii libstdc++6 6.3.0-8 ii libsystemd0 232-18 ii libxcb-xkb1 1.12-1 ii libxcb1 1.12-1 ii qml-module-qtquick2 5.7.1-2 ii x11-common 1:7.7+18 ii xserver-xorg [xserver] 1:7.7+18 Versions of packages sddm recommends: ii libpam-systemd 232-18 ii sddm-theme-breeze [sddm-theme] 4:5.8.4-1 Versions of packages sddm suggests: pn libpam-kwallet5 -- debconf information: sddm/daemon_name: /usr/bin/sddm * shared/default-x-display-manager: sddm