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 Tue 21 Oct 2014, 17:54
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to view contents of PET packages before installing?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
mow9902

Joined: 26 Nov 2008
Posts: 110

PostPosted: Wed 06 May 2009, 05:54    Post_subject:  How to view contents of PET packages before installing?
Sub_title: Solved
 

Excuse my ignorance. I would like to be able to examine the contents of a PET package before I actually click on it to install. How can I do this please.
Edited_time_total
Back to top
View user's profile Send_private_message 
trio


Joined: 21 Dec 2008
Posts: 1798
Location: अनुमोदना

PostPosted: Wed 06 May 2009, 06:02    Post_subject: Re: How to view contents of PET packages before installing?
Sub_title: --is there an app which can open and view PET file contents?
 

mow9902 wrote:
Excuse my ignorance. I would like to be able to examine the contents of a PET package before I actually click on it to install. How can I do this please.


you are excused! Wink

well, you right click the .pet and choose rename, then on the rename window you add words so it will be like this --> xxx.pet.tar.gz

then you can open that xxx.pet.tar.gz by clicking on it so the default archiver will open it....well now you can see inside .pet! ...some more? you can also extract it somewhere........and dive inside the folder...

_________________
PET Maker|WbarCC
Back to top
View user's profile Send_private_message 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Wed 06 May 2009, 08:26    Post_subject: Try This  

This pet will allow you right click on any pet and view in XArchive.

.
pet2xarc.pet
Description  Pet Context Viewer
pet

 Download 
Filename  pet2xarc.pet 
Filesize  3.04 KB 
Downloaded  389 Time(s) 
pet2Xarc.jpg
 Description   Screenshot
 Filesize   53.07 KB
 Viewed   1302 Time(s)

pet2Xarc.jpg


_________________
Dpup Home
Back to top
View user's profile Send_private_message Visit_website MSNM 
jrb


Joined: 11 Dec 2007
Posts: 1040
Location: Smithers, BC, Canada

PostPosted: Wed 06 May 2009, 10:41    Post_subject:  

Wow! Nicely done gposil. The ., t, g, and z keys on my keyboard thank you very much.
Back to top
View user's profile Send_private_message 
Bruce B


Joined: 18 May 2005
Posts: 11130
Location: The Peoples Republic of California

PostPosted: Wed 06 May 2009, 15:37    Post_subject:  

Midnight Commander

I use one tool for about all file archives.

Attached is a picture. Left pane shows Midnight Commander
opening a pet file. Open means literally 'open', it doesn't
extract the contents. It opens the .pet package in a VFS
(Virtual File System)

The wanted contents in this example are the AbiWord
dictionary and hash file.

The right pane shows .AbiSuite dictionary directory. All that
needs be done is highlight the two files in the left panel and
copy them to the right side.

Bruce

~
midnight-commander-opening-pet-file.png
 Description   
 Filesize   56.69 KB
 Viewed   1262 Time(s)

midnight-commander-opening-pet-file.png


_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send_private_message 
mow9902

Joined: 26 Nov 2008
Posts: 110

PostPosted: Wed 06 May 2009, 20:03    Post_subject:  

Brilliant! thanks
Back to top
View user's profile Send_private_message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Wed 06 May 2009, 23:09    Post_subject:  

Wow, brilliant idea for a feature gposil! Push to have it included in the main puppy please!
_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send_private_message Visit_website MSNM 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: Fri 22 May 2009, 14:22    Post_subject: Re: Try This  

Hi gposil,
gposil wrote:
This pet will allow you right click on any pet and view in XArchive.
.

I apologize if my question is irrelevant...which desktop theme do you use on the screenshot? is this icewm, isn't? Do you run puppy on a Mac PC?

Thanks for answer
Cheers, Charlie
Back to top
View user's profile Send_private_message 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Fri 22 May 2009, 20:41    Post_subject:  

It's Icewm on a PC with the Abby Leopard Theme...neat
_________________
Dpup Home
Back to top
View user's profile Send_private_message Visit_website MSNM 
zandarian

Joined: 14 Oct 2009
Posts: 117

PostPosted: Fri 22 Aug 2014, 05:33    Post_subject:  

To see the contents of the pet packages without extracting them:
Code:
tar -tf filename.pet

Source: amigo in http://murga-linux.com/puppy/viewtopic.php?t=90292
Back to top
View user's profile Send_private_message 
zandarian

Joined: 14 Oct 2009
Posts: 117

PostPosted: Fri 22 Aug 2014, 06:13    Post_subject:  

To make XArchive show the contents of the pet packages without renaming them, I've edited /usr/lib/xarchive/wrappers/tar-wrap.sh and changed ...
Code:
GZIP_EXTS="tar.gz tgz"

... to ...
Code:
GZIP_EXTS="tar.gz tgz pet"

Sources:
* upnorth in http://www.murga-linux.com/puppy/viewtopic.php?t=58641
* gposil's pet2xarc.pet (in this thread)
* mikeb in http://murga-linux.com/puppy/viewtopic.php?t=90292
Back to top
View user's profile Send_private_message 
jrb


Joined: 11 Dec 2007
Posts: 1040
Location: Smithers, BC, Canada

PostPosted: Fri 22 Aug 2014, 13:51    Post_subject:  

Thanks for calling my attention to this pet zandarian. Somehow I had let it slip away.

I have repackaged gposil's pet2xarc.pet so that it works in Slacko-5.7 and 5.9.3 and also Tahr-5.8.3. Tested minimally in those three, hopefully it works in all the other new Puppies as well.

Cheers, J
pet2xarc.02.pet
Description  updated pet2xarc
pet

 Download 
Filename  pet2xarc.02.pet 
Filesize  3.17 KB 
Downloaded  37 Time(s) 
Back to top
View user's profile Send_private_message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 425
Location: Japan

PostPosted: Fri 22 Aug 2014, 22:57    Post_subject:  

Hmmm...doesn't work for me as it directly writes to /root/.config/rox.sourceforge.net/OpenWith instead of /root/.config/rox.sourceforge.net/SendTo. AFAIK OpenWith was the mandatory directory name when gposil posted his pet, now it's SendTo.
Back to top
View user's profile Send_private_message 
neerajkolte


Joined: 10 Feb 2014
Posts: 297
Location: Pune, India.

PostPosted: Fri 22 Aug 2014, 23:43    Post_subject:  

Hi everyone,
In Fatdog64 when I right click a .pet file, I get 2 options,

1) See contents of this pet -- this pops up an dialog listing all directories, sub-directories and files inside the pet.
2) Extract the pet -- This extracts the containts of pet in a directory of pet's name.

I will look at /root/.config/rox.sourceforge.net/SendTo when I get back home from work.

Thanks.

- Neeraj.

_________________
"One of my most productive days was throwing away 1000 lines of code."— Ken Thompson
Back to top
View user's profile Send_private_message 
jrb


Joined: 11 Dec 2007
Posts: 1040
Location: Smithers, BC, Canada

PostPosted: Sat 23 Aug 2014, 09:57    Post_subject:  

MochiMoppel wrote:
Hmmm...doesn't work for me as it directly writes to /root/.config/rox.sourceforge.net/OpenWith instead of /root/.config/rox.sourceforge.net/SendTo. AFAIK OpenWith was the mandatory directory name when gposil posted his pet, now it's SendTo.

You don't mention which Puppy you are using Question /root/.config/rox.sourceforge.net/OpenWith is still the default in Slacko-5.9.3, Slacko-5.7 and Tahr-5.8.3. SendTo is just a symlink to OpenWith.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
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.0950s ][ Queries: 13 (0.0207s) ][ GZIP on ]