
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Easier Mount Tool - Mountin' made easier... ;)
Easier Mount Tool (EMT) is a application to mount, unmount and convert cd/dvd images. It uses unix mount and umount commands to mount and unmount and various scripts and programs to convert images.
It is written with python and pygtk, what allows its small size and extreme functionality.
Example: AcetoneISO2 cannot mount multi-sectored images. Easier Mount Tool can.
It can mount only iso images, but it can convert bin, cdi, daa, gbi, mdf, nrg and uif images to iso, so many mount-supported filetypes are not necessary.
If you want to translate EMT to other languages, please refer to README.txt inside the file.
REQUIRES:
-Python < 3.0 (mine is 2.6.4, so if something doesn't work, please update your python)
-pygtk, mine version is 2.16.0, but i think you can have older too.
-beesu, gksu or sudo
-Maybe something else, informate me if you have errors concerning deps
USAGE:
No installation required, just double-click the file (you know what when you see) on the folder. Optional or required installation will maybe come in future versions.
I am happy if i made you happy with this! Please report possible bugs or other things in comments!
Screenshots
As the gtk-apps doesn't seem to be very good with screenshots, i'll just upload these to flickr :P
Screenshots of versions 0.5, 0.7 and 0.8 can be found from this set: http://www.flickr.com/photos/ciuu96/sets/72157623602097298/
10 years ago
Version 0.8.6
-Small update, nothing really big changed.
-Added the French translation by Ludovic Troisi (Astohan)
-Language menu removed, the language is now detected automaticaly.
Version 0.8.5
-Bugfix Release
-Fixed the localization bug that made the app unusable.
-Nothing else
Version 0.8
-Fourth Release
-Converting images added, based on other peoples scripts and programs. Support for bin, cdi, daa, gbi, mdf, nrg and uif!
-Licence changed to GPL version 2, needed because of new scripts and programs are GPL 2, not GPL 3
-Readme updated
-Other minor changes
Version 0.7
-Third Release
-Support for translations
-Finnish translation
-Preferences added, currently only language can be set from there
Version 0.6
-Second Release
-Support for gksu and sudo (Thank you Dicson12! :D)
-Added error dialogs (Thank you Dicson12! :D)
-Added menubar
-Added unsensitive Convert images button
-Added About Dialog
-Removed the ASCII-ARTed README :(
Version 0.5
-First version
-App released on GTK-Apps.org
10 years ago
Version 0.8.6
-Small update, nothing really big changed.
-Added the French translation by Ludovic Troisi (Astohan)
-Language menu removed, the language is now detected automaticaly.
Version 0.8.5
-Bugfix Release
-Fixed the localization bug that made the app unusable.
-Nothing else
Version 0.8
-Fourth Release
-Converting images added, based on other peoples scripts and programs. Support for bin, cdi, daa, gbi, mdf, nrg and uif!
-Licence changed to GPL version 2, needed because of new scripts and programs are GPL 2, not GPL 3
-Readme updated
-Other minor changes
Version 0.7
-Third Release
-Support for translations
-Finnish translation
-Preferences added, currently only language can be set from there
Version 0.6
-Second Release
-Support for gksu and sudo (Thank you Dicson12! :D)
-Added error dialogs (Thank you Dicson12! :D)
-Added menubar
-Added unsensitive Convert images button
-Added About Dialog
-Removed the ASCII-ARTed README :(
Version 0.5
-First version
-App released on GTK-Apps.org
Dicson12
10 years ago
http://pastebin.com/HWf5jpEM
Report
kasperasky
10 years ago
Report
Ciuu96
10 years ago
Report
Dicson12
10 years ago
Traceback (most recent call last):
File "emt.py", line 31, in <module>
locale.setlocale(locale.LC_ALL,"en_US")
File "/usr/lib/python2.5/locale.py", line 478, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Report
Ciuu96
10 years ago
Report
Dicson12
10 years ago
#Checking the language in config/lang.conf
#if langvalue == "Finnish":
#locale.setlocale(locale.LC_ALL,"finnish")
#root="."
#transLoc = root +"/locale"
#t = gettext.translation('emt', transLoc, languages=['fi'])
#_ = t.ugettext
#t.install()
#elif langvalue == "English":
#locale.setlocale(locale.LC_ALL,"en_US")
#root="."
#transLoc = root +"/locale"
#t = gettext.translation('emt', transLoc, languages=['en'])
#_ = t.ugettext
#t.install()
#langfile.close()
locale.setlocale(locale.LC_ALL, '')
if os.path.isdir('locale/'):
gettext.bindtextdomain('emt', 'locale')
gettext.textdomain('emt')
This code works fine for me.change language dialog don't needed.language is determined automatically.I created / home/test/Desktop/emt-0.8/locale/ru/LC_MESSAGES/emt.mo - everything works perfectly
screenshot http://www.ubuntu-pics.de/bild/53836/screenshot_01_8z3sA8.png
Report
Ciuu96
10 years ago
Report
Ciuu96
10 years ago
Report
Dicson12
10 years ago
#Checking the language in config/lang.conf
if langvalue == "Finnish":
try:
locale.setlocale(locale.LC_ALL,"finnish")
root="."
transLoc = root +"/locale"
t = gettext.translation('emt', transLoc, languages=['fi'])
_ = t.ugettext
t.install()
except:
pass
elif langvalue == "English":
try:
locale.setlocale(locale.LC_ALL,"en_US")
root="."
transLoc = root +"/locale"
t = gettext.translation('emt', transLoc, languages=['en'])
_ = t.ugettext
t.install()
except:
pass
perhaps this decision,
but I do not know why you need this dialog
Report
Dicson12
11 years ago
#adding everything to the window
vbox = gtk.VBox(homogeneous=False, spacing=5)
vbox.pack_start(child=menubar, expand=False, fill=False, padding=0)
vbox.pack_start(title, True, True, 0)
vbox.pack_start(mountb, False, True, 0)
vbox.pack_start(umountb, False, True, 0)
vbox.pack_start(convb, False, True, 0)
vbox.pack_start(quitb, False, True, 0)
screenshot: http://www.ubuntu-pics.de/bild/25220/screenshot_01_9EFrAP.jpg
Report
Dicson12
11 years ago
#defining the title, size etc of the main window
self.set_icon_from_file("emtLogo.png")
self.connect("destroy", gtk.main_quit)
Report
Dicson12
11 years ago
Report
Dicson12
11 years ago
and
def mount(self, mfile, mdir):
command = "sudo mount -o ro,loop,noauto %s %s" %(mfile, mdir)
cmd = subprocess.Popen(command, shell=True)
didit_message = "Mounted file %s to directory %s!\n\n \
If it didn't mount and you have beesu installed and the mounted file is not broken, \
please contact me in gtk-apps comments" %(mfile, mdir)
didit = gtk.MessageDialog(None, gtk.DIALOG_DESTROY_WITH_PARENT,
gtk.MESSAGE_INFO, gtk.BUTTONS_CLOSE, didit_message)
work fine for me.thanks!
Report
Dicson12
11 years ago
Report
Ciuu96
11 years ago
Report
Ciuu96
11 years ago
(Bad english, sorry)
Report
Dicson12
11 years ago
1. We try to execute beesu
2. If beesu is absent - it is used sudo
http://pastebin.com/d660eaddc
Report
Dicson12
11 years ago
/bin/sh: beesu: command not found
it is work in fedora only? http://www.honeybeenet.altervista.org/beesu/
Report
Dicson12
11 years ago
/bin/sh: beesu: command not found
it is work in fedora only? http://www.honeybeenet.altervista.org/beesu/
Report