2.11BETA - suggestions

Please post any bugs you have found
Post Reply
Message
Author
GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

2.11BETA - suggestions

#1 Post by GuestToo »

not really bugs ...

if someone types xwin or startx in an rxvt console window, it can do strange things ... putting a line like this at the beginning of xwin might prevent problems

[ -z $DISPLAY ] || exit

-----

i put -br in xwin, in the line that starts Xorg ... i think it looks nicer to start X with a black background than a grey checked background ... at least, when X starts from a text terminal which also has a black background ... Xorg faqs

in xwin, i changed:

... .xinitrc -- -nolisten tcp ...

to:

... .xinitrc -- -br -nolisten tcp ...

(by the way, i think -nolisten tcp will prevent chroot from being able to run X windows)

-----

if this line in .xinitrc:

exec $CURRENTWM

is changed to:

which $CURRENTWM && exec $CURRENTWM
[ -x $CURRENTWM ] && exec $CURRENTWM
exec jwm

it would make X more likely to start if the wm would not normally be found (for example, someone types xwin fvwm when fvwm is not installed)

the first line starts the wm if it is found in PATH
the second line starts the wm if it is a vaild executable file, but not in the PATH
the third line starts the default wm if $CURRENTWM does not seem to make sense

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

That all looks good to me, all implemented!

Post Reply