Oracle® Solaris 11.2 Desktop Administrator's Guide

Exit Print View

Updated: July 2014
 
 

Look-and-Feel Preferences

The following sections describe how to assign mandatory or default values to look-and-feel preferences.

Font Preferences

To set font preferences, 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
Application font option in the Font preference tool
/desktop/gnome/interface/document_font_name
Document font option in the Font preference tool
/desktop/gnome/interface/monospace_font_name
Fixed Width font option in the Font preference tool
/apps/metacity/general/titlebar_font
Window Title font option in the Font preference tool
/apps/nautilus/preferences/desktop_font
Desktop font option in the Font preference tool

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

# gconftool-2 --direct --config-source \
xml:readwrite:/etc/gconf/gconf.xml.defaults \
--load my-panel-setup.entries

To set palatino 12 as the default desktop object font, type 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”

Background Preferences

To set preferences for the desktop background, modify the values of the preference keys in the /desktop/gnome/background location. For example, to set a mandatory image for the background, type the following command:

# gconftool-2 --direct --config-source \
xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set \
/desktosp/gnome/background/picture_filename filename.png

To set a default value for this preference, type the following command:

# gconftool-2 --direct --config-source \
xml:readwrite:/etc/gconf/gconf.xml.defaults --type string \
--set /desktop/gnome/background/picture_filename filename.png

You can also set other background preferences. For information about the other background preferences, see the desktop_gnome_background.schemas schema definition file.

Splash Image Preferences

To set splash image preferences, modify the value of the preference keys in the /apps/gnome-session/options/ location. For example, if you do not want users to see a splash image, set a mandatory value as follows:

# gconftool-2 --direct --config-source \
xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool \
--set /apps/gnome-session/options/show_splash_screen false

To set a default value for this preference, type the following command:

# gconftool-2 --direct --config-source \
xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool \
--set /apps/gnome-session/options/show_splash_screen false

You can also set other splash image preferences. For information about the other splash image preferences, see the gnome-session.schemas schema definition file.