Re: [orca-list] GNOME File Associations
- From: Steve Holmes <steve holmesgrown com>
- To: orca-list gnome org
- Subject: Re: [orca-list] GNOME File Associations
- Date: Thu, 10 Apr 2008 09:38:37 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Thanks Jason, I hadn't realized the file type information was gathered
by different means. I'll have to spend some time with the file
manpage then. I've seen the file command before but didn't use it a
lot. I hadn't realized that gnome relied on that method. Someone
mentioned the mailcap and mimetypes had a part in all this; if so, I
guess I can go in there and add my choices. Hopefully that will do
it. Lot to learn with this gnome stuff; another layer on top of
linux. As long as I've been using linux, I still have lots to learn.
On Thu, Apr 10, 2008 at 10:36:21PM +1000, Jason White wrote:
There might be a slight misunderstanding here: Linux usually doesn't rely on
file extensions. It examines the contents of the file to determine what kind
of file it is. If you use the file command from the shell it will give you the
file type.
Somewhere in Gnome there will be a mapping of file types to applications.
The file command is configurable: you can add to the strings and patterns that
it uses to identify the type of the file.
The advantage of this arrangement is that the file name doesn't matter. So, if
I have a PDF file:
jason jdc:/tmp$ file test.pdf
test.pdf: PDF document, version 1.4
jason jdc:/tmp$ mv test.pdf test.something
jason jdc:/tmp$ file test.something
test.something: PDF document, version 1.4
- --
HolmesGrown Solutions
The best solutions for the best price!
http://holmesgrown.ld.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFH/kKNWSjv55S0LfERAzSKAJ4u+LkYsNeiYwN6YsRujq+98e9KEwCeMwav
TkBDrCzjOBdz0Y/z3ZaYxM0=
=5Frs
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]