Add a Q/A on modifying GTK+ 2 resources outside of the GNOME desktop.
Submitted by: Glenn Johnson <glennpj@charter.net>
This commit is contained in:
parent
d64a6a8efc
commit
deb52c0f32
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=14343
1 changed files with 36 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
|
||||||
<!ENTITY base CDATA "../..">
|
<!ENTITY base CDATA "../..">
|
||||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.13 2002/09/19 18:02:51 marcus Exp $">
|
<!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.14 2002/09/20 02:11:47 marcus Exp $">
|
||||||
<!ENTITY title "FreeBSD GNOME Project: GNOME 2.0 FAQ">
|
<!ENTITY title "FreeBSD GNOME Project: GNOME 2.0 FAQ">
|
||||||
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
|
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
|
||||||
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
|
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
|
||||||
|
@ -29,6 +29,8 @@
|
||||||
</a>
|
</a>
|
||||||
<li> <a href="#q9">Does GNOME 2.0 support anti-aliased fonts?</a>
|
<li> <a href="#q9">Does GNOME 2.0 support anti-aliased fonts?</a>
|
||||||
<li> <a href="#q10">How do I edit my GNOME 2 menus?</a>
|
<li> <a href="#q10">How do I edit my GNOME 2 menus?</a>
|
||||||
|
<li> <a href="#q11">How do I use GTK+ 2 resource settings for
|
||||||
|
GTK+ 2 applications when not in a GNOME environment?</a>
|
||||||
</ol>
|
</ol>
|
||||||
<h2>Full Text </h2>
|
<h2>Full Text </h2>
|
||||||
<table border="0" cellspacing="0" cellpadding="2">
|
<table border="0" cellspacing="0" cellpadding="2">
|
||||||
|
@ -422,8 +424,41 @@ Load "type1"
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td><br></td></tr>
|
<tr><td><br></td></tr>
|
||||||
|
<!-- Q11 -->
|
||||||
|
<tr>
|
||||||
|
<td width="10">
|
||||||
|
<b><a name="q11"> 11.</a></b></td>
|
||||||
|
<td align="left" valign="top" colspan="3">
|
||||||
|
<b>How do I use GTK+ 2 resource settings for GTK+ 2 applications
|
||||||
|
when not in a GNOME environment?</b>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- A11 -->
|
||||||
|
<tr>
|
||||||
|
<td width="10"><br></td>
|
||||||
|
<td align="left" valign="top" colspan="3">
|
||||||
|
<p> 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 <tt>~/.gtkrc-2.0</tt>. For the
|
||||||
|
most part, you can transfer your settings from your
|
||||||
|
<tt>~/.gtkrc</tt> (used for GTK+ 1.2) file with a couple
|
||||||
|
of caveats.</p>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li> 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.</li>
|
||||||
|
<li> The default font specification should be outside of
|
||||||
|
any <tt>style</tt> blocks and should be specified with
|
||||||
|
the <tt>gtk-font-name</tt> keyword. For example:
|
||||||
|
|
||||||
|
<pre>gtk-font-name = "Verdana 11"</pre>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td><br></td></tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue