[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: How to change the background colour in PCB



It looks like the X-resource to set is:

Pcb.masterForm*output*background:        black

This is from the Pcb app defaults file. (I set it to black)  The app defaults should have this set to gray95, if you have a standard dist.

Mike


Charles Lepple wrote:
On Mon, 24 Jan 2005 08:14:45 -0500, DJ Delorie <dj@xxxxxxxxxxx> wrote:
  
Why, oh why, can't PCB use a dotfile for its preferences like this, like any
other sane program?
      
Until gtk and qt decided to change everything, EVERY graphical program
put their defaults in $HOME/.Xdefaults, or /usr/lib/app-defaults/

PCB still does.
    

In theory, it does.

Problem is, if I try to set the background of the workspace using
'xrdb -merge' and appropriate values for Pcb*background, or even with
editres, I can change background colors for every widget *but* the
workspace.

This is with the 20040903 snapshot.

  
Now, which dot file changes the background color of Firefox?
    

Heh. You're comparing X resources to the preference system of a
program that has *two* built-in graphical configuration editing
methods?

<offtopic>
You could always choose "Options..." from the tools menu.

Or you can type 'about:config' in the location bar, type 'background'
in the search box, and enter your hex colors. Also, make sure that
browser.display.use_system_colors is set to false.

If you *really* want the configuration file itself, it's in
%USERPROFILE%\Application Data\Mozilla\Firefox\Profiles\*\prefs.js.
</offtopic>

I'm not trying to say that PCB needs this level of complexity, too.
But there seems to be a problem with PCB's use of the X resource
system.

  

-- 
--------------------------------------------------
                              Mike Jarabek
                                FPGA/ASIC Designer
 http://www.istop.com/~mjarabek
--------------------------------------------------