how to change the background of greeter?
Compositor
- [x] niri
- [ ] Hyprland
- [ ] other
Description
i used dms greeter install to setup greeter
And I want to keep the lock screen wallpaper consistent with the system wallpaper, just like the lock screen wallpaper
Really appreciate for your help!☺️
Configuration Details
configuration is the default(just modified the keybind and input for touchpad)
here is session.json
{
"isLightMode": false,
"wallpaperPath": "/home/enceka/Pictures/wallpapers/default.jpg",
"wallpaperLastPath": "",
"profileLastPath": "",
"perMonitorWallpaper": false,
"monitorWallpapers": {},
"perModeWallpaper": false,
"wallpaperPathLight": "file:///home/enceka/Pictures/wallpapers/sundown-over-water.jpg",
"wallpaperPathDark": "file:///home/enceka/Pictures/wallpapers/sundown-over-water.jpg",
"monitorWallpapersLight": {},
"monitorWallpapersDark": {},
"doNotDisturb": false,
"nightModeEnabled": false,
"nightModeTemperature": 4500,
"nightModeAutoEnabled": false,
"nightModeAutoMode": "time",
"nightModeStartHour": 18,
"nightModeStartMinute": 0,
"nightModeEndHour": 6,
"nightModeEndMinute": 0,
"latitude": 0,
"longitude": 0,
"nightModeLocationProvider": "",
"pinnedApps": [],
"selectedGpuIndex": 0,
"nvidiaGpuTempEnabled": false,
"nonNvidiaGpuTempEnabled": false,
"enabledGpuPciIds": [],
"wallpaperCyclingEnabled": true,
"wallpaperCyclingMode": "interval",
"wallpaperCyclingInterval": 300,
"wallpaperCyclingTime": "06:00",
"monitorCyclingSettings": {
"eDP-1": {
"enabled": true,
"mode": "interval",
"interval": 300,
"time": "06:00"
}
},
"lastBrightnessDevice": "",
"launchPrefix": "",
"wallpaperTransition": "random",
"includedTransitions": [
"fade",
"wipe",
"disc",
"stripes",
"iris bloom",
"pixelate",
"portal"
],
"acMonitorTimeout": 900,
"acLockTimeout": 600,
"acSuspendTimeout": 0,
"acHibernateTimeout": 0,
"batteryMonitorTimeout": 600,
"batteryLockTimeout": 300,
"batterySuspendTimeout": 900,
"batteryHibernateTimeout": 1800,
"lockBeforeSuspend": false,
"recentColors": [],
"showThirdPartyPlugins": true
}
Screenshots/Recordings
lockscreen background
greeter background
Check for symlinks in /etc/greetd/.dms which is what the installer tries to do: ls -l /etc/greetd/.dms
If they are broken for some reason, then they can be re-created. Alternative is that the greeter user may not have permissions to read those files.
What is the distribution?
Check for symlinks in
/etc/greetd/.dmswhich is what the installer tries to do:ls -l /etc/greetd/.dmsIf they are broken for some reason, then they can be re-created. Alternative is that the greeter user may not have permissions to read those files.
What is the distribution?
You can see that
I am using archlinux
I have tried to change the owner of these symlink file,still not work
I made some changes to run greeter as a different user, create its own group, added group perms to the files.
Try to update, paru -S dms-shell-git
then uninstall greetd to clean it up.
sudo pacman -R greetd greetd-agreety
sudo rm -r /etc/greetd
Then reinstall
dms greeter install`
That sequence, worked for me on arch
Seemed still not working,but i found that the json file in that dir were originally owned by root so i tried to change the own and group to the greeter:dms-greeter,but still not work
when i reinstall greeter,symlink file was originally owned by root but the dir was owned by greeter:dms-greeter
Seemed still not working,but i found that the json file in that dir were originally owned by root so i tried to change the own and group to the greeter:dms-greeter,but still not work
![]()
and i also tried to change symlink file to greeter:greeter,but still not work Is there another way?
okay,i found that greeter cannot read those json file,so i fixed it by doing that
- Add
greeterto the main user’s group:sudo usermod -aG <username> greeter - Give group execute/read permissions on the relevant directories:
chmod g+x /home/<username> chmod g+rx /home/<username>/.local chmod g+rx /home/<username>/.local/state chmod g+rx /home/<username>/.local/state/DankMaterialShell chmod g+rx /home/<username>/.cache chmod g+rx /home/<username>/.cache/quickshell chmod g+rx /home/<username>/.cache/quickshell/dankshell chmod g+rx /home/<username>/.config chmod g+rx /home/<username>/.config/DankMaterialShell - Ensure the actual files are group-readable:
chmod g+r /home/<username>/.local/state/DankMaterialShell/session.json chmod g+r /home/<username>/.cache/quickshell/dankshell/dms-colors.json chmod g+r /home/<username>/.config/DankMaterialShell/settings.json
So idk why this would happened, have something i forgot to do?
Im having the same issue how did you fixed it?