Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christian Worley <cworley@altatech.com>
Subject: Re: KDE newbie question
Date: Mon, 09 Feb 1998 16:36:10 -0700	[thread overview]
Message-ID: <3fd6a0572766b75ab6e66952b3458f04.axp-list@archive.invalid> (raw)

Scott wrote:
> 
> Hi Chris,
> I
> wish I was as optimistic as you regarding KDE but unfortunately when I
> start, the kdm offers me a choice of window managers. I
> select the default (KDE) and end up with a lesstif style manager. I assume
> (and ya know what they say) that being that I have a UDB and using the TGA
> card and it being an 8 bit plane card I cannot use the KDE desktop. 
> 

I too have a (aka I'm stuck with a) TGA.  I was shocked to see KDE
handle it (256 colors) so well (my old fvwm95 had to be coaxed, by
melting all the icons into a small color map)!  I also have a Matrox
Millenium II, which works great.

Your problem:  I had that too.  You have to follow how xdm is setup to
figure out the problem.  KDM keys off of the XDM setup in /etc/X11/xdm,
but expects things a little differently from how RedHat5.0 xdm is setup.

KDM is expecting that your .Xclients file will take an argument of the
window manager to run, which it does not.  Actually, there would be a
few ways to set this up (look at all the ways /etc/X11/xdm/Xsession
tries to start X), but I already have an ~/.Xclients file, so I attacked
it from there.  I hacked a line in /etc/X11/xdm/Xsession from:

        exec "$HOME/.Xclients"

to:

        exec "$HOME/.Xclients" $1

(I added the incoming "$1" arg to be an arg to my ~/.Xclients file).

Then, in my ~/.Xclients file, I changed it to look like:

xrdb .Xdefaults
manager=${1:-kde}

case $manager in
        kde)  
          exec $HOME/.xinitrc.kde
          ;;
        fvwm95)
          exec $HOME/.xinitrc.fvwm95
          ;;
        *)
          exec $1
          ;;
esac

This now says: if there's no given argument, use "kde".  If the argument
is "kde", run ".xinitrc.kde", if it's "fvwm95", run ".xinitrc.fvwm95",
otherwise, run whatever the argument is.  I've tried this for: fvwm,
fvwm2, mwm, twm, as well as fvwm95 and kde; they all work.  That kdm
window manager is the slickest I've seen (well, actually, it's kinda
like on the SGI).

My ".xinitrc.kde" is the ".xinitrc" that Hans provided in the original
post.

Anybody know of a more appropriate way (i.e., that doesn't require
changing /etc/X11/xdm/Xsession)?

Chris

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1998-02-09 23:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-09 23:36 Christian Worley [this message]
     [not found] <34DF7FA4.41C6@intac.com>
1998-02-10  6:55 ` KDE newbie question Hugo van der Kooij
  -- strict thread matches above, loose matches on Subject: below --
1998-02-09 23:39 Christian Worley
1998-02-09 23:08 Jurriaan Saathof
1998-02-09 22:13 Brian E.W. Wood
1998-02-09 21:21 Scott
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox