You are not logged in.
Pages: 1
Hi
These are two simple scripts I use with ROX "send to" menu.
All they do is mount resp. umount a imagefile to /mnt/img when you rightclick the file and choose sendto. It should work for ISO files too I think. I haven't tested that.
These scripts requires that you add this to your /etc/sudoers file
your_username ALL=NOPASSWD: /bin/mount,/bin/umount
Use visudo to edit the file
Mount IMG
#!/bin/bash
sudo mount $1 /mnt/img -o loop
It took me some time to find the $1 variabel name
Umount IMG
#!/bin/bash
sudo umount /mnt/img
As I said very simple scripts but they are my first (not last) and I think they are usefull so therefor I share them with you.
//Clanman
Offline
Pages: 1