From deb52c0f32076bcefd3b88dcc8d29324c2800639 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sun, 22 Sep 2002 06:47:22 +0000 Subject: [PATCH] Add a Q/A on modifying GTK+ 2 resources outside of the GNOME desktop. Submitted by: Glenn Johnson --- en/gnome/docs/faq2.sgml | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/en/gnome/docs/faq2.sgml b/en/gnome/docs/faq2.sgml index 2e0c992eba..4df84cbdff 100644 --- a/en/gnome/docs/faq2.sgml +++ b/en/gnome/docs/faq2.sgml @@ -1,6 +1,6 @@ - + %gnomeincludes; %includes; @@ -29,6 +29,8 @@
  • Does GNOME 2.0 support anti-aliased fonts?
  • How do I edit my GNOME 2 menus? +
  • How do I use GTK+ 2 resource settings for + GTK+ 2 applications when not in a GNOME environment?

    Full Text

    @@ -422,8 +424,41 @@ Load "type1" + + + + + + + + + + +

    + 11. + How do I use GTK+ 2 resource settings for GTK+ 2 applications + when not in a GNOME environment? +

    +

    GNOME 2 applications get their GTK+ 2 resources from themes and + the corresponding theme engine. If you would rather run your + GTK+ 2 applications in a non-GNOME environment then you will + need to create a file named ~/.gtkrc-2.0. For the + most part, you can transfer your settings from your + ~/.gtkrc (used for GTK+ 1.2) file with a couple + of caveats.

    +
      +
    1. If you have any theme engine references, you will have + to make sure there is a corresponding GTK+ 2 theme engine, + otherwise remove the engine entries.
    2. +
    3. The default font specification should be outside of + any style blocks and should be specified with + the gtk-font-name keyword. For example: +
      gtk-font-name = "Verdana 11"
      +
    4. +
    +