| Author |
Message |
odom
Joined: 27 Jul 2007 Posts: 5
|
Posted: Fri 27 Jul 2007, 07:04 Post subject:
console puppy without X server |
|
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?
|
|
Back to top
|
|
 |
Getnikar

Joined: 16 Jun 2006 Posts: 143 Location: Gold Coast, Australia
|
Posted: Sat 28 Jul 2007, 08:15 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Sun 29 Jul 2007, 20:33 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Mon 30 Jul 2007, 00:47 Post subject:
|
|
I think the guy who created this console based Puplet "PicoPup"
http://puppylinux.org/wikka/PicoPupMPD
had a console programs thread . . .
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
John Doe
Joined: 01 Aug 2005 Posts: 1689 Location: Michigan, US
|
Posted: Mon 30 Jul 2007, 01:05 Post subject:
Re: console puppy without X server |
|
| 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
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Tue 31 Jul 2007, 07:09 Post subject:
|
|
here are a few links that might be useful regarding creating a commandline puppy:
http://www.murga-linux.com/puppy/viewtopic.php?search_id=1804686597&t=11232
http://www.murga-linux.com/puppy/viewtopic.php?search_id=163558770&t=11361
http://www.murga-linux.com/puppy/viewtopic.php?search_id=163558770&t=8623
|
|
Back to top
|
|
 |
odom
Joined: 27 Jul 2007 Posts: 5
|
Posted: Wed 01 Aug 2007, 08:56 Post subject:
|
|
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
|
|
Back to top
|
|
 |
odom
Joined: 27 Jul 2007 Posts: 5
|
Posted: Wed 01 Aug 2007, 09:02 Post subject:
|
|
ah found it.
I will need an CLI substitute for gtkdialog2
Hmmm... any idea?
|
|
Back to top
|
|
 |
odom
Joined: 27 Jul 2007 Posts: 5
|
Posted: Thu 02 Aug 2007, 08:03 Post subject:
|
|
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?
|
|
Back to top
|
|
 |
jcoder24

Joined: 06 May 2005 Posts: 601 Location: Barbados
|
Posted: Thu 02 Aug 2007, 08:29 Post subject:
|
|
http://www.puptrix.org/isos/puppy-onebone-2.10-elinks.iso
http://www.puptrix.org/isos/puppy-onebone-2.10-elinks.iso.md5.txt
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Thu 02 Aug 2007, 09:01 Post subject:
|
|
odom,
also have a squizz at the 3 links i gave above as they are all one-bone related.
|
|
Back to top
|
|
 |
odom
Joined: 27 Jul 2007 Posts: 5
|
Posted: Fri 03 Aug 2007, 06:25 Post subject:
|
|
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
|
|
Back to top
|
|
 |
|