Bringing OneBone and Puppy together with pfix=nox

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

Bringing OneBone and Puppy together with pfix=nox

#1 Post by John Doe »

For those of you that might enjoy the humor in the ambiguity of it, I had originally entitled this "Giving Puppy the Bone" or "Puppy gets the bone" (in honor of OneBone).

This will keep xwin from being called the first time if used. xwin can be run anytime after that to start your window manager.

The line numbers might be different now, I did this a version or two ago. If there are any questions, feel free to ask.

'init'

Code: Select all

Set Var to yes at beginning (not sure if this is needed, but I used it):

XWINDOW="yes"

Line 43 (where pfix args are set):
nox)  XWINDOW="no";;		 #no xwindows

Line 1272 (new addition to the PUPSTATE file)
echo "XWINDOW='$XWINDOW'" >> /pup_rw/etc/rc.d/PUPSTATE

=================

'xwin'

Code: Select all

(PUPSTATE is included already in xwin, so we can use it here)

if [ "$XWINDOW" != "no" ];then
#finally, start X...
<code>
#...if PC hung, run xorgwizard at next bootup (see further up).
else
echo "XWINDOW='yes'" >> /etc/rc.d/PUPSTATE
fi
Throw in elinks, ytree, mp, gpm (don't forget this one), mplayer/mencoder and you've got a cli capable puppy that a bit different than not pivoting.

Post Reply