Colors under Linux. Xdefaults, X resources, or what? [message #183881] |
Fri, 29 October 2004 10:56  |
Eclipse User |
|
|
|
Originally posted by: jmadams.stsci.edu
I am struggling to change Eclipse colors in general and, in particular, Java
editor colors. I am seeing white background everywhere which is too much
for my eyes.
I am running under KDE/Red Hat Enterprise.
It seems like this ought to be settable via
Windows/Preferences/Workbench/Colors and Fonts/Java Editor text. But here,
I can only change the font. There does not seem to be any way to change
the background color. I've looked all through the maze of color settings
to no avail.
Also, there are no font/color settings under Java/Appearance.
I've found a bunch of references to using Xdefaults, gtkrc, etc. for this,
but none of these are working, even after xrdb -merge, and restarting X.
It would seem natural that Eclipse*background: #7a7a7a should work, but it
doesn't.
I've also tried using the KDE control manager to set fonts and colors but
Eclipse seems insensitive to these as well.
I'm surprised at how hard this is. Can someone offer a suggestion?
Thanks a lot.
|
|
|
|
|
|
Re: Colors under Linux. Xdefaults, X resources, or what? [message #184028 is a reply to message #183909] |
Tue, 02 November 2004 02:24  |
Eclipse User |
|
|
|
Originally posted by: hcs33.egon.gyaloglo.hu
Hi,
Afaik the motif version of Eclipse uses Xdefaults, the GTK version of
Eclipse uses the current gtk theme to get 'system default' values. In the
SWT FAQ there is some information about setting these values:
http://dev.eclipse.org/viewcvs/index.cgi/platform-swt-home/f aq.html?rev=1.121#motiffontsandcolors
(url may wrap)
HTH,
Regards,
Csaba
<jmadams@stsci.edu> wrote in message news:cm0cle$g2v$1@eclipse.org...
> Bruce W. Hoylman wrote:
>
> > Bruce W. Hoylman wrote:
> >
> >> Not sure which version you're using, but in 4.1 you can change the Java
> >> editor background from Preferences->Java->Editor, then within the
> >> 'Background Color' region select the 'Custom' radio button. Selecting
a
> >> color and applying it changes the background to the Java editor to that
> >> selected color. My setting for this attr is 'System default'.
>
> Yes, this works for me. Thanks. To find the background color organized
> under the syntax tab was unexpected. I still wonder what is meant by
> `System default' under Linux. I guess it means whatever you get from the
> Window system when you don't specify a color.
>
> Thanks again.
|
|
|
Powered by
FUDForum. Page generated in 0.03020 seconds