gnomeでの壁紙変更方法

| No Comments | No TrackBacks

昔買った壁紙写真集が出てきたので,これをubuntuで使おうと考え,gnomeでの壁紙変更方法を調査。

[smdn] Linux/Gnome/コマンドラインでの壁紙の変更

Linux/Gnome/コマンドラインでの壁紙の変更 ?

gconftool-2 ?

コマンドラインから壁紙を変更する方法。 gconftool-2コマンドを使用することで設定を変更・取得することができる。 まずは壁紙ファイルの設定方法から。

gconftool-2 --type string --set "/desktop/gnome/background/picture_filename" ファイル名

続いて、壁紙の配置スタイルの設定方法。

gconftool-2 --type string --set "/desktop/gnome/background/picture_options" スタイル

ちなみに、次のスタイルを適用することができる。

* scaled(等幅サイズ変更)
* stretched(フルスクリーン)
* centered(中央に配置)
* wallpaper(サイズ均等、並べて表示)

設定を取得するには--setではなく--getオプションを使用する。

gconftool-2 --get "/desktop/gnome/background/picture_options

No TrackBacks

TrackBack URL: http://systems-power.com/home/mt-tb.cgi/351

Leave a comment

Powered by Movable Type 5.02
Follow systems_power on Twitter