On Fri, Jan 14, 2000 at 04:55:09PM -0800, Guyren G Howe wrote:

> Okay,
> 
> I asked the question a little while back about how I can set my window
> manager. So far I have been advised to edit, in different messages from
> different people:
> 
> /etc/X11/window-managers
> ~/xinitrc
> ~/.xsession

The first named window manager in /etc/X11/window-managers which is
found on your system is the one which will be started.  It is a system
wide setting so all users will get this window manager unless they
specify otherwise in a ~/.xsession file.

The window manager you get is controlled by the action of the Xsession
file in /etc/X11.  Before reading /etc/X11/window-managers it will
invoke .xsession if it exists.  Your .xsession should be executable and,
as a minimum, contain

#!/bin/sh
exec <window manager of your choice>

As far as I can determine ~/.xinitrc is not required as the display
manager (xdm) and startx both use /etc/X11/Xsession by default.  The
manual page for Xsession is worth reading. 

> I've also been advised to run register-window-manager --default, but when I
> run it, it advises me that it will soon be superceded!

I wasn't aware of this program but the man page is informative.  One of
its uses appears to be to allow the editing of /etc/X11/window-managers.
Usefull though this may be the same objective may be achieved using
your favourite text editor.

> Any or all of these look plausible. None of them actually seem to work (they
> currently *all* say kde, but I'm still getting enlightenment).

> What is the *real* answer here?

Apart from appreciating that KDE is not a window manager but
Enlightenment is, I'm not going to be of much help here as neither are
on my system.  It looks as though the command to start KDE is incorrect.
You could try removing ~/initrc and putting

exec startkde

in ~/xsession, or

startkde

as the first line of /etc/X11/window-managers.

> BTW, enlightenment looks like shit. I get stray lines all over the screen
> when I resize windows, most of the little icons don't do anything, and the
> right mouse-click on the desktop, which all the enlightenment
> "documentation" (which is a generous term) I've been able to find advises me
> to do, doesn't do anything.
> 
> Is enlightenment just crap, or am I missing something here?

When something does not function as I anticipate it is usually because I
have an imperfect understanding of what is involved :).

Regards,

Brian.
-- 
email: [EMAIL PROTECTED]

Reply via email to