XFE, managing .pet,.sfs and .deb files

Moderator: Forum moderators

Post Reply
User avatar
wizard
Posts: 1984
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2648 times
Been thanked: 692 times

XFE, managing .pet,.sfs and .deb files

Post by wizard »

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)

petview.sh.gz
remove fake .gz before using
(198 Bytes) Downloaded 55 times

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

file-assoc.jpg
file-assoc.jpg (24.05 KiB) Viewed 1088 times

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.

sfs-assoc.jpg
sfs-assoc.jpg (28.43 KiB) Viewed 1088 times

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

Big pile of OLD computers

Post Reply

Return to “File Management”