InsideDarkWeb.com

How do I set a picture for my user on the login screen in Lubuntu 20.04?

I would like to display an image of my choice instead of the grey icon above my username on the login screen:

sddm lubuntu theme login screen

No doubt there is a setting for this somewhere, but I have failed to find it so far.

How do I change user images in the SDDM greeter?


Useful for testing — you can use this command to preview the login screen without logging out.

Ask Ubuntu Asked on November 21, 2021

3 Answers

3 Answers

sudo nano /etc/sddm.conf

Under block [Theme].

[Theme]
EnableAvatars=true
FacesDir=/usr/share/sddm/faces 

I named my picture my-user-name.face.icon, so I don't mix it with user-pictures from other users.

Answered by nobody on November 21, 2021

This answer was provided in comment first by @yfluK

I'll suggest you look up the manual, ie. https://manual.lubuntu.me/stable/3/3.1/3.1.9/sddm_configuration.html?highlight=face%20icon

To change the picture for your user when you login simply copy the file you want as your user picture to in your home folder with the name .face.icon .

The file is located in ~ (your user directory)

Answered by guiverc on November 21, 2021

There is a good guide for this on https://wiki.archlinux.org/index.php/SDDM#Installation

User icon (avatar) SDDM reads the user icon (a.k.a. "avatar") as a PNG image from either ~/.face.icon for each user, or the common location for all users specified by FacesDir in an SDDM configuration file. The configuration setting can be placed in either /etc/sddm.conf directly, or, better, a file under /etc/sddm.conf.d/ such as /etc/sddm.conf.d/avatar.conf.

To use the FacesDir location option, place a PNG image for each user named username.face.icon at the location specified by the FacesDir key in the configuration file. The default location for FacesDir is /usr/share/sddm/faces/. You can change the default FacesDir location to suit your needs. Here is an example:

/etc/sddm.conf.d/avatar.conf
[Theme]
FacesDir=/var/lib/AccountsService/icons/

I Just kept the pic I wanted in /usr/share/sddm/faces/ with the name <user-name>.face.icon As per the wiki it seems only .png files are supported.

enter image description here

enter image description here

Answered by UnKNOWn on November 21, 2021

Add your own answers!

Related Questions

Unity 3D editor window filled with pink color

2  Asked on January 9, 2021 by afsal

   

BIOS update – Ubuntu 20.04 – Asus A320m-k

0  Asked on January 8, 2021 by mmiroslav13

     

HyperX Headset not working

0  Asked on January 7, 2021 by notonline

     

Only Dummy-Output audio after restart

0  Asked on January 7, 2021 by linuxidiot44ab

         

My latte-dock does not reappear after auto hiding

0  Asked on January 6, 2021 by thulashitharan-d

       

New Ryzen 3950X segfaults and XID errors

0  Asked on January 6, 2021 by fsociety

     

How to install some .deb packages from cache with apt?

1  Asked on January 5, 2021 by archisman-panigrahi

     

Ubuntu 15.10: blurry texts and images

3  Asked on January 5, 2021 by th3_z3r0

         

Expand volume size in Ubuntu 18.04 VPS | Xen

0  Asked on January 4, 2021 by bongda668

   

Uninstall Ubuntu Studio

0  Asked on January 4, 2021 by noah-strong

   

veth.ko missing

0  Asked on January 4, 2021 by seffyroff

     

Error in Boot Sequence

0  Asked on January 4, 2021 by malika-arora

         

Ask a Question

Get help from others!

© 2021 InsideDarkWeb.com. All rights reserved.