XFE, managing .pet,.sfs and .deb files
This how to makes managing .pet,. sfs and .deb files easy within XFE.
File associations specify what happens when you click or double click a file from a file manager such as Rox or XFE.
XFE has the ability to create multiple file associations for the same file that only apply when using XFE. This means they don't interfere with other file associations set up by other programs or the system.
With XFE you can specity what happens to Open, View, or Edit any file type. This can be used to manage .pet, .sfs, and .deb files. We'll start by setting up .pet files to either install or view the contents.
You will need to download and copy the program petview.sh to /root/my-applications/bin/petview.sh
(Thanks to @Geoffrey for the maIn code in petview.sh)
File Associations for .pet:
Open=rox
View=petview.sh
Edit=
To create the file associations:
-open XFE
-navigate to a .pet file
-right click file>Properties>File Associations
-type the programs above into their respective boxes
-click: Accept
Now when you click/double click a .pet file in XFE it will offer to install it just as if you were using Rox. If you right click a .pet and choose View, you can see it's contents.
File Associations for .sfs:
Open=rox
View=rox
Edit=
You can leave the View blank if you like since the Open action brings up a window with a View contents button.
To create the file associations:
-open XFE
-navigate to a .sfs file
-right click file>Properties>File Associations
-type the programs above into their respective boxes
-click: Accept
Now when you click/double click a .sfs file in XFE it will offer to install it just as if you were using Rox.
File Associations for .deb:
Open=rox
View=xarchive
Edit=
To create the file associations:
-open XFE
-navigate to a .deb file
-right click file>Properties>File Associations
-type the programs above into their respective boxes
-click: Accept
Now when you click/double click a .deb file in XFE it will offer to install it just as if you were using Rox. If you right click a .deb and choose View, you can see it's contents (in xarchive).
This same technique can be used for other types of files you may commonly use. You may also want to check out XFE's "global" program settings in Edit>Preferences>Programs
wizard