Java Desktop System Release 3 システム管理

ルック&フィールの設定

この節では、ルック&フィールの設定に必須値またはデフォルト値を割り当てる方法を説明します。

フォントの設定

フォントを設定するには、2 つの設定キーの値を変更します。次の表は、変更するキーと、そのキーに対応するユーザーインターフェイス部分を示しています。

GConf の場所 

ユーザーインターフェイスコンポーネント 

/desktop/gnome/interface/font_name 

フォント設定ツールの「アプリケーション用フォント」オプション

/apps/nautilus/preferences/desktop_font 

フォント設定ツールの「デスクトップ用フォント」オプション

たとえば、Sans 12 を必須アプリケーション用フォントとして設定するには、次のコマンドを実行します。

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

palatino 12 をデフォルトのデスクトップオブジェクトフォントとして設定するには、次のコマンドを実行します。

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

背景の設定

デスクトップ背景の設定を行うには、/desktop/gnome/background にある設定キーの値を変更します。たとえば、背景に必須イメージを設定するには、次のコマンドを実行します。

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

この設定にデフォルト値を設定するには、次のコマンドを実行します。

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

ほかの背景を設定することもできます。ほかの背景設定に関する情報については、desktop_gnome_background.schemas スキーマ定義ファイルを参照してください。

スプラッシュイメージの設定

スプラッシュイメージを設定するには、/apps/gnome-session/options/ の設定キーの値を変更します。たとえば、スプラッシュイメージを表示しないように設定するには、必須値を次のように設定します。

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

この設定にデフォルト値を設定するには、次のコマンドを実行します。

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

ほかのスプラッシュイメージを設定することもできます。ほかのスプラッシュイメージ設定に関する情報については、gnome-session.schemas スキーマ定義ファイルを参照してください。