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 24 Jul 2014, 23:56
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 Posts_count  
Author Message
bark_bark_bark

Joined: 05 Jun 2012
Posts: 780
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
Back to top
View user's profile Send_private_message 
cthisbear

Joined: 29 Jan 2006
Posts: 3387
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: 2424
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_website 
goingnuts

Joined: 07 Dec 2008
Posts: 779

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_website 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 780
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
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Taking the Puppy out for a walk » Misc
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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