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 15 Sep 2014, 05:39
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
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 [18 Posts]   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
Subject description: 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.
Last edited by mow9902 on Wed 06 May 2009, 20:05; edited 1 time in total
Back to top
View user's profile Send private message 
trio


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

PostPosted: Wed 06 May 2009, 06:02    Post subject: Re: How to view contents of PET packages before installing?
Subject description: --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|My Website
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  376 Time(s) 
pet2Xarc.jpg
 Description   Screenshot
 Filesize   53.07 KB
 Viewed   1250 Time(s)

pet2Xarc.jpg


_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
jrb


Joined: 11 Dec 2007
Posts: 1036
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: 11108
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   1189 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 poster's website MSN Messenger 
charlie6


Joined: 30 Jun 2008
Posts: 1007
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 poster's website MSN Messenger 
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: 1036
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  22 Time(s) 
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 392
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: 266
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: 1036
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 from previous:   Sort by:   
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.1477s ][ Queries: 13 (0.0736s) ][ GZIP on ]