public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Amin <raihan@citech-bd.com>
To: linux-newbie <linux-newbie@vger.kernel.org>
Subject: Re: Switching between KDE and GNOME
Date: Wed, 02 Jul 2003 19:54:03 +0600	[thread overview]
Message-ID: <oprrorkd0fyuy227@mail.citech-bd.com> (raw)
In-Reply-To: <200307020758.h627wdvS019825@dbmail-mx1.orcon.co.nz>

Hello,

On Wed, 2 Jul 2003 19:40:53 +1200, cr <cr@orcon.net.nz> wrote:

> There *used* to be, in RedHat 7.2 or thereabouts, a 'Desktop switcher' 
> app.   It required a restart of X for it to take effect.   But I can't 
> seem to find it in Debian 3.0.
>
> cr

I don't know how much this'll help, but I have three fully functional 
window managers/environments (a.k.a. IceWM, GNOME, KDE) that I run 
depending on my needs, and here's the file I use to switch between them:

$ more .Xclients-default
exec icewm || exec xterm -fn 7x14
#exec startkde || exec xterm -fn 7x14
#exec gnome-session || exec xterm -fn 7x14
$

As you can probably tell, IceWM is my favorite.

BTW, `.Xclients-default' is actually called from another file, at least on 
my system:

$ more .Xclients
#!/bin/bash

# Created by Red Hat Desktop Switcher

if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
    exec $HOME/.Xclients-$HOSTNAME$DISPLAY
else
    exec $HOME/.Xclients-default
fi
$

I guess this is more flexible, but if you want, you could bypass the 
convolution and put your GNOME/KDE starting commands in `.Xclients'.  These 
files are shell scripts, of course, and they are a feature of the X Window 
System.

The reason I'm bringing this up is that, seeing as controlling desktop 
environments/WMs is more of an X issue, people ought to know that there's a 
standard way they can do it in all distros, regardless of whether the 
command-line/graphical tools are available (or not).  The standard 
(command-line and graphical) tool, is, of course, `switchdesk'.  No 
surprise:  `switchdesk' is itself (mostly) a shell script!

One last thing: I read in this thread that someone's been trying to use 
KDE's window manager with GNOME.  Please save yourself the headache!

HTH,
Yawar Amin
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2003-07-02 13:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-30 13:46 Switching between KDE and GNOME Dan Zlotnikov
2003-06-30 16:55 ` Flemming Greve Skovengaard
2003-06-30 18:50   ` Ray Olszewski
2003-06-30 20:51     ` Dan Zlotnikov
2003-07-01  8:33       ` cr
2003-07-01 17:12         ` Dan Zlotnikov
2003-07-02  7:40           ` cr
2003-07-02 13:54             ` Amin [this message]
2003-07-03  9:23               ` cr
2003-07-03 13:30                 ` Dan Zlotnikov
2003-07-04  8:50                 ` Peter
2003-06-30 20:48   ` Dan Zlotnikov
2003-07-01 11:50     ` Flemming Greve Skovengaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=oprrorkd0fyuy227@mail.citech-bd.com \
    --to=raihan@citech-bd.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox