TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2019-11-10 21:18:00
subject: Re: pcmanfm - How to set

Dennis,

> From which I deduce that any application that handles text/plain
> will be considered valid for text/x-python

Sounds reasonable.  So, I removed all lines mentioning "python" (3 or 4),
updated the database and rebooted (for good measure).  Alas, no change in
the contents or order of the "open with" list of either a python or python3
list.   Absolutily nothing ...

> You might want to study the contents of the directory /user/share/mime

No.  Currently I'm getting a bit tired of this guessing game, and instead
want to find/have information.  Sorry.

> AH -- there it may be...
> pi@rpi3bplus-1:~$ cat /usr/share/mime/text/x-python3.xml

The contents of those files (in the "text" folder) get generated by updating
the mime database.   Hence the actual info must be somewhere else.   Where ?
Your guess is as good as mine I'm afraid.

And those weights ?   Those /could/ have something to do with the ordering
in the "open with" list.  But again, thats just guessing (already tried
googeling for it).   And thats apart of how they get determined, 'cos its
certainly not in the xml mimetype definition file.

Lets hope that I will look differently at it tomorrow ...

Regards,
Rudy Wieser

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