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 Wed 26 Nov 2014, 01:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
xFileMount.pup -mount, unmount many file types - GUI
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5042
Location: Arizona, U.S.A.

PostPosted: Sat 02 Dec 2006, 15:26    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
wow

Joined: 29 Jun 2006
Posts: 988
Location: Peru

PostPosted: Sat 02 Dec 2006, 21:48    Post_subject:  More suggestions  

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? Confused 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")

Hope this helps.

_________________

Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5042
Location: Arizona, U.S.A.

PostPosted: Sun 03 Dec 2006, 20:25    Post_subject:  

wow; I ment: (FileName).img

And there's other "image file" extentions that aren't Puppy specific that could be added.
Back to top
View user's profile Send_private_message 
wow

Joined: 29 Jun 2006
Posts: 988
Location: Peru

PostPosted: Sun 03 Dec 2006, 22:32    Post_subject:  

Ok, I'll add these extensions(info, types and icons) soon.
_________________

Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5042
Location: Arizona, U.S.A.

PostPosted: Sun 03 Dec 2006, 22:53    Post_subject:  

wow; Something I ment to ask but forgot to... Can I merge your DotPup with mine?

Rather than 2 packages for the same purpose, an integrated one seems best.
If it's okay, then I'll add what extentions seem appropriate in the merging.
Back to top
View user's profile Send_private_message 
wow

Joined: 29 Jun 2006
Posts: 988
Location: Peru

PostPosted: Sun 03 Dec 2006, 23:09    Post_subject:  

Sure Smile you only will need the first one containing mime types and info(icons are optional)
_________________

Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5042
Location: Arizona, U.S.A.

PostPosted: Wed 13 Dec 2006, 16:11    Post_subject:  

wow; I've rewritten xFileMount, it wasn't gzipping files in some cases.

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.
Back to top
View user's profile Send_private_message 
wow

Joined: 29 Jun 2006
Posts: 988
Location: Peru

PostPosted: Thu 14 Dec 2006, 23:03    Post_subject:  

sunburnt wrote:
wow; I've rewritten xFileMount, it wasn't gzipping files in some cases.

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

_________________

Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5042
Location: Arizona, U.S.A.

PostPosted: Fri 15 Dec 2006, 02:42    Post_subject:  

Thanks wow, I made a new DotPup & updated the download post.

I still don't quite grasp all the workings of the whole MIME thing.
I'll have to search for a tutorial as my Linux book is worthless.

### P.S.
The LongHorn icons are great!
How to set the icons system wide for file extention types?
I ask because Puppy 110 is being talked about in another post & this'd really jazz it up!
Back to top
View user's profile Send_private_message 
wow

Joined: 29 Jun 2006
Posts: 988
Location: Peru

PostPosted: Fri 15 Dec 2006, 15:51    Post_subject: adding more extensions  

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.

_________________

Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5042
Location: Arizona, U.S.A.

PostPosted: Fri 15 Dec 2006, 21:32    Post_subject:  

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.

Thanks for your help with this... Terry
Back to top
View user's profile Send_private_message 
wow

Joined: 29 Jun 2006
Posts: 988
Location: Peru

PostPosted: Sat 16 Dec 2006, 01:37    Post_subject:  

Oh Embarassed , 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.

_________________

Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8688

PostPosted: Sat 16 Dec 2006, 09:17    Post_subject:  

Dumb question time...
Files are mounted as 'read only' is this correct or do I need to do anything?

regression 2.2 puppy

Working fine...nice addon

mike
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5042
Location: Arizona, U.S.A.

PostPosted: Sat 16 Dec 2006, 13:09    Post_subject:  

Hi mikeb; It depends on what file type your mounting.

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.
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8688

PostPosted: Sat 16 Dec 2006, 20:59    Post_subject:  

Ok thanks for the explanation...all has become clear Very Happy

I had been using the Edit-sfs.pup and was looking to tinker with a .fs file...
Mount...extract...alter...rebuild externally is the way in this case

many thanks

mike
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0747s ][ Queries: 13 (0.0045s) ][ GZIP on ]