Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Review Request:gmrun - A lightweight "Run program" window with TAB completion
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=222523
------- Additional Comments From pertusus@free.fr 2007-01-18 20:33 EST ------- (In reply to comment #6)
- xdg-open
Seems too heavy for me.
xdg-open is very light, it is only a shell script. Its package (xdg-utils) only brings in indirectly libglib-2.0 which is already a dep.
Correct if I'm wrong, but doesn't xdg-open requires an active browser to handle the different URLs?
xdg-open doesn't do anything itself. It calls the right command in kde, gnome and xfce. Otherwise it tries mimeopen (a perl script from perl-File-MimeInfo) and last it tries a browser (firefox being the default browser).
So I think using that script is in my opinion the most generic way of handling mimetypes (it is similar with htmlview, but more generic).
Now the real question, in my opinion, is: do you want to have a Requires on perl-File-MimeInfo (or %{_bindir}/mimeopen), given that it brings in perl, in order to be sure that every file will be handled right, or do you accept poor handling of URI and files in case the user don't have a way to use the freedesktop stuff?
As I'm targeting, well, my Laptop (P2/366, 256MB) I'm doing my best (in IceWM/gmrun/idesk) to remove unnecessary dep-chains and keep things as-lean-as-possible.
I also think this is a good idea.