Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 24 Nov 2014, 20:40
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
console puppy without X server
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
odom

Joined: 27 Jul 2007
Posts: 5

PostPosted: 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
View user's profile Send private message 
Getnikar


Joined: 16 Jun 2006
Posts: 143
Location: Gold Coast, Australia

PostPosted: 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
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6690
Location: lisbon

PostPosted: 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
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: 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 . . . Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: 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
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6690
Location: lisbon

PostPosted: 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
View user's profile Send private message 
odom

Joined: 27 Jul 2007
Posts: 5

PostPosted: 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 Sad

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

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 Sad

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 Wink
Back to top
View user's profile Send private message 
odom

Joined: 27 Jul 2007
Posts: 5

PostPosted: 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
View user's profile Send private message 
odom

Joined: 27 Jul 2007
Posts: 5

PostPosted: 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
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: 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
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6690
Location: lisbon

PostPosted: 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
View user's profile Send private message 
odom

Joined: 27 Jul 2007
Posts: 5

PostPosted: 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 Sad

No idea how to solve that except rewriting it... And that means maintainance - a word which I really hate
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0647s ][ Queries: 12 (0.0072s) ][ GZIP on ]