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 Thu 23 Oct 2014, 04:15
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Misc
How to strip Puppy 412 of the graphical system?
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
bark_bark_bark

Joined: 05 Jun 2012
Posts: 837
Location: USA

PostPosted: Thu 04 Oct 2012, 19:31    Post subject:  How to strip Puppy 412 of the graphical system?  

Hello I am working on a cli puplet and I would like help stripping the graphical system from Puppy 412 barebones. How do I do this?
_________________
Desktop: Intel 945PSN Motherboard, 3.2Ghz P-IV "Prescott 2M", 2GB RAM, 500GB WD HDD, Windows 7
(Slacko) Puppy Arcade 11 on USB Stick
Back to top
View user's profile Send private message 
cthisbear

Joined: 29 Jan 2006
Posts: 3432
Location: Sydney Australia

PostPosted: Fri 05 Oct 2012, 08:54    Post subject:  

Maybe ask >> tuxtoo

http://murga-linux.com/puppy/viewtopic.php?p=656299#656299

Chris.
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2462
Location: near here

PostPosted: Fri 05 Oct 2012, 10:49    Post subject:  

pUPnGo has done something like that, more examples-
http://puppylinux.org/wikka/Barebones

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
goingnuts

Joined: 07 Dec 2008
Posts: 781

PostPosted: Fri 05 Oct 2012, 16:02    Post subject:  

Below has not been tested but should be a decent starting point. Do not run this script unless you know what you are doing:
Code:

#!/bin/sh
echo "NOT TESTED - REMOVE BELOW exit - TO TEST..."
exit
cd /

#should remove most of basic X
rm -rf /usr/X11R7 /usr/X11 /usr/X11R6 

#remove executables which needs X
find . -type f | while read x; do
   if [ ! "$(ldd $x | grep 'not found')" = "" ]; then
      rm -f $x
   fi
done

The really quick way is to take any version of pupngo - which is basically a stripped P412 without X in its core...
Back to top
View user's profile Send private message Visit poster's website 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 837
Location: USA

PostPosted: Fri 05 Oct 2012, 16:07    Post subject:  

@darkcity: I use pupngo (the original) my self once, but I liked the version that uses Puppy 412, not 216 (the 216 version was too old for my hardware).

@goingnuts: Thanks for the script.

_________________
Desktop: Intel 945PSN Motherboard, 3.2Ghz P-IV "Prescott 2M", 2GB RAM, 500GB WD HDD, Windows 7
(Slacko) Puppy Arcade 11 on USB Stick
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Misc
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.0510s ][ Queries: 12 (0.0103s) ][ GZIP on ]