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

Dennis,

> As can be seen, this R-Pi 3B+ running a recent Raspbian (via
> NOOBS) does NOT show differences.

Odd.   My NOOBS (v3.2.0) installation is just a few weeks old with just a
few packages added (gtk2 & 3).  Though when I did that "xdg-mime query
filetype" on a python script hashbanged* with "python3" it returned
"text/x-python3".

*you're calling it "shebang".  Is that the official name ?

> pi@rpi3bplus-1:~$ apropos mime
> gvfs-mime (1)        - (unknown subject)

Ah.  "apropos" is also a command.   I saw it mentioned in a post, but didn't
quite understand what was ment (assumed a kind of remark).     Thanks for
mentioning it.

> pi@rpi3bplus-1:~$ cat /etc/mailcap

What is "mailcap", and why should I be looking in it for stuff related to
mimetypes ?   I would assume, from the name, it has something to do with
email, but I must be wrong there ...

Regards,
Rudy Wieser

P.s.
Do you know if there is a tool/app available to add/change desktop icon
assignments for non-app files (like the python script files) ?     I've been
able to do it by hand, but if there is something simpler available I'm all
for it. :-)

--- 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™.