Using xdg-utils instead of htmlview, other hardwired apps

Ville Skyttä ville.skytta at iki.fi
Tue Oct 2 06:42:10 UTC 2007


On Tuesday 02 October 2007, Kevin Kofler wrote:
> Ville Skyttä <ville.skytta <at> iki.fi> writes:
> > I went through current devel packages that use htmlview or have
> > unnecessarily hardwired dependencies to firefox or evince.
>
> You should also check for hardcoded use of gnome-open, which should be
> changed to xdg-open these days (so it will honor the KDE settings under
> KDE, not the GNOME ones).

Yep, that's essentially the same improvement that xdg-open has over htmlview 
(and similarly for XFCE).

The first batch was done by going through packages returned 
by "repoquery --repoid=development --whatrequires --alldeps htmlview" and 
similarly for firefox and evince.  I plan to do some grepping later as for 
example repoquery might not be the best tool to find out uses of gnome-open, 
and some packages have missing dependencies (eg. to htmlview) which means 
they're not found by repoquery anyway.




More information about the fedora-devel-list mailing list