From owner-freebsd-questions Wed Mar 20 20:26:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id CEC5F37B404 for ; Wed, 20 Mar 2002 20:26:07 -0800 (PST) Received: from jimarnold.org (a11a174.neo.rr.com [204.210.192.174]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id g2L4Q6B04018; Wed, 20 Mar 2002 23:26:06 -0500 (EST) Received: from [192.168.0.4] (mac [192.168.0.4]) by jimarnold.org (Postfix) with ESMTP id 94835369A; Wed, 20 Mar 2002 23:26:05 -0500 (EST) Mime-Version: 1.0 X-Sender: jim@192.168.0.2 Message-Id: In-Reply-To: References: Date: Wed, 20 Mar 2002 23:25:58 -0500 To: Brendan McAlpine , From: Jim Arnold Subject: Re: How do I switch between window managers? Content-Type: multipart/alternative; boundary="============_-1195437736==_ma============" 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 --============_-1195437736==_ma============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" At 10:20 AM -0500 3/20/02, Brendan McAlpine wrote: >Hey all > >I just installed KDE and Gnome on my machine and I was wondering how >I go about switching between them. Right now when I start X, KDE is >the manager. I would like to go with Gnome. Is there a command to >switch between window managers? I do it the hard way! :) I just use two shell scripts to mv the right file into place. one is called "ktog" when I am in KDE and want to switch to gnome. "gtok" does the opposite. I just exit KDE or Gnome, run the correct file and startx again. details below: spike 11:18pm 502 ~/bin>more ktog #!/bin/sh # this program switches the .xintrc file from using kde to gnome /bin/mv /home/jim/.xinitrc /home/jim/.xinitrc.kde /bin/mv /home/jim/.xinitrc.gnome /home/jim/.xinitrc ===== spike 11:18pm 503 ~/bin>more gtok #!/bin/sh # this program switches the .xintrc file from using gnome to kde /bin/mv /home/jim/.xinitrc /home/jim/.xinitrc.gnome /bin/mv /home/jim/.xinitrc.kde /home/jim/.xinitrc ====== .xinitrc for gnome exec gnome-session .xinitrc for kde exec startkde --============_-1195437736==_ma============ Content-Type: text/html; charset="us-ascii" Re: How do I switch between window managers?
At 10:20 AM -0500 3/20/02, Brendan McAlpine wrote:
Hey all
I just installed KDE and Gnome on my machine and I was wondering how I go about switching between them.  Right now when I start X, KDE is the manager.  I would like to go with Gnome.  Is there a command to switch between window managers?

I do it the hard way! :)
I just use two shell scripts to mv the right file
into place. one is called "ktog" when I am in KDE and
want to switch to gnome. "gtok" does the opposite.
I just exit KDE or Gnome, run the correct file and startx again.
details below:

spike 11:18pm 502 ~/bin>more ktog
#!/bin/sh
# this program switches the .xintrc file from using kde to gnome


/bin/mv /home/jim/.xinitrc /home/jim/.xinitrc.kde
/bin/mv /home/jim/.xinitrc.gnome /home/jim/.xinitrc

=====

spike 11:18pm 503 ~/bin>more gtok
#!/bin/sh
# this program switches the .xintrc file from using gnome to kde


/bin/mv /home/jim/.xinitrc /home/jim/.xinitrc.gnome
/bin/mv /home/jim/.xinitrc.kde /home/jim/.xinitrc

======

.xinitrc for gnome
exec gnome-session

.xinitrc for kde
exec startkde

--============_-1195437736==_ma============-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message