From: Benny M. <ben...@gm...> - 2008-01-17 11:50:16
|
2008/1/17, Raphael Ackermann <rap...@gm...>: > > On Jan 17, 2008 11:42 AM, James G. Sack (jim) <jg...@sa...> wrote: > > > > > > Den Thursday 17 January 2008 10.57.44 skrev Raphael Ackermann: > > >> Jim, I get exactly to the same point as you do on Kubuntu with > > >> ubuntu-desktop installed. This is not enough. It actually has to work > > >> which would include burning a cd and being able to import the content > > >> of the cd again, (or open it again with gramps) > > > > OK, so I'll spend the extra $0.15. Just make sure it goes on my credit > > balance. :-) > > > > Works fine writing as does subsequent import into new db. > > > > I will note that it is not uncommon for people to have problems burning > > CDs, so when Gramps has a problem, it's worth asking whether the user > > can burn from the same CD interface (eg, Nautilus, at least on my > system). > > Using the export to CD works for people who have Gnome and Nautilus > installed and can burn cd's using Nautilus. > > I can see three options what could be done to improve the export to CD > user experience. > > 1. Only show the export to CD dialogue if it is guaranteed that the > person can actually burn cd's with e.g. Nautilus. I don't know how > this can be tested without explicitly asking the user. (installing all > of gnome and running kdm does not work out of the box. This is the way to go if you are sure it is a nautilius thing, and is present in some plugins already. See the Utils.search_for method use in the plugin Graphviz.py Do you change the writecd tool as such? Note that for kde there are dcop bindings, so one could see if k3b is installed, see if pykde import succeeds, and then do correct dcop call. See http://k3b.plainblack.com/dcop and http://www.riverbankcomputing.com/Docs/PyKDE3/dcopext.html Of course, a CLI call is also possible see 'man k3b' for that. However, the trick is to have a temporary dir that is burnt without it remaining on the harddisk later. Gnome does this with the self.copy_file method to the burn:// protocol, for KDE Dcop is the way to go then, you start a k3b app via dcop, then use CreateDataCD/DVDProject (a select for CD/DVD needed?), then call addUrl method for every media object. KDE dcop is really a nice thing. People with KDE will have it installed, and soon all will work on windows too. Well, I guess I urgently need some free time from the bug list to do these little projects myself. Benny |