If you see any errors in this guide, please inform me so I can make the necessary corrections.
This is a step‑by‑step guide for changing the user avatar and enabling a dark theme on the Qubes OS 4.3 login screen (LightDM), and for changing the avatar used by the lock screen (xfce‑screensaver). It also includes:
lightdm-gtk-greeter-settings) for editing the LightDM greeter config./etc/lightdm/lightdm-gtk-greeter.conf~/.faceQubes OS 4.3 uses:
This guide shows how to:
All changes happen in dom0.
/etc in dom0; mistakes can affect your ability to log in.lightdm-gtk-greeter-settings) increases dom0’s complexity and attack surface. If you prefer minimal dom0 changes, stick to the manual config‑file method.LightDM’s GTK greeter supports a default user image. You can point it to any PNG/JPEG image available in dom0.
The avatar image ultimately needs to exist as a file in dom0, but there are two main ways to get it there:
qvm-run --pass-io.~/Pictures/avatar.jpg# In dom0
sudo mkdir -p /usr/share/pixmaps
sudo cp ~/Pictures/avatar.jpg /usr/share/pixmaps/my-user.jpg
sudo chmod 644 /usr/share/pixmaps/my-user.jpg
This way, you never copy the original file from the VM into dom0; you only create a new image in dom0 via a fullscreen screenshot of what is displayed on the screen.
If you’re okay copying the file itself into dom0, you can use qvm-run --pass-io (see next subsection).
If your profile picture is in an AppVM/DispVM (e.g. disp1234), and you do want to copy the actual file into dom0, use:
Warning: Only do this for images you fully trust.
~/Downloads/ProfilePicture.jpg.qvm-run --pass-io disp1234 'cat /home/user/Downloads/ProfilePicture.jpg' \
> /usr/share/pixmaps/ProfilePicture.jpg
sudo chmod 644 /usr/share/pixmaps/ProfilePicture.jpg
You can now use /usr/share/pixmaps/ProfilePicture.jpg as your avatar path in the LightDM config.
sudo nano /etc/lightdm/lightdm-gtk-greeter.conf
[greeter] section (create it if it doesn’t exist), then add or edit:[greeter]
default-user-image=/usr/share/pixmaps/ProfilePicture.jpg
or, if you used the earlier example:
[greeter]
default-user-image=/usr/share/pixmaps/my-user.png
Make sure there is only one default-user-image= line in [greeter].
3. Save and exit (Ctrl+O, Enter, Ctrl+X in nano).
4. Reboot so LightDM reloads the config:
sudo reboot
After reboot, the login screen should show the new avatar.
lightdm-gtk-greeter-settingsInstead of manually editing /etc/lightdm/lightdm-gtk-greeter.conf, you can install a graphical configuration tool:
Cons: Requires installing additional packages in dom0, which some users prefer to avoid for security/minimalism reasons.
In dom0, install the tool (for Fedora‑based dom0):
sudo dnf install lightdm-gtk-greeter-settings
lightdm-gtk-greeter-settings
/usr/share/pixmaps/ or another location).The GUI will update /etc/lightdm/lightdm-gtk-greeter.conf for you. You still need to reboot for LightDM to apply the changes.
If you don’t want extra packages in dom0, skip this and stick to the manual editing described in 3.3 and 4.1.
You can tell the LightDM GTK greeter to use a dark GTK theme, and you can control its background via your desktop wallpaper.
You can do this either:
lightdm-gtk-greeter-settings GUI (if installed, see 3.4).sudo nano /etc/lightdm/lightdm-gtk-greeter.conf
[greeter], add or update:[greeter]
theme-name=Adwaita-dark
Notes:
* theme-name is the GTK theme. Common dark options in Xfce/Qubes include Adwaita-dark, Greybird-dark, or other installed themes.
* If there is already a theme-name= line:
* Replace it, or
* Comment it out with # and add your own line.
3. Save and exit, then reboot:
sudo reboot
If you installed lightdm-gtk-greeter-settings, you can instead open it and set the theme from the GUI; it will edit this file for you.
The LightDM background usually follows your desktop background configuration.
Your selected desktop wallpaper should now appear as the login screen background.
If you want a custom wallpaper that also appears in the standard wallpaper list:
# Screenshot saved via GUI to e.g.
~/Pictures/custom-wallpaper.png
sudo mkdir -p /usr/share/backgrounds/images/
sudo cp ~/Pictures/custom-wallpaper.png /usr/share/backgrounds/images/
sudo chmod 644 /usr/share/backgrounds/images/custom-wallpaper.png
After you log out or reboot, LightDM should use this custom wallpaper as the login screen background.
On Qubes OS 4.3, the lock screen is handled by xfce‑screensaver. It does not have its own separate avatar setting; instead, it shows your user icon, typically taken from ~/.face (and/or AccountsService).
So the easiest way to change the lock screen avatar is to set ~/.face for your dom0 user. You can obtain this image either by:
Example using qvm-run --pass-io (direct copy):
# In dom0
qvm-run --pass-io disp1234 'cat /home/user/Downloads/ProfilePicture.jpg' \
> ~/ProfilePicture.jpg
chmod 644 ~/ProfilePicture.jpg
Or, if you prefer not to copy the file, use the dom0 screenshot approach:
~/Pictures/avatar-lock.png.~/.faceOnce the image exists in dom0 (via screenshot or file copy), set it as your user icon:
cp ~/ProfilePicture.jpg ~/.face
# or e.g.
cp ~/Pictures/avatar-lock.png ~/.face
chmod 644 ~/.face
~/.face is the standard per‑user icon path that xfce‑screensaver (and other desktop components) will read.
No extra xfce‑screensaver configuration is needed; it simply uses your user icon.
ls -l /usr/share/pixmaps/ProfilePicture.jpg
# or
ls -l /usr/share/pixmaps/my-user.png
sudo chmod 644 /usr/share/pixmaps/ProfilePicture.jpg
default-user-image= is under [greeter] and not misspelled in
/etc/lightdm/lightdm-gtk-greeter.conf.lightdm-gtk-greeter-settings GUI, reopen it and confirm the selected image path is correct and accessible.Adwaita-dark).theme-name= line in the [greeter] section./usr/share/backgrounds/images/ and has readable permissions (chmod 644).~/.face exists and is readable:ls -l ~/.face
If needed:
chmod 644 ~/.face