Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: 12.04 has purple login screen a few seconds before switching to my login background

  1. #1
    Join Date
    May 2012
    Beans
    2

    12.04 has purple login screen a few seconds before switching to my login background

    I was having trouble searching for answers for this, maybe it was just my wording in google. I finally managed to get grub and the loading screen a nice black, but right before the login screen it's that god awful purple a few second before it switches to my background, This must have had to be discussed somewhere, but I assume my searches my be to vague.

  2. #2
    Join Date
    Nov 2008
    Location
    Whakatane, NZ
    Beans
    634
    Distro
    Ubuntu

    Re: 12.04 has purple login screen a few seconds before switching to my login backgrou

    Quote Originally Posted by haVok1701 View Post
    I was having trouble searching for answers for this, maybe it was just my wording in google. I finally managed to get grub and the loading screen a nice black, but right before the login screen it's that god awful purple a few second before it switches to my background, This must have had to be discussed somewhere, but I assume my searches my be to vague.
    It's the default. Not sure if it can be changed, but I'm sure someone more knowledgeable than me will confirm this.
    Windows free since '09 - never looked back!

  3. #3
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 12.04 has purple login screen a few seconds before switching to my login backgrou

    Here is the issue as I see it. Perhaps you can suggest a solution.

    Grub hands control to Plymouth which hands control to LightDM which does not know the user background settings because it has not yet fully activated. So, it loads its default background image and it this point LightDM becomes aware that the default user has set a static desktop background wallpaper. So it now has to switch background images.

    If we select the background slide show then LightDM uses its default background image. So, it is logical that LightDM first load its default image before it finds out what background the default user has selected. Otherwise we may end up without any log in background image.

    And remember, different users can select different wallpapers which have to become the log in background image when that user is the default user.

    I think that the whole process is doing a very difficult job in a very smart way.

    I am disappointed at the way we become more critical and demanding the better Ubuntu gets. I do not forget that I could pay a lot of money for an OS and I would be stuck with what I had purchased.

    Ubuntu is a gift and I value all the work done by all those who develop Ubuntu. Many of those people are volunteers. I am thankful for what I have been given.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  4. #4
    Join Date
    Jun 2007
    Beans
    16,515

    Re: 12.04 has purple login screen a few seconds before switching to my login backgrou

    Quote Originally Posted by haVok1701 View Post
    I was having trouble searching for answers for this, maybe it was just my wording in google. I finally managed to get grub and the loading screen a nice black, but right before the login screen it's that god awful purple a few second before it switches to my background, This must have had to be discussed somewhere, but I assume my searches my be to vague.
    When the greeter using a custom background first landed over the winter it worked pretty much flawlessly. It then broke for many users, (hardware based) for quite some time. As part of the fix the momentary display of a hardcoded color resulted (#2C001E

    This color can be changed thru gsettings but not thru your own user gsettings (whether you should be able to is a question

    bug that describes -
    https://bugs.launchpad.net/ubuntu/+s...er/+bug/969059

    Bug that keep getting invalidated on a user not being able to edit the greeter settings thru gsetting or dconf-editor
    https://bugs.launchpad.net/ubuntu/+s...er/+bug/981335

    New bug that's came from above
    https://bugs.launchpad.net/ubuntu/+s...nf/+bug/992788

    There are 2 ways to currently edit the greeter options, both verge on the ridiculous for regular users.
    In your case, if I've understood correctly, you may be happier with #000000 as the hard-coded color, if so one way to address
    Code:
    sudo gedit /usr/share/glib-2.0/schemas/50_unity-greeter.gschema.override
    Put this in the new file, save
    Code:
    [com.canonical.unity-greeter]
    background-color = "#000000"
    (I use this, adding the option to turn off the drum sound

    Code:
    [com.canonical.unity-greeter]
    play-ready-sound = false
    background-color = "#000000"
    After saving run this
    Code:
    sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

  5. #5
    Join Date
    May 2012
    Beans
    2

    Re: 12.04 has purple login screen a few seconds before switching to my login backgrou

    Thanks for all the help worked just fine

  6. #6
    Join Date
    Jun 2007
    Beans
    16,515

    Re: 12.04 has purple login screen a few seconds before switching to my login backgrou

    The option to use #000000 still didn't take care of that 1/2 sec or so flash of the default Background (black > 1/2 sec warty-final > my custom Background

    So to remove that here I moved /usr/share/backgrounds/warty-final-ubuntu.png to a bak & replaced it with a black Background image named warty-final-ubuntu.png (screen

    (- The real warty-final-ubuntu.png is really a .jpg, but I did use an actual .png for the replacement, didn't seem to matter

    So now it's black all the way to grid, then fade-in to my Background
    Attached Images Attached Images

  7. #7
    Join Date
    May 2005
    Location
    Indiana
    Beans
    1,933
    Distro
    Hardy Heron (Ubuntu Development)

    Re: 12.04 has purple login screen a few seconds before switching to my login backgrou

    Quote Originally Posted by mc4man View Post
    So to remove that here I moved /usr/share/backgrounds/warty-final-ubuntu.png to a bak & replaced it with a black Background image named warty-final-ubuntu.png (screen

    (- The real warty-final-ubuntu.png is really a .jpg, but I did use an actual .png for the replacement, didn't seem to matter

    So now it's black all the way to grid, then fade-in to my Background
    Thanks. That's exactly what I was looking for. You can replace it with whatever background you want.
    Today you are You, that is truer than true. There is no one alive who is Youer than You. - Dr. Seuss

  8. #8
    Join Date
    Oct 2010
    Beans
    9

    Re: 12.04 has purple login screen a few seconds before switching to my login backgrou

    You can add also an entry like:

    Code:
    background = '/usr/share/backgrounds/mywallpaper.jpg'
    Then this image is used as default entry (before if it is changed to the users background image).

    This is what the Ubuntu Tweak Tool does. But it does not add the part with "background-color", so the solid color remains purple and before the picture loads you see a purple color for less than one second.

    Note that all image files used before the login can not be placed in your home directory and need full read permissions (run chmod a+r myfile.jpg). Otherwise it won't work.

  9. #9
    Join Date
    Nov 2012
    Beans
    5

    Question Re: 12.04 has purple login screen a few seconds before switching to my login backgrou

    Hello,

    wanted to add the color code, too but:
    my schemas folder does not have the
    50_unity-greeter.gschema.override
    file!
    There are only nine "10_*****gschema.override" files
    and some XML files that contain "unity" in their name.
    Adn around 50-100 (?) other XML files
    Which file should I use instead now?
    You are not talking about an XML-file to change, do you?

    I am using the default schemes on Ubuntu 12.0.4


    ***


    Edit:
    Found this file: "com.canonical.unity-greeter.gschema.xml"
    and replaced the purple hexa colour in line 10 with
    <default>'#000000'</default>

    After compiling with
    sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
    it works now.

    GREAT!



    I also used a black /usr/share/backgrounds/warty-final-ubuntu.png.


    [SOLVED FOR ME]
    Last edited by mali37; November 6th, 2012 at 04:56 AM. Reason: Update

  10. #10
    Join Date
    Dec 2010
    Beans
    3

    Re: 12.04 has purple login screen a few seconds before switching to my login backgrou

    Thank you mali37!!!

    It's working very nice in the Ubuntu 12.10.

    Tip:
    1. Put the the black color (<default>'#000000'</default>) in the com.canonical.unity-greeter.gschema.xml file.
    2. sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
    3. Change the file /usr/share/backgrounds/warty-final-ubuntu.png for a gray scale and dark version of your wallpaper.

    Result: Before the login, you can see the colors and the light growing in the screen

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •