[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:24343] Re: sawfish & wall paper



久保田です。

At Thu, 5 Oct 2000 21:38:10 +0900,
Hirohisa Inoue <yusu@xxxxxxxxxxxxx> wrote:

> マシンの起動時にlogin画面がでますが、背景が灰色で何もありません。

login 画面というのは、コンソール画面ではなくて、X Window System の
画面 (ようするに、xdm) ですよね?

すみませんが、こっちのほうはパス。たぶん、/etc/X11/xdm/ の中の
ファイルを読んで勉強すれば答えが分かるのだと思います。


> login後にsawfishが起動して、kterm emacs がたちあがりますが、
> これも背景がなく、gnome control center をあげて、壁紙を指定しなくてはならない状態です。
> 初めから、背景が表示されているようにするには、どうするのでしょうか。
> sawfishではなく、gnome-sessionなら初めから背景に色がついてます。

"sawfishではなく、gnome-sessionなら" というのがいまいち意味が分からな
いですが、

一般的に、startx や、xdm からのログインで X Window System を使うときは、
ホームディレクトリにある .xsession というファイルが実行されます。
(そのしくみは、/etc/X11/Xsession というファイルを読むと分かります)。

# .xsession が終了すると、startx が終了またはログアウトします。

というわけで、.xsession の最初のほうに、壁紙を設定するコマンドを
書けばいいです。もし .xsession がないのでしたら、作りましょう。
そのときは、user-ja パッケージが参考になると思います。
(宣伝モード ;-)

「最初のほう」というのが具体的にどれくらい最初のほうか、
なにが基準となっているか、については、いろいろ試してみてください。
言葉で説明するのはちょっと難しいので。
(実際には、かなりうしろの方でも大丈夫なことが多いと思います)。

壁紙を設定するコマンドにはどのようなものがあるか、ですが、
user-ja パッケージが生成する .xsession には、xsetroot が
(コメントアウトした状態ですが) 例示されています。ほかにも
いろいろあります。たとえば、

apt-cache search 'root window'

とやってみると、

xplanet - render images of the earth
xphoon - sets the root window to a picture of the moon
xsnow - Brings Christmas to your desktop
xbmbrowser - Browser for Pixmaps and Bitmaps
xscreensaver - Automatic screensaver for X
rt - Displays select log files in the X root window.
xearth-ja - Sets the X root window to an image of the Earth.
chameleon - Application for putting pictures or color in the root window
xearth - Show a rotating earth on your X root window
unclutter - hides the mouse in X after a period of inactivity
xloadimage - Graphics file viewer under X11
xmountains - fractal landscape generator for X
xeyes+ - Another Follow the Mouse X demo
xoj - O.J. Simpson emulator -- root window demo.
fvwm-common - Files shared between the fvwm, fvwm1 and fvwm95 packages
xtartan - Display Scottish tartans
floatbg - slowly modify the color of the X root window
xroach - infests X with disgusting cockroaches

と出てきます (potato の場合)。これらのパッケージを試して
みるのもいいでしょう (ただし、このリストの中には、求めるもの
とは違うものもありますので注意してください)。

---
久保田智広 / Tomohiro KUBOTA <kubota@debian.org>
http://surfchem0.riken.go.jp/~kubota/