On Fri, Oct 09, 2015 at 06:19:24PM -0500, Bruce Dubbs wrote: > Ken Moffat wrote: > > > >The file /usr/share/applications/mimeinfo.cache is a master list of > >what to use for specific mime-types (and there can be an override in > >~/.local). I started by adding two lines : > > > >x-scheme-handler/ghelpi=yelp.desktop; > >x-scheme-handler/help=yelp.desktop; > > > >That allowed 'help' to work correctly in epiphany and evince, but it > >seemd like a hack. Looking at my backups, mimeinfo.cache was last > >updated during the install of fontforge. Google quickly told me > >that update-desktop-databae rebuilds this file, by default from the > >.desktop files in that directory. So, I removed my additions and > >then ran > > > >#update-desktop-database > > > >The additions were re-added, and help now works in gucharmap and > >gnome-calculator. > > > >Note that this does NOT prevent the error message when opening yelp > >itself, the probable solution to that is "don't do that, then". > > > >I suppose I ought to add 'update-desktop-database' to the end of the > >install in yelp. Not sure if all of the mime dep(s) is/are already > >pulled in for yelp. > > I haven't looked at this for a while, so I looked at mimeinfo.cache and it > already had those entries. I then checked epiphany and evince. The help > worked fine. gnome-calculator worked too. > > I also confirm that yelp by itself on the command line does not give > anything useful. > > Good sleuthing. > > -- Bruce
Thanks. I'm minded to add desktop-file-utils as 'recommended' in yelp to be sure that the command is available. ĸen -- Il Porcupino Nil Sodomy Est! (if you will excuse my latatian) aka "The hedgehog song" -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
