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 Tue 22 Jul 2014, 20:02
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 1 of 4 [56 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
sunburnt


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

PostPosted: Tue 28 Nov 2006, 17:40    Post subject:  xFileMount.pup -mount, unmount many file types - GUI
Subject description: New version, works with ROX
 

As per Pizzasgood's suggestion... I rewrote my file mounting utility to work with ROX.
The DotPup adds the menu item: "Un_Mount" to ROX's: "Open With..." menu.

It mounts & unmounts: initrd.gz, initrd, image.gz, image, ISO, Squash (.fs, .sfs),
SAVE files (.2fs, .3fs), ext2 & ext3 image files, & prompts if it can't identify the file type.
For unmounting, the file or the mount dir. can be used.
xfilemount also is a GUI & will also accept command line input.
Example: xfilemount (FileName)
This will mount the file if it's unmounted, or will unmount it if it's mounted.

To Use:
Right click the file, hover on: File '(FileName)', click on: Open With..., then click: Un_Mount.


NEW version ...
============
Thanks to "wow" it now will mount / unmount file types: .fs, .sfs, .2fs, .3fs, .iso
by just clicking on them in ROX, a popup tells when UnMounting a file.
xFileMount.pup
Description  Tested but... nothing's perfect in this world, please report problems.
pup

 Download 
Filename  xFileMount.pup 
Filesize  2.91 KB 
Downloaded  1013 Time(s) 

Last edited by sunburnt on Fri 15 Dec 2006, 02:48; edited 1 time in total
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Wed 29 Nov 2006, 19:16    Post subject:  

In the newer rox, there is a menu item that says something like "add custom entry". It lets you add custom entries, but only for the type of file you rightclicked to bring up the menu. Or at least that's how it worked when I toyed with it. I don't have it installed right now, and it's a version or two newer now also.
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
sunburnt


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

PostPosted: Fri 01 Dec 2006, 17:20    Post subject:  

NOTE: I've noticed that using xfilemount in GUI mode that it doesn't popup the "unmount" dialog.
This means that for initrd.gz & image.gz files that they won't be re-gzipped!

The weard thing is I can't see why I'm getting the error:
./xfilemount: line 202: syntax error: unexpected end of file

Here's the last part of the script, it pops up ROX & instead of Popping up the xmessage it errors.

rox $MntPt
if [ -n "$1" ];then ##### end of command argument section
exit 0
if
# success mounting, & info. dialog
xmessage -center "
Success mounting the file:

$FILE

The file is mounted on: $MntPt


When ready, click [okay] to unmount the file.
=============================================

"
unmnt_file
Back to top
View user's profile Send private message 
sunburnt


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

PostPosted: Fri 01 Dec 2006, 17:30    Post subject:  

FOUND IT... The "if" statement ends with "if" & not "fi".

BUT... My forum access is screwed up!

I don't have the edit button or the others, & there's no file download showing.
Back to top
View user's profile Send private message 
darkerror05


Joined: 17 Jun 2006
Posts: 277
Location: Rochester NY, USA

PostPosted: Fri 01 Dec 2006, 18:04    Post subject:  

I installed the dotpup in a fresh 2.10 live cd boot and it doesnt work in rox. I see the entery in the open with dialog but next to it instead of the normal picture it gives one that reads "error". And when clicked it does nothing. It seems that the dotpup isnt actaully installing an exacutable anywhere or atleast I cant find one. Any idea why this is?
_________________
-darkerror
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 01 Dec 2006, 19:21    Post subject:  

The forum has been updated and John probably forgot to re-enable editing or something. He didn't notice because he can edit anything anyway. I'll go PM him...
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
darkerror05


Joined: 17 Jun 2006
Posts: 277
Location: Rochester NY, USA

PostPosted: Fri 01 Dec 2006, 19:24    Post subject:  

edit works fine here. All I can guess is cache. Try clearing it.(hmm mabey that idea came frome the suggestion MU gave me about the sub-forums earlier.... hmmmm...)
_________________
-darkerror
Back to top
View user's profile Send private message 
sunburnt


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

PostPosted: Fri 01 Dec 2006, 19:49    Post subject:  

Pizzasgood;

Also the forums email notifications don't work, the link URL is different than my Bookmarks link.
So I have to check my email, then use the Bookmark link & search for post.


darkerror05; Is there a file: /usr/bin/xfilemount

Here's the dotpup.sh commands to install it:

cp -f ./xfilemount /usr/bin
ln -s /usr/bin/xfilemount /root/Choices/SendTo/Un-Mount
mv -f /root/Choices/SendTo/Un-Mount /root/Choices/SendTo/(Un)Mount

The copy command should work, the DotPup installer does "cd" to that dir.


ALSO... DOES ANYONE SEE the FILE DOWNLOAD ABOVE? I don't see it.
Back to top
View user's profile Send private message 
darkerror05


Joined: 17 Jun 2006
Posts: 277
Location: Rochester NY, USA

PostPosted: Fri 01 Dec 2006, 19:56    Post subject:  

1) nope there is NO /usr/binxfilemount
2)no I do not see the file download

