Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 23:25:58 -0500
From:      Jim Arnold <jarnold@knightridder.com>
To:        Brendan McAlpine <bmcalpine@macconnect.com>, <questions@freebsd.org>
Subject:   Re: How do I switch between window managers?
Message-ID:  <a05101501b8bf1052c06c@[192.168.0.4]>
In-Reply-To: <B8BE12F8.B4FD%bmcalpine@macconnect.com>
References:  <B8BE12F8.B4FD%bmcalpine@macconnect.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--============_-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"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: How do I switch between window
managers?</title></head><body>
<div>At 10:20 AM -0500 3/20/02, Brendan McAlpine wrote:</div>
<blockquote type="cite" cite><font face="Verdana">Hey all</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Verdana">I just installed KDE
and Gnome on my machine and I was wondering how I go about switching
between them. &nbsp;Right now when I start X, KDE is the manager.
&nbsp;I would like to go with Gnome. &nbsp;Is there a command to
switch between window managers?</font></blockquote>
<div><font face="Verdana"><br></font></div>
<div>I do it the hard way! :)</div>
<div>I just use two shell scripts to mv the right file</div>
<div>into place. one is called &quot;ktog&quot; when I am in KDE
and</div>
<div>want to switch to gnome. &quot;gtok&quot; does the
opposite.</div>
<div>I just exit KDE or Gnome, run the correct file and startx
again.</div>
<div>details below:</div>
<div><br></div>
<div>spike 11:18pm 502 ~/bin&gt;more ktog<br>
#!/bin/sh<br>
</div>
<div># this program switches the .xintrc file from using kde to
gnome</div>
<div><br></div>
<div><br>
/bin/mv /home/jim/.xinitrc /home/jim/.xinitrc.kde<br>
/bin/mv /home/jim/.xinitrc.gnome /home/jim/.xinitrc</div>
<div><br></div>
<div>=====</div>
<div><br></div>
<div>spike 11:18pm 503 ~/bin&gt;more gtok<br>
#!/bin/sh<br>
</div>
<div># this program switches the .xintrc file from using gnome to
kde</div>
<div><br></div>
<div><br>
/bin/mv /home/jim/.xinitrc /home/jim/.xinitrc.gnome</div>
<div>/bin/mv /home/jim/.xinitrc.kde /home/jim/.xinitrc</div>
<div><br></div>
<div>======</div>
<div><br></div>
<div>.xinitrc for gnome</div>
<div>exec gnome-session</div>
<div><br></div>
<div>.xinitrc for kde</div>
<div>exec startkde</div>
<div><br></div>
</body>
</html>
--============_-1195437736==_ma============--

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?a05101501b8bf1052c06c>