AccountsService does not show references to my background

Hello everyone,

I have a problem that I’m not sure is really a problem.

The / var / lib / AccountsService / users / my_username directory exists! But inside the file I do not have any reference to the path of my wallpaper. And I would like to use this file to change the lightdm wallpaper automatically.

Is there any way I can do with AccountsService to create the reference for my wallpaper automatically, the same way it is done in Linux mint, Manjaro, Arch …

Thank you all. I’m new to OpenSUSE and I’m really enjoying it, there are a few different things, but I’m loving it !!! Just what is making me tear my hair off!

And, I apologize for my English #By: Google Translate

I would guess that’s a compile time option for “lightdm”. Maybe try a request to the factory mailing list, or even a bug report (as an enhancement request).

Hi and welcome to the Forum :slight_smile:
It looks like the file you want is /etc/lightdm/lightdm-gtk-greeter.conf


cat /etc/lightdm/lightdm-gtk-greeter.conf

#
# background = Background file to use, either an image path or a color (e.g. #772953)
# theme-name = GTK+ theme to use
# icon-theme-name = Icon theme to use
# font-name = Font to use
# xft-antialias = Whether to antialias Xft fonts (true or false)
# xft-dpi = Resolution for Xft in dots per inch (e.g. 96)
# xft-hintstyle = What degree of hinting to use (hintnone, hintslight, hintmedium, or hintfull)
# xft-rgba = Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr)
# indicators = Indicators to be shown at the top bar
#
[greeter]
background=/usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
theme-name=Adwaita
#icon-theme-name=
#font-name=
#xft-antialias=
#xft-dpi=
#xft-hintstyle=
#xft-rgba=
indicators = ~host;~spacer;~clock;~spacer;~language;~layout;~session;~a11y;~power;

That’s a generic background.

Ubuntu, Solus and several others use a per-user background. When you select a particular user in the “lightdm” menu, it show that user’s background on the login screen. Typically, those desktops set it to the same as what the user as configured as desktop wallpaper.

I’m pretty sure that’s what the OP is looking for. But maybe he will settle for changing the generic background.

Checking with Yast software management, I notice that I am using “lightdm-gtk-greeter”. But there is also a “lightdm-slick-greeter”. Possibly that does what the OP wants. That “lightdm-slick-greeter” looks like what I see with Ubuntu 16.04 (but not with Ubuntu 18.04 or 19.04), and what I see with Solus. I tried installing it. And then I needed to run

update-alternatives --config lightdm-default-greeter.desktop

to set “lightdm” to use that greeter.

With Ubuntu 16.04 or Solus, changing the background of your desktop also changes the background on the login screen when your login entry is selected. That does not seem to happen. Perhaps it is a matter of permissions.

Thank you to everyone who answered me.

The manager I’m using is the slick-greeter and not the gtk-greeter.

The slick-greeter has an option to use the user’s wallpaper. But even though I marked it as “true” it still can not show my wallpaper. I believe it is because it looks for the wallpaper path in /var/lib/AccountsService/users/$USER and the path of my wallpaper is not listed there.

About being permissions issues, I tried to change the permissions of the wallpaper, and the AccountsService, I tried chmod 644 -R /var/lib/AccountsService because I found this in an Arch photon: https://bbs.archlinux.org/viewtopic.php?id=188872
But without success! I have already tried the permissions 777. I have already changed the permissions of the wallpaper … Anyway I have tried everything I can find in the forums.

About being a bug, I really doubt that, because I have a computer with Manjaro, and are using exactly the same versions of slick-greeter and accountsservice.

You have any more suggestions.

Thank you

I’ll go back to suggesting that it’s a compile time option, that when wallpaper is updated this is also update in the AccountsService data.

When I have several desktops installed (Gnome, Plasma, XFCE) and they have different wallpapers – which one should control the “lightdm” background? And openSUSE is oriented toward having multiple desktop environments installed.