From owner-freebsd-questions Sun Sep 1 12:45:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C23CA37B407 for ; Sun, 1 Sep 2002 12:45:01 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id B492243E3B for ; Sun, 1 Sep 2002 12:44:59 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (c3dfea18a790cc2b5244283f35929776@localhost [127.0.0.1]) by vectors.cx (8.12.4/8.12.4) with ESMTP id g81JkE2e019646; Sun, 1 Sep 2002 12:46:14 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.4/8.12.4/Submit) id g81JkElV019645; Sun, 1 Sep 2002 12:46:14 -0700 (PDT) (envelope-from monkey) Date: Sun, 1 Sep 2002 12:46:14 -0700 From: Adam Weinberger To: Peter Leftwich Cc: Adam Weinberger , FreeBSD LIST Subject: Re: layers and layers of windows managers Message-ID: <20020901194614.GH56964@vectors.cx> References: <20020901191222.GF56964@vectors.cx> <20020901151838.U37627-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020901151838.U37627-100000@earl-grey.cloud9.net> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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