On Sun, 10 Nov 2019 14:34:25 +0100, "R.Wieser"
declaimed the following:
>One of my problems is that I've searched, starting from "/usr", for all
>"*.desktop" files containing "python", and have not found either "Text
>editor" nor "Libre office writer" among them. The same search using
>"python3" added "Geany" to be absent.
>
Part of this may come back down to "file"...
pi@rpi3bplus-1:~$ file -k -r *.py
test1.py: Python script text executable Python script, ASCII text
executable
-
test2.py: Python script text executable
- a /usr/bin/python3 script text executable Python script, ASCII text
executable
-
tst.py: ASCII text
-
pi@rpi3bplus-1:~$
Note how all three have the tag "ASCII text"... That likely triggers
any application that handles "text/plain".
As for Geany -- since you manage to have file return text/x-python3 for
some files, you may have to add that to the geany.desktop to get it to show
for those files.
I suspect you can't reorder the list -- it's either alphabetical (based
upon some field in the .desktop file) or it's the order the .desktop files
were scanned when building the menu.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|