On Sat, Aug 25, 2001 at 10:02:37AM -0400, Greg Spath wrote:
> Instead of basing MIME type on filename (Last I checked ROX doesn't
> even use gnome's regexp typing?), it would be nice if done based on the
> contents of the file. This is the way KDE's KFM used to work, and it
> is very nice. This way no matter what your file is named, the proper
> application and icon associations are used.
The trouble is that file sometimes gets it wrong. Eg, this file ('MyFile.c'):
is 'text/plain'. This file ('Hints.txt'):
GIF87 is the best file format to use.
is an image file, according to 'file'. Likewise, 'HTML notes.txt':
<HTML> - the whole page
<HEAD> - contains the title, etc
<BODY> - for the main text
doesn't get typed as expected. Having the file be given an apparently
random type when saved from a text editor isn't good!
At least with extensions you can fix it by renaming. Hopefully we'll get
filesystems with attributes at some point and we'll be able to tell the
type quickly and accurately. Another problem with using 'file' is that it
makes the access times useless.
Does anyone know what the current GNOME/KDE thinking is on this matter? I
thought they were trying to unify their systems at some point. It would be
great to have a single library to handle this and let the user use
whatever scheme they like over the whole system.
> One final request is to somehow enable different appearances for each
> ROX-filer directory window, to include fonts, font colors, preferred
> view (icon size & details) and background color/image. Not that
> important, but it is a nice way to have visual cues as to what you have
> open on the desktop.
Sounds quite nice. The only problem is knowing when to use the current
style and when to use the set one. Eg, I might normally display my MP3s
with 'Small Icons', but one day wish to go through the whole hierarchy
looking at the file sizes. There was some talk of using glob patterns for
this at one point...
> Thanks again for such a fast, elegant, and useful file and application
Thomas Leonard http://rox.sourceforge.net