_________________
-darkerror
Back to top
View user's profile Send private message 
sunburnt


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

PostPosted: Fri 01 Dec 2006, 20:26    Post subject:  

darkerror05; I just did a test (again) to see if the DotPup installer was in: /root/DotPupTmpDir

Here's the test dotpup.sh file I made into "test.pup":

#!/bin/sh
xmessage " `pwd` "

It popped up a dialog saying: /root/DotPupTmpDir
So the command: "cp -f ./xfilemount /usr/bin" should work just fine.
The DotPup installer is so simple, it's hard to imagine it won't work.


HAS ANYONE ELSE TRIED this DotPup ? PLEASE POST IF IT WORKS !!!
Back to top
View user's profile Send private message 
wow

Joined: 29 Jun 2006
Posts: 985
Location: Peru

PostPosted: Fri 01 Dec 2006, 21:03    Post subject:  

sunburnt wrote:
HAS ANYONE ELSE TRIED this DotPup ? PLEASE POST IF IT WORKS !!!

Yes, I've tried your DotPup, it works and I like it Smile also, I'm about to upload an extra dotpup with MIME info for rox, so you can mount/unmount supported files with a simple(maybe double) click in the icon.

Note: I'm having problems mounting if the path has spaces, e.g. /mnt/hda9/Puppy Iso/212.iso
Maybe you can edit your script to solve this.

Thanks

_________________

Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 01 Dec 2006, 21:48    Post subject:  

I see an attachment at the top of the page, but it doesn't let me use it. It says I'm not authorized. I PM'd John again and pointed him to this thread...
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
wow

Joined: 29 Jun 2006
Posts: 985
Location: Peru

PostPosted: Fri 01 Dec 2006, 22:26    Post subject:  

MIME-types for xFilemount rev2
http://www.murga-linux.com/puppy/viewtopic.php?p=87765#87765

MIME-info; MIME-types for xFilemount, enables click mount/unmount for .2fs; .3fs; .fs; .iso; .sfs files. (old version)
[download]

[MOVED]MIME-icons for xFileMount (added all in the Longhorn Rox theme)

_________________


Last edited by wow on Thu 04 Jan 2007, 21:25; edited 6 times in total
Back to top
View user's profile Send private message 
sunburnt


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

PostPosted: Fri 01 Dec 2006, 22:30    Post subject:  

Pizzasgood; Thanks guy...

wow; I'll look at it, should be fixable, & I've found another small bug-a-boo.

Perhaps add ".img" to the mime list?
Another way would be to use MU's Drag-n-Drop desktop icons,
but most of the time I can't see my desktop & the icons anyway.

If I can figure out how to do it, I'll make mods to ROX's right click menu.
There's alot of instantainous power in the right click menu, it's by far
the quickest way to get things done easily, but why can't we mod them?
I've yet to find a OS or WM that lets the user mod the right click menu (easily).
Back to top
View user's profile Send private message 
wow

Joined: 29 Jun 2006
Posts: 985
Location: Peru

PostPosted: Fri 01 Dec 2006, 22:50    Post subject:  

sunburnt wrote:
Perhaps add ".img" to the mime list?
I can't because "image" does not have an extension and if I change the default action for that file type(and for .gz too) all the "something"/"something.gz" files will be forced to be opened with xFileMount Embarassed
_________________

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [56 Posts]   Goto page: 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:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0797s ][ Queries: 12 (0.0102s) ][ GZIP on ]