You are not logged in.

#1 2016-04-30 16:25:10

codevanya
Member
Registered: 2016-04-30
Posts: 7
Website

Set Desktop Wallpaper as Login Screen Background

Probably a dumb question, is there anyway to simultaneously change login screen and desktop backgrounds? I have found in some forums to change login screen manually but I can't find anything that automatically changes according to the wallpaper.

Last edited by codevanya (2016-04-30 16:38:11)


Game Developer
Unity | LibGDX | Godot
Check out my Freelancer profile!

Offline

#2 2016-04-30 16:38:24

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Set Desktop Wallpaper as Login Screen Background

The default screen locker (light-locker) accesses the lightdm display manager, so....

You can change the login background by editing (as root) '/etc/lightdm/lightdm-gtk-greeter.conf'. You can also access this with Menu -> System -> Login settings

To do it automatically you would need a script to read the background from the nitrogen config, and then write it to the lightdm greeter, AFAICS.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-04-30 16:53:05

codevanya
Member
Registered: 2016-04-30
Posts: 7
Website

Re: Set Desktop Wallpaper as Login Screen Background

Oh okay. By "write to lightdm greeter" you meant lightdm-gtk-greeter.conf or lightdm.conf?


Game Developer
Unity | LibGDX | Godot
Check out my Freelancer profile!

Offline

#4 2016-04-30 16:56:24

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Set Desktop Wallpaper as Login Screen Background

codevanya wrote:

Oh okay. By "write to lightdm greeter" you meant lightdm-gtk-greeter.conf or lightdm.conf?

damo wrote:

....
You can change the login background by editing (as root) '/etc/lightdm/lightdm-gtk-greeter.conf'. You can also access this with Menu -> System -> Login settings....


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2016-04-30 16:57:21

codevanya
Member
Registered: 2016-04-30
Posts: 7
Website

Re: Set Desktop Wallpaper as Login Screen Background

No. In the final part you said "To do it automatically you would need a script to read the background from the nitrogen config, and then write it to the lightdm greeter, AFAICS."


Game Developer
Unity | LibGDX | Godot
Check out my Freelancer profile!

Offline

#6 2016-04-30 17:01:39

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Set Desktop Wallpaper as Login Screen Background

"lightdm greeter" was just a shorthand for the previous "lightdm-gtk-greeter.conf", to save typing!

Are you also aware of the BLOB Themes Manager, in Menu -> Accessories? If you manually set your backgrounds, you can save the settings (as well as themes, conkys, tint2 etc if desired). Then you can restore them together automatically, in the future.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#7 2016-04-30 17:12:02

codevanya
Member
Registered: 2016-04-30
Posts: 7
Website

Re: Set Desktop Wallpaper as Login Screen Background

I didn't know that. Thanks!


Game Developer
Unity | LibGDX | Godot
Check out my Freelancer profile!

Offline

#8 2016-04-30 18:02:01

codevanya
Member
Registered: 2016-04-30
Posts: 7
Website

Re: Set Desktop Wallpaper as Login Screen Background

damo wrote:

You can change the login background by editing (as root) '/etc/lightdm/lightdm-gtk-greeter.conf'

Hey man, I edited the greeter file as you said but it's giving me a black login screen. I even tried replacing the default.png in /usr/share/images/bunsen with my image but still it's a black screen. Any idea about this?

Last edited by codevanya (2016-04-30 18:03:12)


Game Developer
Unity | LibGDX | Godot
Check out my Freelancer profile!

Offline

#9 2016-04-30 18:52:30

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Set Desktop Wallpaper as Login Screen Background

Did you restart lightdm.service or reboot? I don't use light-locker, so I haven't tried configuring the screenlocker.

EDIT: just tried it by changing the background image in lightdm-gtk-greeter, and success when logging out/in. Running the screenlocker (`bl-lock`) shows the new background. There was no need to restart lightdm.service.

Last edited by damo (2016-04-30 19:00:58)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#10 2016-04-30 20:16:34

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Set Desktop Wallpaper as Login Screen Background

I've just remebered a couple of other ways of setting the background  8o
Choose from the images in the login images directory:

sudo update-alternatives --config bl-login-background

Or use the gui: Menu -> System -> Edit Debian Alternatives ---> bl-login-background


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2016-05-01 05:54:40

codevanya
Member
Registered: 2016-04-30
Posts: 7
Website

Re: Set Desktop Wallpaper as Login Screen Background

I tried updating via gui and terminal, but still there's only a black bg.

EDIT: It worked! Actually it was an issue with permissions. I had to set the 777 permission to the image file that is to be set as bg. Thank you @damo.

Last edited by codevanya (2016-05-01 06:07:46)


Game Developer
Unity | LibGDX | Godot
Check out my Freelancer profile!

Offline

#12 2016-05-04 16:20:25

topdollar
Member
From: San Jose, CA
Registered: 2016-03-20
Posts: 68

Re: Set Desktop Wallpaper as Login Screen Background

Thanks Damo! I had forgotten about "Or use the gui: Menu -> System -> Edit Debian Alternatives ---> bl-login-background"


"Don't be too proud of this technological terror you have constructed... The ability to destroy a planet is insignificant next to the power of the FORCE" -Darth Vader

Offline

Board footer

Powered by FluxBB