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

Re: [Debian]: fvwm2



On Mon, Oct 05, 1998 at 08:34:36PM +0000, MB wrote:
> Hallo!
> 
> Da das grau melierte Bild des gestarteten X-Servers recht öde ist würde
> ich gerne ein Hintergrundbild laden (beim starten des WM). Das Bild hat
> schon die korrekte Auflösung und ich denke das ich dies mit dem
> Bildbetrachter xloadimage realisieren kann, oder?

Klar.

> Ich kopiere mir dazu die .fvwm2rc in das Home-Verzeichnis des Users und
> bearbeite sie wie folgt:

Warum so kompliziert, wenn's auch einfach geht?

mkdir ~/.fvwm2
cp <bild-datei> ~/.fvwm2/background.jpg

bzw. background.gif, background.xpm.

Oder sogar:

# cat > ~/.fvwm2/background.list
mein/eines/bild.jpg
mein/anderes/bild.gif
und/so/weiter
{CTRL-D}

für eine zufällige Auswahl 1 aus `cat ~/.fvwm2/background.list|wc -l`. :)

oder sogar

echo "yellow" > ~/.fvwm2/background.color

Für einfarbigen Hintergrund.


> P.S.: Ja, ja, ich weiß: man fvwm2; /usr/doc/fvwm2 und co...;^)

neee, gar nicht. /usr/doc/fvwm2/README.sysrc.gz

:P

Viel Spaß,
Marcus

PS:
    The hooks

For each hook, there is one version for the system administrator,
located in /etc/X11/fvwm2, and one for the user, located in ~/.fvwm2.
The system administrator hook is read in first.

The hooks are:
[...]
        background.xpm
        background.jpg
        background.gif
        background.color
        background.list
                These files define the screen background (root window).
                They are searched for in order, and only the first
                one is used.  (Also, for this case only, the user
                hook is searched for before the system administrator,
                because otherwise a user could not override the background).

                background.xpm, background.jpg and background.gif
                should be the graphic files themselves (or a symbolic
                link to them).

                The background.color file should contain one line that
                gives the name of a color.  The background will then
                be set to that color.

                The background.list file should be a list of
                filenames, one per line. Each line specifies the path
                to a jpg or gif format picture file. Paths can be
                absolute (starting with '/'), or relative to the
                user's home directory. The background will be set to
                one of the pictures at random.

-- 
"Rhubarb is no Egyptian god."        Debian GNU/Linux        finger brinkmd@ 
Marcus Brinkmann                   http://www.debian.org    master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <your_email_address>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     650


Reply to: