./0000755000175000000000000000000010455762500007704 5ustar peteroot./TODO0000644000175000000000000000254410446705057010405 0ustar peterootJordan's Features * handle becoming root better (perhaps ask for sudo only when needed) - good idea as we can still get information on the ISO such as volume label etc without mounting. I should think we can just gksudo it. * Have test this and it works, will implement this at next update Pete's Features * Favortise ISOS * Add support for filtering in the file chooser dialog. Not that difficult * Add get_text to allow for rosetta translation * FUSERMOUNT? Fixed Issues and Finished Features * Active, inactive tabs -- FIXED * If quitting and no volumes mounted why ask us dummy? -- FIXED * Sort out indexes of glade objects so they match the pRef values, ie 0=1, 1=2 will clean up code and make it a lot easier to read -- FIXED * Redo the find_Free function so that it actually reads from the iso class instead of from the entry windows. This is stupid and leads to the program not exiting cleanly if a text box is full. -- FIXED * Break out the mount/umount functions from their handlers -- FIXED * maybe use icons instead of text for mount/unmount -- FIXED * Burn image to iso -- FIXED * browse button to open mount point in Nautilus -- FIXED 2 files to consider ./ dapper-server-i386.iso 452636672 100% 4.23MB/s 0:01:42 (1, 100.0% of 2) sent 99 bytes received 441882708 bytes 4311051.78 bytes/sec total size is 452636672 speedup is 1.02 pete@ubuntu:~$ ./ChangeLog0000644000175000000000000000000010446530734011446 0ustar peteroot./gisomount0000755000175000000000000005354210455761617011677 0ustar peteroot#!/usr/bin/env python # Copyright (C) 2006 Pete Savage & Jordan Mantha # This file is part of gisomount. # gisomount is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # gisomount is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with gisomount; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA import sys import os import subprocess import string import gisomount.config try: import pygtk pygtk.require("2.0") except: pass try: import gtk import gtk.glade import gobject except: print "GTK is not installed" sys.exit(1) #Checks to see if program has been run with setuid of 0, if not shout at user if os.geteuid() != 0: dialog = gtk.MessageDialog(None, 0, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK,"You need to be root to run this program") dialog.run() dialog.destroy() sys.exit(1) #GUI initialisation script class gui: def __init__(self): #Main initialisation script for the application self.isos=[info() for x in range(5)] self.treestore=[0 for x in range(5)] if os.path.isfile("gisomount.glade"): useglade="gisomount.glade" else: useglade="/usr/share/gisomount/gisomount.glade" self.wTree=gtk.glade.XML (useglade) self.win=self.wTree.get_widget("window1") self.about=self.wTree.get_widget("about") self.notebook=self.wTree.get_widget("notebook2") dic = {"on_add_fav": self.on_add_fav, "on_menu_help" : self.on_menu_help, "on_menu_browse" : self.on_menu_browse, "on_menu_open" : self.on_menu_open, "on_menu_burn" : self.on_menu_burn, "on_menu_summer" : self.on_menu_summer, "on_browse" : self.on_browse, "on_summer" : self.on_summer, "on_progress_destroy" : self.on_progress_destroy, "about_delete_event" : self.on_about_ok, "on_info" : self.on_info, "on_mmount" : self.on_mmount, "on_burn" : self.on_burn, "on_open" : self.on_open, "on_exit" : (gtk.main_quit) } for x in range (5): self.on_info(x) self.wTree.signal_autoconnect(dic) self.win.connect("delete_event", self.delete_event) self.about.connect("delete_event", self.about_delete_event) for x in range (1,5): self.hide_tab(x) self.reconnect() #Setup main menus self.vbox1=self.wTree.get_widget("vbox1") self.menu_items = ''' ''' self.actiongroup = gtk.ActionGroup('UIManagerExample') self.actiongroup.add_actions([('File', None, '_File'), ('Open', None, '_Open', None, 'Open an ISO', self.on_menu_open), ('Quit', None, '_Quit', None, 'Quit', gtk.main_quit), ('Calculate md5', None, '_Calculate md5sum', None, 'Calculate', self.on_menu_summer), ('Burn', None, '_Burn', None, 'Burn', self.on_menu_burn), ('About', None, '_About', None, 'About', self.on_menu_help), ('Browse', None, 'B_rowse', None, 'Browse', self.on_menu_browse), ('Add to Favorites', None, 'Add to Favorites', None, 'Add to Favorites', self.on_add_fav), ('Actions', None, '_Actions'), ('Favorites', None, '_Favorites'), ('Help', None, '_Help')]) self.uimanager=gtk.UIManager() self.uimanager.insert_action_group(self.actiongroup, 0) self.uimanager.add_ui_from_string(self.menu_items) menubar = self.uimanager.get_widget('/MenuBar') self.vbox1.pack_start(menubar,False,True,0) self.vbox1.reorder_child(menubar,0) self.rebuildFav() self.mtabpollerobj=gobject.timeout_add (1000, self.mtabPoller) def rebuildFav(self): #Rebuild the favorites from the config file self.config=gisomount.config.configFile() self.fav=[] cnt=0 while self.config.getValue("fav"+str(cnt))!=None: tempFav=self.config.getValue("fav"+str(cnt)) self.fav.append(tempFav) tempAction=gtk.Action(tempFav, tempFav, tempFav, None) if tempFav.rfind('/')!= -1: tempFav=tempFav[tempFav.rfind('/')+1:] tempFav=str(cnt+1)+". "+tempFav self.uimanager.add_ui(self.uimanager.new_merge_id(),'/MenuBar/Favorites', tempFav, tempFav, 'menuitem',False) self.actiongroup.add_action(gtk.Action(tempFav, tempFav, tempFav, None)) self.uimanager.get_widget('/MenuBar/Favorites/'+tempFav).connect("activate", self.on_chooseFav,cnt) cnt=cnt+1 def on_add_fav(self,widget): #######TO DO CHECK IF REAL ISO####### cnt=len(self.fav) entry=self.wTree.get_widget("entry"+str(self.notebook.get_current_page())) tempFav=entry.get_text() self.config.setValue("fav"+str(len(self.fav)),tempFav) if tempFav.rfind('/')!= -1: tempFav=tempFav[tempFav.rfind('/')+1:] tempFav=str(cnt+1)+". "+tempFav self.uimanager.add_ui(self.uimanager.new_merge_id(),'/MenuBar/Favorites', tempFav, tempFav, 'menuitem',False) self.actiongroup.add_action(gtk.Action(tempFav, tempFav, tempFav, None)) self.uimanager.get_widget('/MenuBar/Favorites/'+tempFav).connect("activate", self.on_chooseFav,cnt) self.fav.append(entry.get_text()) def on_chooseFav(self,widget,cnt): #######TO DO CHECK IF REAL ISO####### entry=self.wTree.get_widget("entry"+str(self.notebook.get_current_page())) entry.set_text(self.fav[cnt]) self.get_cd_info(self.notebook.get_current_page()) self.on_info(self.notebook.get_current_page()) def about_delete_event(self,widget,event): self.about.hide_all() return True def on_about_ok(self,widget): self.about.hide_all() def mtabPoller(self): #Function to continually monitor the mtab and unmount when an iso has been unmounted existISO=open('/etc/mtab','r') existISOArr=[] output=existISO.readline() while output!="": mark1=output.find("(vcd)") mark2=output.find("/media/") if (mark1 != -1) & (mark2 != -1): splitISO=output.split(" ") existISOArr.append(splitISO[1].decode('string-escape')) output=existISO.readline() for i in range(0,4): if self.isos[i].mounted==True: flag=0 for j in existISOArr: if j==self.isos[i].mntpoint: flag=1 if flag==0: self.on_umount(i,1) return True def reconnect(self): #This reconnects iso mount points that have been previously mounted with gismount existISO=open('/etc/mtab','r') output=existISO.readline() while output!="": mark1=output.find("(vcd)") mark2=output.find("/media/") if (mark1 != -1) & (mark2 != -1): splitISO=output.split(" ") isoFile=splitISO[0].decode('string-escape') isoMount=splitISO[1].decode('string-escape') free=self.find_free_slot() self.show_tab(free) self.isos[free].mounted=True self.isos[free].mntpoint=isoMount self.isos[free].filename=isoFile entry=self.wTree.get_widget("entry"+str(free)) entry.set_text(isoFile) self.lock_slot(free) self.get_cd_info(free) self.on_info(free) self.notebook.set_tab_label_text(self.notebook.get_nth_page(free),self.isos[free].info.vollabel[:7]+"...") button=self.wTree.get_widget("mmount"+str(free)) button.set_label("Unmount") output=existISO.readline() existISO.close() self.unlock_slot(self.find_free_slot()) def on_mmount(self,widget): widgetName=widget.get_name() partial=widgetName[6:] pRef=int(partial) if self.isos[pRef].mounted==False: self.on_mount(pRef) else: self.on_umount(pRef) def on_menu_help(self,widget): self.about=self.wTree.get_widget("about") self.about.show_all() def on_info(self,index): #Possibly this should be a class of it's own tabswin=self.wTree.get_widget("window1") tabs=self.wTree.get_widget("treeview"+str(index)) if not tabs.get_model(): #Create the model if it doesn't already exist self.treestore[index]=gtk.TreeStore(str,str) column = gtk.TreeViewColumn("Key", gtk.CellRendererText(), text=0) column.set_resizable(True) column.set_sort_column_id(0) column2 = gtk.TreeViewColumn("Info", gtk.CellRendererText(), text=1) column2.set_resizable(True) column2.set_sort_column_id(1) tabs.append_column(column) tabs.append_column(column2) tabs.set_model(self.treestore[index]) #Clear the model so we can add new information in self.treestore[index].clear() self.treeRefBasic=self.treestore[index].append(None, ("File Information","")) self.treeRefAdv=self.treestore[index].append(None, ("ISO Information","")) self.treeRefMount=self.treestore[index].append(None, ("Mount Information","")) #Name Size md5 DVD basicInfo=[ ("Filename",self.isos[index].filename), ("Size",self.isos[index].size), ("MD5 sum",self.isos[index].md5), ("ISO type",self.isos[index].itype) ] advancedInfo=[ ("Volume Label",self.isos[index].info.vollabel), ("Publisher ID",self.isos[index].info.publishid), ("Creation Date",self.isos[index].info.volcreate), ("Data Preparer",self.isos[index].info.datprepareid), ("Volume Set Identifier",self.isos[index].info.volsetident), ("Standard ID",self.isos[index].info.standardid), ("System ID",self.isos[index].info.systemid), ("Volume Set Size",self.isos[index].info.volsetsize), ("Application ID",self.isos[index].info.applicid) ] mountInfo=[ ("Mount Point",self.isos[index].mntpoint) ] for dataTuple in basicInfo: if dataTuple[1]!="": self.treestore[index].append(self.treeRefBasic, dataTuple) for dataTuple in advancedInfo: if dataTuple[1]!="": self.treestore[index].append(self.treeRefAdv, dataTuple) for dataTuple in mountInfo: if dataTuple[1]!="": self.treestore[index].append(self.treeRefMount, dataTuple) def on_progress_destroy(self, widget): #Kill the md5sum process if the user cancels the progress bar gobject.source_remove(self.progresstimer) gobject.source_remove(self.progressbartimer) self.progress.hide_all() mountproc=subprocess.Popen("kill "+str(self.md5proc.pid), shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) def md5sum_dead(self): #Polls to check if the md5sum has finished it's operation, and then destroy #progress bar window. Tied to a gobject timer. mountoutput=self.md5proc.poll() if mountoutput==None: return True else: gobject.source_remove(self.progresstimer) gobject.source_remove(self.progressbartimer) self.progress.hide_all() md5info=self.md5proc.stdout.read() md5split=md5info.split(" ") displayMessage(self,'md5sum is: '+md5split[0]+'',gtk.MESSAGE_INFO) return False def progress_update(self): #Pulse the progress bar, needed cos eith gobject it stupid, or I am! self.progressbar.pulse() return True def delete_event(self,widget,event): #Interrupt the closing of the main gtk window and prompt the #user if they wish to unmount all of the vcds. if self.find_free_slot()==0: return False self.win.set_sensitive(False) dialog = gtk.MessageDialog(self.win, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_INFO, gtk.BUTTONS_YES_NO, None) dialog.add_button("Cancel",-10) dialog.set_markup('Do you want to unmount all vcds now?') dialog.connect("destroy", lambda w: self.win.set_sensitive(True)) resp = dialog.run() if resp==-8: #Close gISOMount and unmount all volumes mounted dialog.destroy() for i in range(len(self.isos)): if self.isos[i].mounted==True: umount=self.ac_umount(self.isos[i].mntpoint) if umount==True: mountproc=subprocess.Popen("rmdir \""+self.isos[i].mntpoint+"\"", shell=True) return False elif resp==-9: #Close gISOMount and leave all volumes mounted dialog.destroy() return False else: #Just cancel dialog.destroy() return True def get_cd_info(self,index): #Adds the cd info into the iso info class entry=self.wTree.get_widget("entry"+str(index)) cdinfo=isoinfo(entry.get_text()) entry=self.wTree.get_widget("entry"+str(index)) info=os.stat(entry.get_text()) self.isos[index].size=info.st_size self.isos[index].filename=entry.get_text() self.isos[index].info.vollabel=cdinfo.vollabel() self.isos[index].info.volcreate=cdinfo.volcreate() self.isos[index].info.volsetident=cdinfo.volsetident() self.isos[index].info.standardid=cdinfo.standardid() self.isos[index].info.systemid=cdinfo.systemid() self.isos[index].info.volsetsize=cdinfo.volsetsize() self.isos[index].info.volseqnum=cdinfo.volseqnum() self.isos[index].info.publishid=cdinfo.publishid() self.isos[index].info.datprepareid=cdinfo.datprepareid() self.isos[index].info.applicid=cdinfo.applicid() def on_menu_browse(self,widget): self.on_browse(self.wTree.get_widget("browse"+str(self.notebook.get_current_page()))) def on_menu_burn(self,widget): self.on_burn(self.wTree.get_widget("burn"+str(self.notebook.get_current_page()))) def on_menu_summer(self,widget): self.on_summer(self.wTree.get_widget("summer"+str(self.notebook.get_current_page()))) def on_menu_open(self,widget): self.on_open(self.wTree.get_widget("open"+str(self.notebook.get_current_page()))) def on_browse(self,widget): #Opens the iso chooser window widgetName=widget.get_name() partial=widgetName[6:] filew = gtk.FileChooserDialog(title="Open ISO image...",action=gtk.FILE_CHOOSER_ACTION_OPEN,buttons=(gtk.STOCK_CANCEL,gtk.RESPONSE_CANCEL,gtk.STOCK_OPEN,gtk.RESPONSE_OK)) response=filew.run() if response == gtk.RESPONSE_OK: entry=self.wTree.get_widget("entry"+str(partial)) entry.set_text(filew.get_filename()) filew.destroy() self.get_cd_info(int(partial)) self.on_info(int(partial)) elif response == gtk.RESPONSE_CANCEL: filew.destroy() def on_mount(self,index): #Handler: Mount button is pushed, which button has been pressed is #picked up by the widget's name entry=self.wTree.get_widget("entry"+str(index)) is_valid=self.is_iso_valid(entry.get_text()) if is_valid==True: #Try mounting it now, cos all appears gooooooood self.get_cd_info(index) if os.path.isdir("/media/"+self.isos[index].info.vollabel.strip()+"(vcd)"): j=0 while os.path.isdir("/media/"+self.isos[index].info.vollabel.strip()+"("+str(j)+")(vcd)"): j=j+1 fileMount="/media/"+self.isos[index].info.vollabel.strip()+"("+str(j)+")(vcd)" else: fileMount="/media/"+self.isos[index].info.vollabel.strip()+"(vcd)" #fileMount=fileMount.strip() self.isos[index].mntpoint=fileMount makeDir=subprocess.Popen("mkdir \""+fileMount+"\"", shell=True) makeDir.wait() mount=self.ac_mount(entry.get_text(),fileMount) #If the mount was successful, get on with updating the UI if mount==True: info=os.stat(entry.get_text()) icon=self.wTree.get_widget("icon"+str(index)) if info.st_size<729217000: icon.set_from_file("cd.png") self.isos[index].itype="CD-ROM" else: icon.set_from_file("dvd.png") self.isos[index].itype="DVD-ROM" self.lock_slot(index) self.isos[index].mounted=True self.isos[index].filename=entry.get_text() if self.find_free_slot()<5: self.show_tab(self.find_free_slot()) self.unlock_slot(self.find_free_slot()) self.notebook.set_tab_label_text(self.notebook.get_nth_page(self.notebook.get_current_page()),self.isos[index].info.vollabel[:7]+"...") button=self.wTree.get_widget("mmount"+str(index)) button.set_label("Unmount") self.on_info(self.notebook.get_current_page()) def on_umount(self,index,poll=0): #Handler: Unmount if poll==0: umount=self.ac_umount(self.isos[index].mntpoint) else: umount=True self.notebook.set_tab_label_text(self.notebook.get_nth_page(index),"") icon=self.wTree.get_widget("icon"+str(index)) icon.set_from_file("cdicon.png") if umount==True: mountproc=subprocess.Popen("rmdir \""+self.isos[index].mntpoint+"\"", shell=True) self.unlock_slot(index) #Re-initialise the iso infor class self.isos[index]=info() button=self.wTree.get_widget("mmount"+str(index)) button.set_label("Mount") def on_exit(obj): mainquit() def find_free_slot(self): #Nicer version of the old find_Free(), returns the next free ie. uninitialised slot free=-1 for i in range(0,4): if self.isos[i].mounted==False: free=i return free def lock_slot(self,slot): #Locks a mount slot on the gui entry=self.wTree.get_widget("entry"+str(slot)) entry.set_sensitive(False) browse=self.wTree.get_widget("browse"+str(slot)) browse.set_sensitive(False) def unlock_slot(self,slot): #Unlocks a mount slot on the gui entry=self.wTree.get_widget("entry"+str(slot)) entry.set_sensitive(True) browse=self.wTree.get_widget("browse"+str(slot)) browse.set_sensitive(True) def ac_mount(self,filename,mountpoint): mountproc=subprocess.Popen("mount -o loop,ro -t iso9660 "+filename+" \""+mountpoint+"\"", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) mountoutput=mountproc.stderr.read() if mountoutput != "": displayMessage(self,''+mountoutput+'',gtk.MESSAGE_ERROR) return False else: return True def ac_umount(self,mountpoint): mountproc=subprocess.Popen("umount \""+mountpoint+"\"", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) mountoutput=mountproc.stderr.read() if mountoutput != "": displayMessage(self,''+mountoutput+'',gtk.MESSAGE_ERROR) return False else: return True def on_summer(self,widget): widgetName=widget.get_name() partial=widgetName[6:] pRef=int(partial) #Handler: If summer button is pressed, start the md5sum process entry=self.wTree.get_widget("entry"+partial) self.progress=self.wTree.get_widget("progress") self.progress.show_all() self.progressbar=self.wTree.get_widget("progressbar1") self.progressbartimer=gobject.timeout_add (100, self.progress_update) self.md5proc=subprocess.Popen("md5sum "+entry.get_text(), shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) self.progresstimer=gobject.timeout_add (100, self.md5sum_dead) def on_open(self,widget): widgetName=widget.get_name() partial=widgetName[4:] pRef=int(partial) mountproc=subprocess.Popen("nautilus \""+self.isos[pRef].mntpoint+"\"", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) def on_burn(self,widget): widgetName=widget.get_name() partial=widgetName[4:] pRef=int(partial) mountproc=subprocess.Popen("/usr/bin/nautilus-cd-burner --source-iso=\""+self.isos[pRef].filename+"\"", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) def is_iso_valid(self,filename): #Checks to see if an iso is valid if filename == "": #Dude, select a file first you idiot displayMessage(self,'You must input an iso image',gtk.MESSAGE_ERROR) return False process=subprocess.Popen("file "+filename, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) output=process.stdout.read() if output.find("ISO") == -1: #File is clearly not an iso, dummy :p displayMessage(self,'File selected is not an ISO',gtk.MESSAGE_ERROR) return False return True def hide_tab(self,index): test=self.wTree.get_widget("tabwrap"+str(index)) test.hide_all() def show_tab(self,index): test=self.wTree.get_widget("tabwrap"+str(index)) test.show_all() class isoinfo: #Class for providing the volume label etc of an iso def __init__(self,filename): self.isoimage=file(filename,'r') def standardid(self): self.isoimage.seek(32767+2) return self.isoimage.read(5) def systemid(self): self.isoimage.seek(32767+9) return self.isoimage.read(32) def vollabel(self): self.isoimage.seek(32767+41) return self.isoimage.read(32) def volsetsize(self): self.isoimage.seek(32767+121) return self.isoimage.read(4) def volseqnum(self): self.isoimage.seek(32767+125) return self.isoimage.read(4) def volsetident(self): self.isoimage.seek(32767+191) return self.isoimage.read(128) def publishid(self): self.isoimage.seek(32767+319) return self.isoimage.read(128) def datprepareid(self): self.isoimage.seek(32767+447) return self.isoimage.read(128) def applicid(self): self.isoimage.seek(32767+575) return self.isoimage.read(128) def volcreate(self): self.isoimage.seek(32767+814) return self.isoimage.read(16) class info: #Class for holding vcd info def __init__(self): self.info=self.iso() self.mounted=False self.filename="" self.mntpoint="" self.size="" self.md5="" self.itype="" class iso: def __init__(self): self.vollabel="" self.volcreate="" self.volsetident="" self.standardid="" self.systemid="" self.volsetsize="" self.volseqnum="" self.publishid="" self.datprepareid="" self.applicid="" def displayMessage(mclass,mtext,mtype): mclass.win.set_sensitive(False) dialog = gtk.MessageDialog(mclass.win, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, mtype, gtk.BUTTONS_OK, None) dialog.set_markup(mtext) dialog.connect("destroy", lambda w: mclass.win.set_sensitive(True)) resp = dialog.run() if resp: dialog.destroy() app=gui() gtk.main() #dir(gtk.Entry()) - Very useful ./AUTHORS0000644000175000000000000000010610446530734010753 0ustar peterootPete Savage Jordan Mantha ./NEWS0000644000175000000000000000003210454644514010401 0ustar peterootNothing to report captain ./README0000644000175000000000000000002410454644535010566 0ustar peterootThis is coming soon ./COPYING0000644000175000000000000004310310455755745010755 0ustar peteroot GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. ./cdicon.png0000644000175000000000000001075510446530734011663 0ustar peterootPNG  IHDR00WIDATxb`! @G0(4?f POƁ2"t4(xa' QZ:j2l|l̬ aǿ7>:300g``xJG"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33*}&&FF(gxFhr`f3|}HNdd8swoa``ul@0EO0E,LZ"$ - ݿ`<];rÊFļVJ(0Q qMfs3~NƧEY62_ X2z|U7ˏ,L 0Bh3ncdd`&&$+PB ތ cÛ~ًܴW300<Ɩ|5*aNtTߵm9 #at%b򙠎#G`?Y)q^000|&x"u2`),,)Ȇ a Ŀ?aHΞ=lݩ}_8w,l"gVe``Pˈ62fcaaea׏_~z'Ͼ޾s[gm:?0@2@J_ $L1"w```aH@\ d+$1@7Hf}aD:2t# xC`Po d$;f ÀH&Mt'7XRIENDB`./gisomount.10000644000175000000000000000153510454661407012021 0ustar peteroot.TH "gisomount" "1" .SH "NAME" gisomount \(em GUI to handle the mounting of ISO images as virtual CDs .SH "SYNOPSIS" .PP \fBgisomount\fR .SH "gisomount" .PP \fBgisomount\fR loads a graphical interface for easily mounting iso images as virtual devices and can perform many other useful functions, such as md5sum, burning and browsing. Due to the nature of mount and the fact that pmount doesn't yet allow mounting of loopback devices, this program must be run as root. .SH "SEE ALSO" .PP \fBmount\fP\fB(1)\fP. .SH "AVAILABILITY" .PP \fBgisomount\fR is available in source form from \fIhttps://launchpad.net/products/gisomount (link to URL https://launchpad.net/products/gisomount) \fR. .SH "MAN PAGE AUTHOR" .PP Peter Savage \- silentk \- cbx33 debug@silentkeystroke.co.uk .\" created by instant / docbook-to-man, Tue 11 Jul 2006, 09:36 ./gisomount.gladep0000644000175000000000000000042710455206323013105 0ustar peteroot gisomount gisomount FALSE ./gisomount.glade0000644000175000000000000032543610455206323012737 0ustar peteroot 400 500 True gISOMount GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False cdicon.png True False False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST True False 2 True False 0 True True True True GTK_POS_TOP False False 3 True False 0 True False 0 50 True cdicon.png 0.5 0.5 0 0 5 False False True <b>Use this control panel to manage your isos and images</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 4 False False True False 0 True True True True 0 True * False 0 True True True True Browse True GTK_RELIEF_NORMAL True 0 False False True True Mount True GTK_RELIEF_NORMAL True 0 False False 0 False False True True GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True True True False False True False False True 0 True True True False 0 True False 0 70 True calculate.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Calculate MD5</b> Use this to calculate the md5sum of the iso image. This is useful for verifying the file has been downloaded properly. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Calculate True GTK_RELIEF_NORMAL True 0 False False 2 False False 0 True True 5 True True True 0 True True True False 0 70 True burn.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Burn ISO to CD</b> From here you can quickly burn an ISO image using gnome's built in cd burning wizard. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Burn True GTK_RELIEF_NORMAL True 0 False False 2 False False 0 True True 0 True True True 0 True True True False 0 70 True open.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Browse CD</b> You can use this to open your CD in a browser and navigate it as if it were a real CD. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Browse True GTK_RELIEF_NORMAL True 0 False False 0 False False 0 True True 0 True True 0 False False False True True <untitled> False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 3 True False 0 True False 0 50 True cdicon.png 0.5 0.5 0 0 5 False False True <b>Use this control panel to manage your isos and images</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 4 False False True False 0 True True True True 0 True * False 0 True True True True Browse True GTK_RELIEF_NORMAL True 0 False False True True Mount True GTK_RELIEF_NORMAL True 0 False False 0 False False True True GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True True True False False True False False True 0 True True True False 0 True False 0 70 True calculate.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Calculate MD5</b> Use this to calculate the md5sum of the iso image. This is useful for verifying the file has been downloaded properly. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Calculate True GTK_RELIEF_NORMAL True 0 False False 2 False False 0 True True 5 True True True 0 True True True False 0 70 True burn.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Burn ISO to CD</b> From here you can quickly burn an ISO image using gnome's built in cd burning wizard. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Burn True GTK_RELIEF_NORMAL True 0 False False 2 False False 0 True True 0 True True True 0 True True True False 0 70 True open.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Browse CD</b> You can use this to open your CD in a browser and navigate it as if it were a real CD. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Browse True GTK_RELIEF_NORMAL True 0 False False 0 False False 0 True True 0 True True 0 False False False True True <untitled> False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 3 True False 0 True False 0 50 True cdicon.png 0.5 0.5 0 0 5 False False True <b>Use this control panel to manage your isos and images</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 4 False False True False 0 True True True True 0 True * False 0 True True True True Browse True GTK_RELIEF_NORMAL True 0 False False True True Mount True GTK_RELIEF_NORMAL True 0 False False 0 False False True True GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True True True False False True False False True 0 True True True False 0 True False 0 70 True calculate.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Calculate MD5</b> Use this to calculate the md5sum of the iso image. This is useful for verifying the file has been downloaded properly. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Calculate True GTK_RELIEF_NORMAL True 0 False False 2 False False 0 True True 5 True True True 0 True True True False 0 70 True burn.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Burn ISO to CD</b> From here you can quickly burn an ISO image using gnome's built in cd burning wizard. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Burn True GTK_RELIEF_NORMAL True 0 False False 2 False False 0 True True 0 True True True 0 True True True False 0 70 True open.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Browse CD</b> You can use this to open your CD in a browser and navigate it as if it were a real CD. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Browse True GTK_RELIEF_NORMAL True 0 False False 0 False False 0 True True 0 True True 0 False False False True True <untitled> False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 3 True False 0 True False 0 50 True cdicon.png 0.5 0.5 0 0 5 False False True <b>Use this control panel to manage your isos and images</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 4 False False True False 0 True True True True 0 True * False 0 True True True True Browse True GTK_RELIEF_NORMAL True 0 False False True True Mount True GTK_RELIEF_NORMAL True 0 False False 0 False False True True GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True True True False False True False False True 0 True True True False 0 True False 0 70 True calculate.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Calculate MD5</b> Use this to calculate the md5sum of the iso image. This is useful for verifying the file has been downloaded properly. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Calculate True GTK_RELIEF_NORMAL True 0 False False 2 False False 0 True True 5 True True True 0 True True True False 0 70 True burn.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Burn ISO to CD</b> From here you can quickly burn an ISO image using gnome's built in cd burning wizard. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Burn True GTK_RELIEF_NORMAL True 0 False False 2 False False 0 True True 0 True True True 0 True True True False 0 70 True open.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Browse CD</b> You can use this to open your CD in a browser and navigate it as if it were a real CD. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Browse True GTK_RELIEF_NORMAL True 0 False False 0 False False 0 True True 0 True True 0 False False False True True <untitled> False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 3 True False 0 True False 0 50 True cdicon.png 0.5 0.5 0 0 5 False False True <b>Use this control panel to manage your isos and images</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 4 False False True False 0 True True True True 0 True * False 0 True True True True Browse True GTK_RELIEF_NORMAL True 0 False False True True Mount True GTK_RELIEF_NORMAL True 0 False False 0 False False True True GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True True True False False True False False True 0 True True True False 0 True False 0 70 True calculate.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Calculate MD5</b> Use this to calculate the md5sum of the iso image. This is useful for verifying the file has been downloaded properly. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Calculate True GTK_RELIEF_NORMAL True 0 False False 2 False False 0 True True 5 True True True 0 True True True False 0 70 True burn.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Burn ISO to CD</b> From here you can quickly burn an ISO image using gnome's built in cd burning wizard. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Burn True GTK_RELIEF_NORMAL True 0 False False 2 False False 0 True True 0 True True True 0 True True True False 0 70 True open.png 0.5 0.5 0 0 0 False True True False 0 323 True <b>Browse CD</b> You can use this to open your CD in a browser and navigate it as if it were a real CD. False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 2 False False True False 0 True True Browse True GTK_RELIEF_NORMAL True 0 False False 0 False False 0 True True 0 True True 0 False False False True True <untitled> False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 0 True True Calculating md5sum GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False cdicon.png True False False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST True False True False 0 True Now calculating the md5sum for the selected iso. Please note this may take some time. False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 7 False False True GTK_PROGRESS_LEFT_TO_RIGHT 0 0.10000000149 PANGO_ELLIPSIZE_NONE 0 False False True False 0 True True GTK_RELIEF_NORMAL True True 0.5 0.5 0 0 0 0 0 0 True False 2 True gtk-cancel 4 0.5 0.5 0 0 0 False False True Cancel True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 0 False False 10 True True About :: gISOMount GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False True False False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST True False True False 0 True False 0 True cdicon.png 0.5 0.5 0 0 10 False False True <b>gISOMount</b> v1.0.1 gISOMount is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. gISOMount is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with gISOMount; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA False True GTK_JUSTIFY_LEFT True False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 0 True True True False 0 True True OK True GTK_RELIEF_NORMAL True 0 False False 0 False False ./calculate.png0000644000175000000000000000454610446530734012362 0ustar peterootPNG  IHDR00WbKGD IDATx͚mlS8M@(NJAR(4iCPV]ۭZäCFa~6HZF[^R*Ed-$qJp℔ؾN ql?8q #]>LXFCCh4J4 ɥ$eL6ۉD" J=z7_}x[f Iŋx "_t262hrR&k>W.]vd&/qʭLݞfYŗl-YԷ^_Ձk9rέ"Ӽ"R_"Y5y +f5! ӥX Al<7uk %UHUpxɉIgU@dwsQ V@$ʥr-cY2V4d,J{/C)PQjV]{įBվŷ0>;u%\y]|x:>ի˂fWz 仈v;V[npߟ"h4ŋ팎hQYYɅ x7p6Ousȇ_ÇX|9׮]oUcXxg9st~ ,lms(^ "q{y# 4~LII1==g) G:0@(#kJh='4QL\g,; )qC mG'Z"Y%~ǏMÛb">>= lN'=Ө#bǎi)߁سum/++# kg~{Сrݴ#c=PlZKMMMxbѩѨ 㡇P),,Tq9N3@p͔)&xin7gΜI2|>$Q[[ t{y /_&FFFRvVtdBӁpYuH9{,7nPPHm6ofƍ۝e(L@41>:r8ŗ~2B~cG?J‹D什xsD~::N6fNegn`Hɉ+~:>=@`l"ͨ{4{1*]khhH ffCAcDV}8A\}*0; !yiؓOa$>{ٗ&VdϮ];i-9xҬ>&p:'+ }O4g/v̊?n~O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MEAIAFhmy211(3(J20k#WL L  "2 |" | >y wqylPx ~=*Ҫj8BLf:gYܬd>DQ{zYȰǜKUi-mgVj>J<~pUk?. b5b ]tŊWE l PC)< 6Ya$ EBwA6 [4æ]:GD\DQ'$)5ffwHO󉲚QN*aDuMfy%!XY{o΍[N? l ɇ>##C3s<#4@03{$'229z000܃ l1 0'ɽ] Z D-En99}aV F4"0%"?96Th67㧑}]n|Z`#\B,=>{䪍W_f&ffC!4cgdbL P122B0UL( oF߿1|y̓Vnr˫K> B0[:ڶ߿τڰM:Z 1BLPb#0,Z۔NC݂3B,/c``ؗ:sփ%6fd%`d6##o?lZF+A݀3gJbfebHg``cabPǧy5 xg1<p0200Y-z(66JGPB-d{9 <33pe`7f`1eKg uʬ$o% n6m<DD|l;a>=f&G*o g`1e=o]}+o8 v3}Y(f}Igdj`,%PYӅ#mܜoV59nПg=<%j^ ߇g103%Ƭa>2"̚. EEÅ=(103{sÌBp20k00r 2=bq(\ "* {~,Mg``{L.A,{;:Qę5]bk]SLw c$pu؁a¨>1\e@ȃ\Š –p'V3000–`F( xMFkIENDB`./__init__.py0000600000175000000000000000000010454515054011772 0ustar peteroot./config.py0000644000175000000000000000407310455761636011540 0ustar peteroot# Copyright (C) 2006 Pete Savage & Jordan Mantha # This file is part of gisomount. # gisomount is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # gisomount is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with gisomount; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA import sys import os class configFile: def __init__(self): self.filename=os.environ['HOME']+"/.gisomount/gisomount.conf" if not os.path.isdir(os.environ['HOME']+"/.gisomount"): os.mkdir(os.environ['HOME']+"/.gisomount",0755) if not os.path.isfile(os.environ['HOME']+"/.gisomount/gisomount.conf"): f=open(self.filename,'w') f.write("") f.close() f=open(self.filename,'r+') self.lines=f.readlines() f.close() def getValue(self,search): for line in self.lines: observe=line.replace("\n","") observe=observe.split("=") if observe[0].strip()==search: return observe[1] return None def setValue(self,search,value): self.filename=os.environ['HOME']+"/.gisomount/gisomount.conf" f=open(self.filename,'w') linesw=[] written=0 for line in self.lines: observe=line.replace("\n","") if line[0]=='#': linesw.append(line) elif observe!="": observe=observe.split("=") if observe[0].strip()==search: observe[1]=value written=1 line=observe[0].strip()+"="+observe[1].strip()+"\n" linesw.append(line) else: linesw.append(line) if written==0: linesw.append(search+"="+value+"\n") f.writelines(linesw) f.close() self.lines=linesw f=open(self.filename,'r') self.lines=f.readlines() f.close()