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

Dennis,

> Looks like you downloaded it a few days /before/ 3.2.1 went on-line.

Yep.  Don't know how I did that though. As far as I remember I just went to
a(n official looking) Raspberry Pi website, and downloaded the, at that
time, latest version.    I didn't hack my way in, used a time-traveling
machine or anything like that.

> I'll use the thonny desktop file for the example.

Ehrmm...  The OS takes its clues to which program a file can be opened with
from looking in those *.desktop files ?   Does that also mean there are
restrictions to where I am allowed to create them ?

> Look for a mu.desktop (or maybe mu-editor.desktop) and see if it has
> a MimeType=text/x-python3;

It does.  Actually, it has the mimetype mentioned twice (no idea why, but I
assume someone/thing bungled up there).

After having added the text/x-python3 mimetype to thonny I see that it shows
in the current .py files rightclick menu.

Thanks.    You're a bit of a treasure-trove to a freshling like me. :-)

Funny though: After I create a new .py file by using rightclick -> create
new...  rightclicking it doesn't show thonny.   But after I put a single
'enter' in it it does.   Thats a (bad) behaviour that needs some getting
accustomed to.

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