LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Splash screen background in GDM (https://www.linuxquestions.org/questions/linux-general-1/splash-screen-background-in-gdm-250799/)

bayat 11-03-2004 06:20 PM

Splash screen background in GDM
 
Hi,

I've been trying to change the background of the Splash screen in GDM (the solid blue color), with instructions from this (linuxquestions.org/questions/archive/31/2003/12/1/111251) thread. But, I'm using Mandrake 10.0, and they're not really helping much. Any ideas? Thank you.

bayat

Netizen 11-03-2004 09:09 PM

Have you tried?

# gdmsetup

Thymox 11-04-2004 05:39 PM

Welcome aboard, Bayat.

The gdmsetup utility, as you may have already discovered, will not help here. That will allow you to change the background of the GDM login screen itself, whereas I believe you are trying to change the background colour of the screen that appears after you login but before KDE/Gnome appears?

The method described in the thread you mentioned would seem to be your best option, even though it isn't Mandrake specific.

I have both a Mandrake 9.1 and a Debian installation on my system at the moment, and under these the files I would need to edit are:

Mandrake: /etc/X11/Xsession
In this file you should find a section as follows:
Code:

# Mandrake default background
if [ "`whoami`" = root ]; then
    xsetroot -solid "#B20003"
    IS_ROOT=1
else
    IS_ROOT=
    # Load the color only when not called from gdm/kdm
    if [ -z "$1" ]; then
        xsetroot -solid "#21449C"
    fi
fi

This will change the default background to B20003 (a deep red) for a ROOT login and to 21449C for a normal user login. These are the numbers you need to change - they are standard hex codes, just like you'd use for setting colours in a webpage. You will need to be root to edit this file.

Good luck.

bayat 11-05-2004 10:09 AM

Yeah, GDMSetup changes the login, not the splash screen.

Thank you Thymox =) Changing /etc/X11/Xsession did the job.


All times are GMT -5. The time now is 11:38 PM.