https://wiki.archlinux.org/api.php?action=feedcontributions&user=Crashdown&feedformat=atomArchWiki - User contributions [en]2024-03-29T13:34:07ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=FuseISO&diff=135422FuseISO2011-03-31T08:33:50Z<p>Crashdown: /* Using it with Nautilus */</p>
<hr />
<div>[[Category:Utilities (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{stub}}<br />
<br />
==Introduction==<br />
Normally, when you want to mount an image, you have to become root using su or sudo. This is kinda inconvenient. But luckily there is [http://en.wikipedia.org/wiki/Filesystem_in_Userspace FUSE] (Filesystem in Userspace).<br />
<br />
==fuseiso==<br />
Using FUSE to mount image files is easy enougth. Just install the fuseiso package:<br />
pacman -S fuseiso<br />
<br />
To mount an image, just type (the mountpoint has to be writable by the user) :<br />
fuseiso <imagefile> <mountpoint><br />
<br />
To unmount the image, use:<br />
fusermount -u <mountpoint><br />
<br />
'''NOTE''': fuseiso currently supports images of the following types: ''.iso, .img, .bin, .mdf, .nrg''<br />
<br />
===Using it with Nautilus===<br />
<br />
'''NOTE''': The following is based on the scripts taken from [http://www.grumz.net/?q=node/282 here].<br />
<br />
For users of GNOME there is an easy way of using fuseiso from the nautilus-context menu.<br />
First you will need the nautilus-actions package:<br />
pacman -S nautilus-actions<br />
<br />
Then you need to save the following scripts to an folder of your choise (eg. /usr/bin)<br />
<br />
nautilus-actions-iso-mount.sh:<br />
#! /bin/bash<br />
<br />
FILE=`basename "$1"`<br />
MOUNTPOINT="$HOME/Desktop/$FILE"<br />
<br />
fuseiso -p "$1" "$MOUNTPOINT"<br />
<br />
nautilus-actions-iso-umount.sh:<br />
#! /bin/bash<br />
<br />
FILE=`basename "$1"`<br />
MOUNTPOINT="$HOME/Desktop/$FILE"<br />
<br />
fusermount -u "$MOUNTPOINT"<br />
<br />
and make them executable:<br />
chmod +x /<path_to_scripts>/nautilus-actions-iso-*<br />
<br />
Now, start ''nautilus-actions-config'' (''System -> Preferences -> Nautilus Actions Configuration'').<br />
<br />
<br />
Add a new action with the following settings:<br />
<br />
*Label: ''Mount ISO''<br />
*Icon: A symbol of your choice (eg: ''gtk-cdrom'')<br />
*Path: ''/<path_to_scripts>/nautilus-actions-iso-mount.sh''<br />
*Parameters: ''%F''<br />
*Working directory: ''%d''<br />
*Basenames: ''*.iso ; *.nrg ; *.bin ; *.img ; *.mdf (for each add a seperated entry)''<br />
*Match case: ''"must match one of"''<br />
*Mimetypes: ''*/*''<br />
<br />
With this action you can mount ISO-images to your Desktop. It will create an folder in ~/Desktop with the name of the iso. fuseiso will mount the iso to this folder. <br />
<br />
<br />
And a second one:<br />
<br />
*Label: ''Unmount ISO''<br />
*Icon: A symbol of your choice (eg: ''gtk-cdrom'')<br />
*Path: ''/<path_to_scripts>/nautilus-actions-iso-umount.sh''<br />
*Parameters: ''%F''<br />
*Working directory: ''%d''<br />
*Basenames: ''*.iso ; *.nrg ; *.bin ; *.img ; *.mdf (for each add a seperated entry)''<br />
*Match case: ''"must match one of"''<br />
*Mimetypes: ''*/*''<br />
<br />
This second action will unmount the mounted iso and remove the folder from the desktop.<br />
<br />
<br />
Sometimes you have to logout to be able to mount any image of the given types simply by right clicking it in Nautilus and selecting ''Mount ISO''. To unmount it again, just right click the corresponding folder on your desktop and select ''Unmount ISO''.<br />
<br />
==MPlayer==<br />
Mplayer can play some images without mounting. Open Mplayer and choose to open a file. At the bottom change video file to the type of image that you have and navigate to the image.</div>Crashdown