Date: Sun, 1 Sep 2002 12:46:14 -0700 From: Adam Weinberger <adam@vectors.cx> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: Adam Weinberger <adam@vectors.cx>, FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org> Subject: Re: layers and layers of windows managers Message-ID: <20020901194614.GH56964@vectors.cx> In-Reply-To: <20020901151838.U37627-100000@earl-grey.cloud9.net> References: <20020901191222.GF56964@vectors.cx> <20020901151838.U37627-100000@earl-grey.cloud9.net>
next in thread | previous in thread | raw e-mail | index | archive | help
if you wish to keep using gnome and just change which window manager
starts up, open the gnome control center (bin/gnomecc) and modify the
"Window Manager" page of the "Desktop" category.
alternatively, edit ~/.gnome/default.wm and put the windowmanager in
there.
[Default]
WM=/usr/X11R6/bin/metacity
or whatever.
if you don't wish to run gnome at all, then just edit your .xinitrc file
and change the exec line to something else. that file is a script. i'm
attaching mine.
if you're running startx, all you need is an .xinitrc file. i typically
just link .xinitrc and .xsession. if something is spawning multiple root
images, just search for them recursively.
~/$ for i in image1.jpg image2.jpg; grep -r $i \.*
-Adam
======================begin .xinitrc
xhost +&
# not the best idea, but it's a laptop, and 6000 is blocked by ipfw
# anyhow
xmodmap /monkey/.xmodmaprc &
# invoke with WM= to change windowmanagers. WM=kde starts KDE, WM=bob
# starts "bob" even though it isn't in the list below, and leaving out
# the WM= term just starts the default. i am very close to sneezing on
# this keyboard.
case $WM in
kde)
#KDE desktop system bloat thang
exec startkde
;;
enlightenment)
#enlightenment
sleep 8 && NO_PROMPT=1 Eterm -C -g 100x20+0-0 -q -x --no-cursor \
--cmod-red=256 --cmod-green=256 --cmod-blue=256 &
exec enlightenment
;;
'sawfish')
#sawfish
sleep 12 && NO_PROMPT=1 Eterm -C -g 100x20+0+990 -q -x --no-cursor \
--cmod-red='256 256 256' --cmod-blue="256 256 256" \
--cmod-green="256 256 256" --font=snap -f white &
#sleep 120 && xpenguins -t Lemmings -t "The Simpsons" \
#-t "Sonic the Hedgehog" -s &
sleep 120 && xpenguins -t Lemmings -t "The Simpsons" \
-t "Sonic the Hedgehog" &
mouseclock -bd 2&
exec gnome-session
;;
'fluxbox')
#fluxbox
appletproxy /usr/local/share/apps/kicker/applets/knewsticker.desktop \
--geometry 1600x27+0+1148&
xpenguins -t "Sonic the Hedgehog" &
bbpager -w &
wmfmixer &
exec fluxbox
;;
'windowmaker')
#windowmaker
xbindkeys &
# LD_PRELOAD=/usr/X11R6/lib/libgdkxft.so exec wmaker
exec wmaker
;;
'')
#default
#fvwm
Esetroot -s /home/images/root/TreasureNap.jpg &
exec fvwm
;;
*)
#else
exec $WM
;;
esac
============================end .xinitrc
--
"Oh good, my dog found the chainsaw."
-Lilo, "Lilo & Stitch"
Adam Weinberger
adam@vectors.cx
http://vectors.cx
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020901194614.GH56964>
