Mime Types [Solved]

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Mime Types [Solved]

Post#1 by Blaze » 18 Mar 2011, 12:22

MIME (Multipurpose Internet Mail Extensions) is an Internet standard for describes message content types.
MIME messages can contain text, images, audio, video, and other application-specific data.
Official MIME info is provided by the Internet Engineering Task Force (IETF) in the following documents:
  • RFC-822 Standard for ARPA Internet text messages
  • RFC-2045 MIME Part 1: Format of Internet Message Bodies
  • RFC-2046 MIME Part 2: Media Types
  • RFC-2047 MIME Part 3: Header Extensions for Non-ASCII Text
  • RFC-2048 MIME Part 4: Registration Procedures
  • RFC-2049 MIME Part 5: Conformance Criteria and Examples
Different applications support different MIME types.
I have question about it.

What kind of MIME types for files .lzm and .xzm?

For example:

Code: Select all

.gtar -> application/x-gtar
.tar -> application/x-tar
.tgz -> application/x-compressed-tar
.tgz -> application/gnutar
If I'm not mistaken I think that mime type for

lzm

Code: Select all

application/x-lzm
xzm

Code: Select all

application/x-xzm
Am I right?

Thanks.
Last edited by Blaze on 18 Mar 2011, 17:24, edited 1 time in total.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Mime Types

Post#2 by fanthom » 18 Mar 2011, 15:31

yes, but you need edit /usr/share/mime/packages/freedesktop.org.xml to get them recognized globally (all desktops/users) by the system.
done in both BETA's for lzm/xzm.

Cheers
Please add [Solved] to your thread title if the solution was found.

Post Reply