Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Change that gray X startup bakground to black!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Tue Apr 15, 2003 12:36 pm    Post subject: Change that gray X startup bakground to black! Reply with quote

edit /usr/X11R6/bin/startx and change

Code:
serverargs=""

to
Code:
serverargs="-br"



:D :D :D :D
_________________
a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla
Back to top
View user's profile Send private message
hugaru
n00b
n00b


Joined: 08 Apr 2003
Posts: 3

PostPosted: Tue Apr 15, 2003 12:55 pm    Post subject: Reply with quote

cool tips thanxs
Back to top
View user's profile Send private message
quikchaos
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2003
Posts: 107

PostPosted: Tue Apr 15, 2003 4:16 pm    Post subject: Reply with quote

Nice tip! Thanky!
_________________
"Whether you think you can or you think you can't... you're right." -- Henry Ford
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Tue Apr 15, 2003 4:57 pm    Post subject: Reply with quote

what is the "-br"?

Can that be changed to any color or only black?
Back to top
View user's profile Send private message
wolf31o2
Retired Dev
Retired Dev


Joined: 31 Jan 2003
Posts: 628
Location: Mountain View, CA

PostPosted: Wed Apr 16, 2003 12:59 pm    Post subject: Reply with quote

A more elegant (and permanent) way to change this is to create a /etc/X11/xinit/xserverrc file and insert the -br flag there. This way it will stay through X upgrades.
Back to top
View user's profile Send private message
hanzotutu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 170

PostPosted: Fri Apr 18, 2003 12:56 am    Post subject: Reply with quote

the trick does not work in Xfree 4.3.0 any longer.
Back to top
View user's profile Send private message
NoBrandHero
n00b
n00b


Joined: 16 Apr 2003
Posts: 20

PostPosted: Fri Apr 18, 2003 2:39 am    Post subject: it still works for both startx and gdm Reply with quote

Works for me with xfree-4.3.0-r1.

If you start xfree manually via startx, instead of editing /usr/X11R6/bin/startx (which will just get overwritten when you upgrade to future xfree ebuilds), create /etc/X11/xinit/xserverrc with this one line in it:
Code:
exec /usr/bin/X11/X :0 vt7 -br


If you use gdm, edit /etc/X11/gdm/gdm.conf, go to the end of the file where you'll find the [server-Standard] and [server-Terminal] sections, and add "-br" or any other X server arguments you want, like so:
Code:

# Definition of the standard X server.
[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -br -nolisten tcp
flexible=true
 
# To use this server type you should add -query host or -indirect host
# to the command line
[server-Terminal]
name=Terminal server
# Add -terminate to make things behave more nicely
command=/usr/X11R6/bin/X -br -nolisten tcp -terminate


I don't use KDE or E17 (least not until it hits real release) so I don't know how/where you'd set X arguments for their respective login managers.
Back to top
View user's profile Send private message
hanzotutu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 170

PostPosted: Fri Apr 18, 2003 11:35 pm    Post subject: Reply with quote

yeah, it works in Xfree 4.3.0-r2. Happy.
Back to top
View user's profile Send private message
jesterspet
Apprentice
Apprentice


Joined: 05 Feb 2003
Posts: 215
Location: Atlanta

PostPosted: Mon Apr 28, 2003 11:45 pm    Post subject: Reply with quote

Anyone got a listing of the valid color codes :?: I am sure that ther are other folks besides me that would like to have a larger selection than Grey or Black.

It also strikes me as something folks may want to change to go along with their theme.
_________________
(X) Yes! I am a brain damaged lemur on crack, and would like to buy your software package for $499.95
Back to top
View user's profile Send private message
st. anger
Apprentice
Apprentice


Joined: 30 Oct 2002
Posts: 273

PostPosted: Fri May 02, 2003 6:06 am    Post subject: Reply with quote

i think there is only black.
From the Xserver man page:

-br sets the default root window to solid black instead of the
standard root weave pattern.
_________________
pizza.
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Fri May 02, 2003 8:17 am    Post subject: Reply with quote

wolf31o2 wrote:
A more elegant (and permanent) way to change this is to create a /etc/X11/xinit/xserverrc file and insert the -br flag there. This way it will stay through X upgrades.

Excellent tip.
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum