console puppy without X server

A home for all kinds of Puppy related projects
Post Reply
Message
Author
odom
Posts: 5
Joined: Fri 27 Jul 2007, 10:57

console puppy without X server

#1 Post by odom »

I am trying to build a small Puppy derivative to control my NAS RAID 1 and Twonky and ITunes.

I stripped down Puppy with Unleashed and it works well.
All X-related packages are gone and thats what I want.

Problem:

Network wizard and Universal Installer DO need X (At least for XMessage and XDialog)

Any solution out there to run Puppy ciompletely without X?

User avatar
Getnikar
Posts: 143
Joined: Sat 17 Jun 2006, 02:34
Location: Gold Coast, Australia

#2 Post by Getnikar »

Are they scripts? If so, you might have to recode them to use dialog, and submit them to Barry. Of course they really would need to be updated in parallel with their X equivalents in future. I guess the only way to do this with Puppy is to have Barry agree to take this on, else fork your own Puppy.

Ideally the existing code should cater for X and console.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#3 Post by muggins »

nathan made a version, (maybe two?), of a commandline puppy, awhile ago. i think somewhere around puppy2.01. i'll have a search for it later & see if i can dig some link up.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#4 Post by Lobster »

I think the guy who created this console based Puplet "PicoPup"
http://puppylinux.org/wikka/PicoPupMPD
had a console programs thread . . . :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

Re: console puppy without X server

#5 Post by John Doe »

odom wrote:Any solution out there to run Puppy ciompletely without X?
use the pfix=nox param

and this page:

http://www.puppylinux.org/wikka/ShellScriptsExamples

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#6 Post by muggins »


odom
Posts: 5
Joined: Fri 27 Jul 2007, 10:57

#7 Post by odom »

Thanks a lot so far.

Thats the current status:

Puppy works fine without X and comes up and runs very good.


I wrote a main-menu für my life-cd with sh and dialog, that comes up at boottime and gives you choices like:

- Install to device (HDD,USB,...)
- Setup network (modules and IP-settings)
- Shell
- Reboot
- Shutdown

For the network setup part I adopted parts from puppys network setup wizard and parts from trivial-network-setup and recoded everything with sh and dialog - cool!

The first menu item is still a big issue. Actually I intended to redirect the calls to Xdialog and gxmessage to "wrapper-scripts" which translate the Xdialog and gxmessage-commandline syntax to calls to the dialog software.

-- yes -- It works -- but unfortunately thats not it :-(

puppyinstaller seems to call another software after the initial selection of the targetdevice in the menu. And thats not Xdialog or gxmessage :-(

So it seems like my first approach to make the puppyinstaller available under the CLI failed at that point and maybe I will have to analyze and rewrite the puppyintaller which I actually dont want to do :-(

Maybe somebody knows about the puppyinstaller and has an idea how I could solve this problem?

BTW: Somebody interested in the CLI-wrappers for XDialog and gxmessage (both still beta, fur sure ;-)

odom
Posts: 5
Joined: Fri 27 Jul 2007, 10:57

#8 Post by odom »

ah found it.
I will need an CLI substitute for gtkdialog2
Hmmm... any idea?

odom
Posts: 5
Joined: Fri 27 Jul 2007, 10:57

#9 Post by odom »

There was a distribution around some years ago which was called OneBone Puppy. This one seems to do exacly what I am looking for.

Does somebody know what happened to this distro?

Is there a chance to contact Barry directly abot this?


muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#11 Post by muggins »

odom,

also have a squizz at the 3 links i gave above as they are all one-bone related.

odom
Posts: 5
Joined: Fri 27 Jul 2007, 10:57

#12 Post by odom »

Yeah.

Thanks for the links. The information was really useful for me.

Just the problem with the installer is still open.

The puppy universal installer needs X :-(

No idea how to solve that except rewriting it... And that means maintainance - a word which I really hate

Post Reply