TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: ROGER BELL_WEST
date: 2019-11-04 09:49:00
subject: Re: file -i vs xdg-mime q

On 2019-11-04, R.Wieser wrote:
>The question is: what is the purposes of "file -i" and "xdg-mime query
>filetype" returning different results ?   Or, in other words: what are they
>aimed at ?

file is for the underlying operating system. xdg is for the graphical
interface that's been bolted on top. If you want to work with the
graphical stuff, use the tools that use the same libraries the window
manager is using.

You seem to have a concept of the graphical desktop and OS as one
monolithic entity. It's not. The graphical components are entirely
separate from the OS, written by different people at different times,
in many cases aimed originally at entirely different operating
systems.

Just as on other systems you can choose which word processor or web
browser to run, on a Unix system you can choose which graphical
environment to run (or indeed choose to have none at all).

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.