Hi, David,

Are you sure what you posted is right way to activate WM Session?

On Tue, Dec 03, 2002 at 06:18:09PM -0500, Mr. David Bersson wrote:
> I tried to post this once, but it didn't go through.
> Here's the command to add window managers to your
> sessions files. (Assuming you use gdm)
> 
> cp -a /usr/bin/wmaker /etc/gdm/Sessions/Windowmaker

This is usally not a place for binary executable file.  If similar
effect is needed I would rather use the style used by
"/etc/gdm/Sessions/Debian" script.
---
#!/bin/sh

exec /usr/bin/wmaker
---
This way, system upgrade events follow will new binary.

But more careful scripts such as the ones found for KDE and GNOME may be
a better idea.

> This copies your startup script into your Sessions
> files. You then need to give it permissions.
> 
> chmod a+x /usr/bin/wmaker

 $ ls -l /usr/bin/wmaker
-rwxr-xr-x    1 root     root         1557 Jun  2  2001 /usr/bin/wmaker

Did not -a option preserve attribute?

> This is a much superior method to your "startx" from 
> the terminal idea. Use "Sessions" in your log in box,
> that's what it there for. 

Many of us hates GUI login :-)  Also many people use $HOME/.xsession to
select Window manager and other GUI selectors such as wdm, xdm has
different machanism, I think.  I doubt your method to be "superior".
It is just an alternative but it is not really well designed, IMHO.

Really, when you are experimenting several window managers, it is much
easier starting X from console.  I personally use .xsession to customize
my WM for each user account and simply type "startx" (Or select
"Debian" in gdm, I guess.)

 http://www.debian.org/doc/manuals/reference/ch-tune.en.html#s-x 

I think WM selection mechanism needs some uniform system and I
know Branden is working on it to improve situation.

Osamu
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki <[EMAIL PROTECTED]>   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to