[Tfug] wdm on Debian woe - workaround and rant

Neil Short neshort at yahoo.com
Fri Sep 22 10:00:42 MST 2006



--- Neil Short <neshort at yahoo.com> wrote:

> 
> 
> --- "Jeremy C. Reed" <reed at reedmedia.net> wrote:
> .....
> 
> > Also wdm's Xsession script uses:
> > 
> > startup=$HOME/.xsession
> > ...
> > if [ -x $startup ]; then
> >         exec $startup
> > fi
> > 
> 
> Strange. My wdm Xsession script is really pared down
> from what I'm used to seeing on other systems:
> 
> $ cat /etc/X11/wdm/Xsession 
> #!/bin/sh
> 
> # This is an Xsession wrapper for use with wdm to
> take
> care of the
> # handling of the 'NoChange' window manager
> selection
> option.
> 
> if [ $# -eq 1 ] ; then
>   echo $1 >$HOME/.wm_style 
>   shift 
> fi
> 
> 
> 
> exec /etc/X11/Xsession `cat $HOME/.wm_style` $@
> $
> 
> > 
> > Your ~/.xsession must be executable. Even the
> README
> > and INSTALL docs 
> 
> 
> it is
> 
> ======
> Now I, Nebuchadnezzar, praise and extol and honor
> the King of heaven, for all his works are truth, and
> his ways are justice; and he is able to bring low
> those who walk in pride.
> Daniel 4:37
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> 

ok. workaround and rant:

modification to /etc/X11/wdm/Xsession:
#!/bin/sh

# This is an Xsession wrapper for use with wdm to take
care of the
# handling of the 'NoChange' window manager selection
option.

if [ $# -eq 1 ] ; then
  echo $1 >$HOME/.wm_style 
  shift 
fi

### the following added by me #########
startup=$HOME/.xsession
if [ -x $startup ]; then
        exec $startup
fi
### the previous added by me ########

exec /etc/X11/Xsession `cat $HOME/.wm_style` $@

========
and I just start up my favorite window manager from
~/.session 


<rant>
I tried to compile and install wdm from source but the
configure step wouldn't complete because -- what?
The Debian install of WindowMaker is [also] so
modified by the port maintainer that the configure
script can't find some important wmaker tools -- which
in fact do not exist on the system.

I guess I would be happy as a peach if I were content
to accept the default behavior and the fact that I am
restricted from customizing it; but I know that wdm
was made to be customized - but the port of wdm is
not.

The reason I am using Linux at all (instead of BSD) in
this case is because the BSD driver for the wireless
Atheros device is a piece of junk. Linux, as far as I
can tell, has no Atheros driver - but the one that is
circulated is a proprietary closed-source precompiled
blob; but it at least works.
</rant>

The nice thing about linux is the fast zero-to-sixty
administration.

And it still has the far less-klunky behavior and more
friendly culture than the winD'OH!s.

======
Now I, Nebuchadnezzar, praise and extol and honor the King of heaven, for all his works are truth, and his ways are justice; and he is able to bring low those who walk in pride.
Daniel 4:37

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the tfug mailing list