Submitted by manoj_dhamija on May 14, 2007 - 2:04am.
When X-Server starts-up there comes a Gray-Screen on the top, Is there any way to change that Gray to any other cutomised screen. There is one option "-br" to blank out the gray screen, but this option gives a black screen, which is not desirable.
At the start-Up of X-Server, no window manager is running. xsetroot will work only after the X-Server will be up means in that case Grey screen already showed up. But instead of putting any other background, I want to put customized image.
Thanks for reply.
Manoj Dhamija
S/w Engineer
Patni Computer Systems
M No. +91-9820231985
There is a patch in the Gentoo ebuild of X, called something like "ugly-gray-background-die-die-die.patch". I'm too lazy to find all the details right now, but I'm sure a few minutes Googling will turn it up. Or just ask on the Gentoo forums.
So it appears that the horrid background is actually built-in to X and requires more than a simple command to modify it.
when your xserver starts up are you logged in already? If so, then just use something like "xv -setroot yourpicture.jpg" in your .xinit file.
maybe you have it the other way, and are wanting to change the background that xdm uses before you log in..? in that case, look to the xdm configuration directory, for Xsetup_0 or somesuch. Its a script that you can use to modify the screen appearance. I use a bit of scripting with random(1) and xsetroot(1) to generate a random background colour.
This patch replaces the gray pattern by a black screen. You can propably get a different color by tweaking a few values.
However, it is required to patch Xserver's sources and rebuid it, I am not sure it is worth the expense.
Use xsetroot program to do
Use xsetroot program to do it.
xsetroot -solid green
will make the background green
See "man xsetroot" for more options
Note: This is true only if you have no window manager or if it is a very simple one and doesn't have desktop icons, background, ...
At the start-Up of X-Server,
At the start-Up of X-Server, no window manager is running. xsetroot will work only after the X-Server will be up means in that case Grey screen already showed up. But instead of putting any other background, I want to put customized image.
Thanks for reply.
Manoj Dhamija
S/w Engineer
Patni Computer Systems
M No. +91-9820231985
Look at Gentoo
There is a patch in the Gentoo ebuild of X, called something like "ugly-gray-background-die-die-die.patch". I'm too lazy to find all the details right now, but I'm sure a few minutes Googling will turn it up. Or just ask on the Gentoo forums.
So it appears that the horrid background is actually built-in to X and requires more than a simple command to modify it.
Hope this helps.
I tried searching the patch
I tried searching the patch suggested by you on google, but couldn't find it. Can you please help me as i m in urgent need of this patch.
Manoj Dhamija
S/w Engineer
Patni Computer Systems
M No. +91-9820231985
xdm?
when your xserver starts up are you logged in already? If so, then just use something like "xv -setroot yourpicture.jpg" in your .xinit file.
maybe you have it the other way, and are wanting to change the background that xdm uses before you log in..? in that case, look to the xdm configuration directory, for Xsetup_0 or somesuch. Its a script that you can use to modify the screen appearance. I use a bit of scripting with random(1) and xsetroot(1) to generate a random background colour.
http://cvs.archlinuxppc.org/v
http://cvs.archlinuxppc.org/viewcvs/x11/xorg-server/xorg-redhat-die-ugly...
This patch replaces the gray pattern by a black screen. You can propably get a different color by tweaking a few values.
However, it is required to patch Xserver's sources and rebuid it, I am not sure it is worth the expense.