wow; A number of the floppy images & some HD imaging apps. use the ".img" extention.
These would be auto. recognized & extentionless files would popup the types dialog.
Another common image file extention type: ".nbi" = (Network Boot Image)
I'll look into other types of images & compression formats for mime additions.

Work with the messages: if there are no more loop devices your app shows an error message, but it isn't specific and users maybe get confused. (e.g. mount pup_saveX.3fs then popup a message "Dont forget to unmount pup_saveX.3fs")

How about showing a list with the files already mounted and buttons for unmount them?

sunbunt wrote:

ALSO... DOES ANYONE SEE the FILE DOWNLOAD ABOVE? I don't see it.

No, I can see anything, or even attach something. And if anyone can't see it, how to download? So, I've mirrored your script here(But doesn't seem to work if you click it, I'd to unzip and install manually running "dotpup.sh")

I Googled about mime & read your dotpup.sh file & can't make sense of it.
Reading the dotpup.sh files made by MU's DotPup maker is always a chore.

Anyway... I thought to just merge your files & dotpup.sh with mine, which should work.
But I decided to ask if you have any advice for doing this.

Yes, it was made with MU's DotPupWizard, but you dont need the dotpup.sh from it, unzip my dotpup and extract "FILESYSTEM.tbz" and leave the rest, just add the files on FILESYSTEM.tbz to your dotpup. Alternatively you can download any dotpup packed by GuestToo and examine his dotpup.sh_________________

If you want to add more extensions(e.g. .img) open the file "/root/Choices/MIME-info/xfilemount" with leafpad/geany:

Code:

xfilemount/ext3
ext: 3fs

xfilemount/ext2
ext: 2fs

xfilemount/iso
ext: iso

xfilemount/sfs
ext: sfs

xfilemount/fs
ext: fs

Then add these lines:

Code:

xfilemount/img
ext: img

And save the file. Now go to "/root/Choices/MIME-types/" and create a new file "xfilemount_img"(or copy xfilemount_<something> to xfilemount_img) open that with a text editor and specify an action if you want.

To use the new types restart X or Re-read mime-types from Rox options._________________

Thanks wow, I'd looked at that & figured thats how to add new types to apps.

My Q really was how to set the icons in the ROX file browser for file extention types.
Like you did with your addon to xfilemount, so file types in ROX have different icons.
I know I can set the icon for each individual file with the ROX utility,
but I wanted to set an icon for each file type: .iso, .sfs, & etc. like you did.

Thus making ROX more like the Win. file browser for the new Puppy 110.

Oh , that's easy. Example for .img: once you have the new mime type right click on its icon, choose "Set icon", select "Only for the type" and drag an icon. The new icon will be placed at "/root/Choices/MIME-icons/"

You can see all the mime types for rox 1.x in this file: "/usr/local/share/Choices/MIME-info/Standard" but don't worry about that because is an old version and will be replaced in Puppy-2.13 with a new version of ROX-Filer._________________

Squash files: ".fs" & ".sfs" ALWAYS mount as read-only.
To change a Squash file, a new one must be made.

All the other image file types mount as read-write (or they should).
This means you can write to them, but image files are made a given size,
so you can't add to them past the amount of free space in the image file.

xFileMount is a file mounter only, PizzasGood's file mounters may make
a new image file that's larger as is needed because you've added to the
image file, thus forcing a new larger one in size to be made.
I've made utilities that make new larger or smaller image files, but
I haven't posted them except in a few cases where folks asked for them.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum