From: Thomas Leonard <tal00r@ec...> - 2004-11-05 11:20:16
Alexander Wagner <a.wagner@...>:
> Just came accross that Rox 2.1.4 should now support the
> guessing of a filetype by it's contents. Would drop the
> necessity to name all perl-scripts .pl which would be very
> nice indeed.
> Anyway, it "requires" gnome-vfs 2.8 "at least" which I can't
> meet either on my RedHat 9 (it comes with 2.2.2-4) nor on my
> Debian Testing coming with 2.6.1 (which is also Debian
> unstable). Does Rox really require 2.8?
2.8 doesn't use the shared MIME database, so it might give
> I tried to just hack the ./configure to check only for >=2.0
> which compiles ok, but still if I have a perl-script labled
> just "test" I only get either an "executable" or a
> "text/plain" icon. Though "contents indicates" always gives
> me "perl".
The contents thing comes from the 'file' command, which uses yet another
The point is that if you have an icon and run action for
application/x-perl, you don't want to get that type for *.pl files,
but text/perl for ones matched on content instead of name.
Dr Thomas Leonard http://rox.sourceforge.net
tal at ecs.soton.ac.uk tal197 at users.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1
Get latest updates about Open Source Projects, Conferences and News.