mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Sep. 01 2005,04:35 |
|
One thing I've found somewhat frustrating is that the startx script in DSL doesn't seem to allow passing of parameters to xinit. This is a simple feature that seems to be standard in many distros (the 4 or 5 that I've used anyway). For example, a user could add something like this in .xinitrc:
Code Sample | if [ -n "$@" ]; then WM="$@" else WM=fluxbox fi exec $WM &>/dev/null |
Then he could "startx <something>" and <something> would be launched as the window manager.
As it is, though, there seems to be no simple way of picking an arbitrary window manager without a wrapper that either calls a separate xinitrc script (and bypasses startx), or replaces/edits the current .xinitrc. The concept of changing the .xinitrc manually is a simple and standard one, but so is the concept of freedom of choice and customization.
As far as I know, the only change needed would be allowing the startx script to pass params on to xinit, but I haven't fully studied the other startx scripts to compare with the one in DSL.
EDIT: I'm pretty sure that the current setup can be used to grab the window manager from the boot line, but it would be extremely convenient to be able to do this from the console as well.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|