LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 03-24-2007, 10:24 AM   #1
romandas
LQ Newbie
 
Registered: Jun 2003
Distribution: Gentoo
Posts: 2

Rep: Reputation: 0
Fluxbox help with default text apps background and foreground


I have a fairly fresh install of Fluxbox on my Gentoo desktop system. I am trying to configure the default colors used for xterms, gvim windows, and other textual applications. By default, if I open an xterm or run gvim, the background color is set to white and the foreground or text color is set to black. I want to reverse this.

I know you can set the fluxbox menu command for these applications to specific background and foreground colors using -bg and -fg (xterm -bg black -fg white), however this does not fix it by default; it only sets it for the menu selection.

I also set xterm*background: black and xterm*foreground: white in the .Xresources file. This sets the xterm behavior correctly, but does not fix any other app, like gvim or fbrun.

How can I set this by default? I assume there must be a way, since black on white is already set up. How can this be set for all apps? It is rather frustrating to have to set each menu choice with -fg -bg, and typing these each time in the xterm window also seems suboptimal to me.

Anyone have a clue to share with me?
 
Old 03-24-2007, 10:32 AM   #2
romandas
LQ Newbie
 
Registered: Jun 2003
Distribution: Gentoo
Posts: 2

Original Poster
Rep: Reputation: 0
Of course, I post.. then find the answer

I set up ~/.Xresources like this:
*background: black
*foreground: grey


then set my ~/.xinitrc with this:
xrdb -load $HOME/.Xresources
exec startfluxbox


and it works.
 
  


Reply

Tags
background, fluxbox, foreground, gentoo, linux, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Linux run in background with Win at foreground achtung_linux Linux - General 5 02-10-2007 08:54 PM
How to bring a background diamon to foreground lieuquocdat Linux - Software 8 07-20-2006 06:53 AM
Background and Foreground Datamike Linux - Software 2 01-20-2006 04:20 PM
How do I customize background/foreground colors in Eclipse? wearetheborg Linux - Newbie 0 09-10-2004 02:48 PM
tty background/foreground color neo77777 Linux - General 10 08-18-2002 03:53 PM


All times are GMT -5. The time now is 05:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration