From owner-freebsd-questions Sun Sep 1 13:42:13 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 268B237B491 for ; Sun, 1 Sep 2002 13:41:50 -0700 (PDT) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27EB643E75 for ; Sun, 1 Sep 2002 13:41:50 -0700 (PDT) (envelope-from Hostmaster@Video2Video.Com) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 9E1ED28B3B; Sun, 1 Sep 2002 16:41:49 -0400 (EDT) Date: Sun, 1 Sep 2002 16:41:49 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: Adam Weinberger Cc: FreeBSD LIST Subject: Re: layers and layers of windows managers In-Reply-To: <20020901194614.GH56964@vectors.cx> Message-ID: <20020901163321.M37627-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sun, 1 Sep 2002, Adam Weinberger wrote: Adam, you are super, major, happily knowledgeable and HELPFUL. I hope you don't mind my continued questions? > 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. I wish to keep using Gnome (I guess) but startkde seemed much simpler (as used a few weeks ago), and KDE 2.2.2 because I couldn't figure out how to upgrade to 3.0.1 if it wasn't a pkg_add nor a /stand/sysinstall :) When you say "open the gnome control center," can this be done from a textual environment? That is, I am command line only until I can figure this out -- it is beyond me why when I run "startx" I get the standard error message about my DHCP hostname and how it should be added to /etc/hosts then one desktop wallpaper (path found in ~/.gnome/Background) then a different one which covers that one completely then just a cursor and nothing more. Ctrl-Alt-Backspace! > alternatively, edit ~/.gnome/default.wm and put the windowmanager in > there. > [Default] > WM=/usr/X11R6/bin/metacity > or whatever. I didn't have this default.wm file so I created one with your sample contents above - it didn't work. By the way, I also have a ~/.gnome2/ directory. Does this matter? > 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. I'll keep trying Gnome, it seems quite popular. I just haven't found out which windows manager(s) are most popular -- if any of them have some kind of start button or icon in the lower left, I'm sold! *grins* > 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 Symlink the two? > images, just search for them recursively. > ~/$ for i in image1.jpg image2.jpg; grep -r $i \.* > -Adam Wait wait, what does the above do? And thanks for the .xinitrc file below - It may serve SUPER ULTRA useful later, especially getting xmodmap to use, accept, and understand the "Windows" key on my keyboard! Now if only I could get imwheel (port) and my Logitech Cordless Wheel Mouse scroll wheel working in Mozilla ;-) Thanks again Adam for all your assistance, -Peter > ======================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 -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message