Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » KDE, Eclipse, and font sizes
KDE, Eclipse, and font sizes [message #43538] Sat, 25 January 2003 15:38 Go to next message
Eclipse UserFriend
Originally posted by: leegraba.visi.com

I have installed Eclipse (version 2.0.2) on my Mandrake 9.0 Linux system.
When I am using KDE and fire up eclipse, the fonts used in the menus and
views are all very small, probably about 6 point. If I use GNOME instead,
I can start the GNOME font config app and change the default application
font to something reasonable, and this is reflected in eclipse when I
start it up. Unfortunately, when I go back to KDE, it still uses the
small font sizes. I had seen in an SWT FAQ that default GtK fonts can be
changed by putting the text below in a .gtkrc or .gtkrc_2.0 file:

style "eclipse" {
font_name = "Sans 12"
bg[NORMAL] = "#d6d3ce"
bg[ACTIVE] = "#c7c2bc"
bg[INSENSITIVE] = "#828282"
bg[PRELIGHT] = "#3a6ea5"
fg[NORMAL] = "#000000"
fg[ACTIVE] = "#000000"
fg[INSENSITIVE] = "#d4d0c8"
fg[PRELIGHT] = "#ffffff"
}
class "GtkWidget" style "eclipse"

However, this doesn't seem to work either.

Any suggestions?
Re: KDE, Eclipse, and font sizes [message #43700 is a reply to message #43538] Mon, 27 January 2003 02:32 Go to previous message
Eclipse UserFriend
Originally posted by: leegraba.visi.com

Lee Graba wrote:

> I have installed Eclipse (version 2.0.2) on my Mandrake 9.0 Linux system.
> When I am using KDE and fire up eclipse, the fonts used in the menus and
> views are all very small, probably about 6 point. If I use GNOME instead,
> I can start the GNOME font config app and change the default application
> font to something reasonable, and this is reflected in eclipse when I
> start it up. Unfortunately, when I go back to KDE, it still uses the
> small font sizes. I had seen in an SWT FAQ that default GtK fonts can be
> changed by putting the text below in a .gtkrc or .gtkrc_2.0 file:
>
> style "eclipse" {
> font_name = "Sans 12"
> bg[NORMAL] = "#d6d3ce"
> bg[ACTIVE] = "#c7c2bc"
> bg[INSENSITIVE] = "#828282"
> bg[PRELIGHT] = "#3a6ea5"
> fg[NORMAL] = "#000000"
> fg[ACTIVE] = "#000000"
> fg[INSENSITIVE] = "#d4d0c8"
> fg[PRELIGHT] = "#ffffff"
> }
> class "GtkWidget" style "eclipse"
>
> However, this doesn't seem to work either.
>
> Any suggestions?

It turns out that I was trying the above config stuff in .gtkrc, rather than
..gtkrc-2.0. Putting it in the latter works.


--
===============
Lee Graba
leegraba@visi.com
===============
Re: KDE, Eclipse, and font sizes [message #589446 is a reply to message #43538] Mon, 27 January 2003 02:32 Go to previous message
Eclipse UserFriend
Originally posted by: leegraba.visi.com

Lee Graba wrote:

> I have installed Eclipse (version 2.0.2) on my Mandrake 9.0 Linux system.
> When I am using KDE and fire up eclipse, the fonts used in the menus and
> views are all very small, probably about 6 point. If I use GNOME instead,
> I can start the GNOME font config app and change the default application
> font to something reasonable, and this is reflected in eclipse when I
> start it up. Unfortunately, when I go back to KDE, it still uses the
> small font sizes. I had seen in an SWT FAQ that default GtK fonts can be
> changed by putting the text below in a .gtkrc or .gtkrc_2.0 file:
>
> style "eclipse" {
> font_name = "Sans 12"
> bg[NORMAL] = "#d6d3ce"
> bg[ACTIVE] = "#c7c2bc"
> bg[INSENSITIVE] = "#828282"
> bg[PRELIGHT] = "#3a6ea5"
> fg[NORMAL] = "#000000"
> fg[ACTIVE] = "#000000"
> fg[INSENSITIVE] = "#d4d0c8"
> fg[PRELIGHT] = "#ffffff"
> }
> class "GtkWidget" style "eclipse"
>
> However, this doesn't seem to work either.
>
> Any suggestions?

It turns out that I was trying the above config stuff in .gtkrc, rather than
..gtkrc-2.0. Putting it in the latter works.


--
===============
Lee Graba
leegraba@visi.com
===============
Previous Topic:How do I upgrade from 2.0.2 to 2.1 M4?
Next Topic:action enablement
Goto Forum:
  


Current Time: Fri Apr 26 10:37:54 GMT 2024

Powered by FUDForum. Page generated in 0.03024 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top