PRATAP-KUMAR / ubuntu-gdm-set-background

Set GDM Background for Ubuntu 20.04 Only
https://github.com/PRATAP-KUMAR/gdm-extension
GNU General Public License v3.0
282 stars 49 forks source link

Ubuntu 23.04 - Why Does It Create a Grey Fade (see Screencast) #25

Closed amiga-500 closed 1 year ago

amiga-500 commented 1 year ago

I have never seen this problem before until now. I used your tool to change my login background to black. As u can see in the animation it worked! But it now also includes a grey fade before the login and right after i enter the password to login.

How do i stop that animation and for that matter get rid of the grey?

I dont have animation turned on via Accesibility (it is set to "Reduce Animation"). Also

org.gnome.desktop.interface enable-animations = false

Prior to using ur tool on a fresh 23.04 i did not see any grey fade. It seem to occur after i used your tool. Also when i use "--reset" it resets to a grey background and the fade still remains.

PRATAP-KUMAR commented 1 year ago

Hi, Sorry to hear about the issue. Quick question, which script did you use? image

amiga-500 commented 1 year ago

Hi there..Wow youa are quick! I used the 2nd last: ubuntu-gdm-set-background-23.04

PRATAP-KUMAR commented 1 year ago

Hi, from your video, you used ubuntu-gdm-set-background it seems, let me see again

amiga-500 commented 1 year ago

Ahh..let me give u the code...or i will go do a compare....I am hoping i did use the wrong one then :) (gives me hope)

PRATAP-KUMAR commented 1 year ago

Ok, first do one thing.. use the same script ubuntu-gdm-set-background with --reset option and check if everything is normal. Then we can dive into next steps to solve the issue.

amiga-500 commented 1 year ago

Sure. Doing now. will report back in a second.

PRATAP-KUMAR commented 1 year ago

wait, in your first video you ran ubuntu-gdm-set-background. you said you tried --rest rite, can you do the same thing again with the same script. we are trying to rest to normal with the same script first.

If things are messed up, do this command apt install --reinstall yaru-theme-gnome-shell

amiga-500 commented 1 year ago

Oh sorry i misread ur line thought u meant to use the old script. apologies

PRATAP-KUMAR commented 1 year ago

yes with the old script, reset it and check if the gdm turns to normal, then we can go for next steps.

PRATAP-KUMAR commented 1 year ago

Thats a great thing. Now can you read the readme file about ubuntu-gdm-set-background-23.04-transparent

amiga-500 commented 1 year ago

Ok reading now.

PRATAP-KUMAR commented 1 year ago

Try this way and then we will see about grey

ubuntu-gdm-set-background-23.04-transparent -> sets the login-background color transparent so that the background set via gsettings set com.ubuntu.login-screen background-picture-uri is visible. This is the RECOMMENDED way. Please follow this link for setting login background via gsettings: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1929536

[Test Case]

Boot a desktop session Verify that the greeter shows the default aubergine background. Login as the administrator of the machine Install systemd-container Switch to the GDM user: $ sudo machinectl shell gdm@ /bin/bash Apply a different background with the command: $ gsettings set com.ubuntu.login-screen background-picture-uri 'file:///usr/share/backgrounds/warty-final-ubuntu.png' Logout Verify that the greeter now shows the image warty-final-ubuntu.png.

PRATAP-KUMAR commented 1 year ago

Hi did you set the login background to an image or black? did you follow that machinectl command?

amiga-500 commented 1 year ago

oh i followed the steps exactly as posted above so including the image. so my steps were:

  1. Login as the administrator of the machine
  2. sudo apt installl systemd-container
  3. sudo machinectl shell gdm@ /bin/bash
  4. gsettings set com.ubuntu.login-screen background-picture-uri 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
  5. Logout

And then i took a snap to post here

I didnt run ur "ubuntu..-transaprent" script yet.

PRATAP-KUMAR commented 1 year ago

did you logout and log in to see?

PRATAP-KUMAR commented 1 year ago

great, now run ubuntu-transparent script.

PRATAP-KUMAR commented 1 year ago

https://github.com/PRATAP-KUMAR/ubuntu-gdm-set-background/issues/23 this issue will be helpful to understand what is happening.

Thanks

amiga-500 commented 1 year ago

Thanks very much. It worked..I just had to replace background-picture-uri with background-color so i can use black instead of an image.