Howto: Remove the brown background color during login
October 23, 2007 at 6:00 pm | Posted in tips and tricks, xubuntu | 17 CommentsTags: background, brown, color, gdm, login, remove, xfce, xubuntu
You may have noticed after upgrading to Xubuntu Gutsy that your background color turns brown for a few seconds, before returning back again. If you have, then you may have also noticed that it doesn’t really match well.
Turns out the program is straight in the login manager. Specifically, in the file /etc/gdm/PreSession/Default. Thankfully, it’s easy to fix.
Open up a terminal (Xfce Menu > Accessories > Terminal) and run the following:
wget http://ubuntu.freehostia.com/Default
sudo mv Default /etc/gdm/PreSession/
rm Default
Log out and in, and the background color will be gone.
Enjoy!
(Thanks to NoVista at
http://ubuntuforums.org/showpost.php?p=3584409&postcount=6
for this tip!)
17 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a Reply
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.
Nice! If only we’d have known this before Gutsy was released….
But erm… The Default file says “403 Forbidden”. Could you upload it somewhere else? (I suppose you have already downloaded it?)
Comment by Vincent— October 24, 2007 #
Disclaimer: New to Linux but ended up sorting it out.
Just head to the link provided at the end of the article and download the attached file in the post.
Extract it to your desktop. Terminal > cd /Desktop > sudo mv Default /etc/gdm/PreSession/
Log out and log in and it works. Thanks for the tip, I’ve just happened upon this blog as I’ve moved to xubuntu to make my experience a little snappier. Cheers.
Comment by S.O.P— October 24, 2007 #
Sorry about that, the file permissions were wrong.
It should work now.
Comment by xubuntu— October 24, 2007 #
Could you please explain what you did and why?
I especially wonder why you removed the line that reads:
XSETROOT=`gdmwhich xsetroot`
Also, what has authentication to do with colour?
wkr,
herd
Comment by herd— October 24, 2007 #
Your instructions did not work for me, but this did:
1) wget http://ubuntu.freehostia.com/Default.txt
2) mv Default.txt Default
3) sudo rm /etc/gdm/PreSession/Default
4) sudo mv Default /etc/gdm/PreSession/
5) sudo chmod a+x /etc/gdm/PreSession/Default
-Robert Woestman
Comment by Robert Woestman— October 25, 2007 #
This solution worked best for me:
Cheers.
Comment by MacAndrew— November 13, 2007 #
Sorry, link didn’t come thru
http://bapoumba.wordpress.com/2007/10/24/change-gdm-background-color-to-match-your-gdm-theme-applies-to-xfce/
Hope this helps.
Comment by MacAndrew— November 13, 2007 #
Talk about a lot of work for change a couple characters in a text file. Just open up the file in a text editor and change the hex color code near the bottom. Tada. Yeesh.
Comment by Bryan Toller— November 17, 2007 #
Yes exactly Toller
sudo nano /etc/gdm/PreSession/Default
scroll down to:
—————————–
# Default value
if [ "x$BACKCOLOR" = "x" ]; then
BACKCOLOR=”#000000″
fi
“$XSETROOT” -cursor_name left_ptr -solid “$BACKCOLOR”
fi
exit 0
————————–
then change
BACKCOLOR=”#000000″
to any hexcolor you prefer, for instance
BACKCOLOR=”#123abc”
Comment by bhang— November 22, 2007 #
Works Great !
Thanks
–
Silverwolf
http://swmirror.org
Comment by Silverwolf— December 6, 2007 #
Is there an email address or IM account or something that I could use to contact you? I’ve written a new article two days ago but you still have to approve it… You can always contact me through my about page.
Comment by Vincent— December 6, 2007 #
I’ve neglected this poor blog, haven’t I?
I’ve put it up.
Comment by xubuntu— December 9, 2007 #
Cool, thanks
Comment by Vincent— December 10, 2007 #
nano /etc/gdm/PreSession/Default
“#!/bin/sh” replace with “#!/bin/bash”
Comment by Jurik-Taldyk— December 14, 2007 #
[...] 去改/etc/gdm/PreSession/Default裡的值. [...]
Pingback by 沒有聲音的筆記 « u l t r a m a r i n e ▲— December 18, 2007 #
[...] This worked for me… Should work for Ubuntu as well since it Xubuntu uses GDM too. __________________ [...]
Pingback by lame Ubuntu screen color Question - Overclock.net - Overclocking.net— February 8, 2008 #
A fly wont get into a closed mouth,
Comment by Meg— May 30, 2008 #