The following instructions are written for the beginner gEDA users who wish to change the default black background color to white (or whichever color of their choosing). This is documented on the gEDA Wiki, but I believe that the instructions are either obsolete, not clear enough, or both. I have used and tested the following instructions using gEDA Version 188.8.131.5280127 within Ubuntu 8.10 (Intrepid Ibex).
Start by opening the file called “system-gschemrc” within the /etc/gEDA directory. You can do this by typing the following into the terminal:
sudo gedit /etc/gEDA/system-gschemrc
Near the top of the document, you will see a block of code that controls the color scheme of the program. Uncomment the line ending in “; light background” and comment out the line ending in “; dark background”. The finished changes should look like the following:
; Start of color section
; Load up a color scheme has a light (almost white) background
; Comment out the first line and comment in the second line for a
; dark (black) background. The dark background is the original look.
;(load (build-path geda-rc-path "gschem-darkbg")) ; dark background
(load (build-path geda-rc-path "gschem-lightbg")) ; light background
Now that you have chosen to use the light background scheme, you’ll need to edit the “gschem-lightbg” file to your liking. Here, we will change the color of the background from a light grey, to a white. Begin by typing the following into the terminal:
sudo gedit /etc/gEDA/gschem-lightbg
Then, change the line that reads “;(background-color 0 “grey94” “null” “1 1 1″ 255 255 255) ; light background” to “(background-color 0 “white” “null” “1 1 1″ 255 255 255) ; light background”. I would recommend copy/paste. The finished changes should look like the following:
; background-color index color_name outline_color ps_color_string
; int_red int_green int_blue
; Set the default background color.
; DO NOT change the value of the index (first number)
;(background-color 0 "grey94" "null" "1 1 1" 255 255 255) ; light background
(background-color 0 "white" "null" "1 1 1" 255 255 255) ; light background
That’s it! Re-open gEDA and enjoy the new background color! As the documentation suggests, “if you want more control over the colors, please edit “/etc/gEDA/gschem-darkbg” or “/etc/gEDA/gschem-lightbg” or create your own file and load it in the system-gschemrc file.”