GNOME 2.0 Desktop for the Solaris Operating Environment System Administration Guide

To Set Font Preferences

To set font preferences, you modify the values of two preference keys. The following table shows the keys to modify, and the part of the user interface to which the keys correspond:

GConf Location 

User Interface Component 

/desktop/gnome/interface/font_name 

Font preference tool, Application font section

/apps/nautilus/preferences/desktop_font 

Font preference tool, Desktop font section

For example, to set Sans 12 as the mandatory application font, run the following command:

# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/interface/font_name “Sans 12”

To set palatino 12 as the default desktop object font, run the following command:

# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /apps/nautilus/preferences/desktop_font “palatino 12”