How to view contents of PET packages before installing?
How to view contents of PET packages before installing?
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 Thu 07 May 2009, 00:05, edited 1 time in total.
Re: How to view contents of PET packages before installing?
you are excused!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.
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...
- gposil
- Posts: 1300
- Joined: Mon 06 Apr 2009, 10:00
- Location: Stanthorpe (The Granite Belt), QLD, Australia
- Contact:
Try This
This pet will allow you right click on any pet and view in XArchive.
.
.
- Attachments
-
- pet2xarc.pet
- Pet Context Viewer
- (3.04 KiB) Downloaded 619 times
-
- pet2Xarc.jpg
- Screenshot
- (53.07 KiB) Downloaded 1461 times
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]
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
~
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
~
- Attachments
-
- midnight-commander-opening-pet-file.png
- (56.69 KiB) Downloaded 1584 times
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
Re: Try This
Hi gposil,
Thanks for answer
Cheers, Charlie
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?gposil wrote:This pet will allow you right click on any pet and view in XArchive.
.
Thanks for answer
Cheers, Charlie
To see the contents of the pet packages without extracting them:
Source: amigo in http://murga-linux.com/puppy/viewtopic.php?t=90292
Code: Select all
tar -tf filename.pet
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 ...
... to ...
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
Code: Select all
GZIP_EXTS="tar.gz tgz"
Code: Select all
GZIP_EXTS="tar.gz tgz pet"
* 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
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
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
- Attachments
-
- pet2xarc.02.pet
- updated pet2xarc
- (3.17 KiB) Downloaded 261 times
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
- neerajkolte
- Posts: 516
- Joined: Mon 10 Feb 2014, 07:05
- Location: Pune, India.
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.
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
“We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.â€
- Amara’s Law.
- Ken Thompson
“We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.â€
- Amara’s Law.
You don't mention which Puppy you are using /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.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.
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
I use Slacko 5.6.
OpenWith is not the default. Try this: Temporarily rename OpenWith and the symlink SendTo. Now rightclick any file and choose "Customize menu". ROX will immediately create a new SendTo directory, not OpenWith. See also here.
The reason why your approach doesn't work for me: I don't use a pupsave file and my startup script directs the SendTo symlink to a directory outside of Puppy. I think the cleanest approach for your script would be to copy to SendTo. You shouldn't be concerned if it is "just a symlink" or a "real" directory. It's the directory ROX expects and uses, and if Puppymakers still find it wise to symlink it to another directory then it's their choice, but IMO it's not needed and adds an unnecessary level of complexity....and - obviously - confusion
OpenWith is not the default. Try this: Temporarily rename OpenWith and the symlink SendTo. Now rightclick any file and choose "Customize menu". ROX will immediately create a new SendTo directory, not OpenWith. See also here.
The reason why your approach doesn't work for me: I don't use a pupsave file and my startup script directs the SendTo symlink to a directory outside of Puppy. I think the cleanest approach for your script would be to copy to SendTo. You shouldn't be concerned if it is "just a symlink" or a "real" directory. It's the directory ROX expects and uses, and if Puppymakers still find it wise to symlink it to another directory then it's their choice, but IMO it's not needed and adds an unnecessary level of complexity....and - obviously - confusion
- tuxtoo
- Posts: 173
- Joined: Tue 14 Dec 2010, 19:45
- Location: Knaresborough, North Yorkshire, UK
- Contact:
The one I find most useful is pet2dir which can be found here - http://www.murga-linux.com/puppy/viewto ... 458#584458
Puppy Linux search engine.
[b][url]http://wellminded.net63.net/[/url][/b] Suitable for older browsers.
Mirror [b][url]https://puppysearch.neocities.org[/url][/b]
[b][url]http://wellminded.net63.net/[/url][/b] Suitable for older browsers.
Mirror [b][url]https://puppysearch.neocities.org[/url][/b]
Ah, I see. This pet does not work because of your modifications. I was aware of Rox's using SendTo instead of OpenWith because I have set up Rox in other distros and perhaps you're are right about there being an "unnecessary level of complexity and ... confusion" but there are many such in Puppy, also in other distros. You are wrong about this being my script. I did a simple repackage of gposil's script. That's what's so great about Puppy and Linux, anyone may make the changes they like. By all means feel free to make the changes you suggest and repost the pet.MochiMoppel wrote:I use Slacko 5.6.
OpenWith is not the default. Try this: Temporarily rename OpenWith and the symlink SendTo. Now rightclick any file and choose "Customize menu". ROX will immediately create a new SendTo directory, not OpenWith. See also here.
The reason why your approach doesn't work for me: I don't use a pupsave file and my startup script directs the SendTo symlink to a directory outside of Puppy. I think the cleanest approach for your script would be to copy to SendTo. You shouldn't be concerned if it is "just a symlink" or a "real" directory. It's the directory ROX expects and uses, and if Puppymakers still find it wise to symlink it to another directory then it's their choice, but IMO it's not needed and adds an unnecessary level of complexity....and - obviously - confusion
Cheers, J