On Wed, 13 Nov 2019 11:49:10 +0100, "R.Wieser"
declaimed the following:
>Dennis,
>
>> Note that .config is normally a hidden directory -- the period
>> is critical if using a shell/console.
>
>Sigh ... I somehow assumed that my filesearches (using pcmanfm and grep)
>would also reach those folders - and it somehow completely escaped my mind
>that that could well not be the case (might be related to me having
>configured Windows to show all files and folders, regardless of how hidden
>MS thinks they should be).
>
I actually don't recall if a recursive grep looks in hidden
directories...
>
>Remember that I yesterday mentioned that I opened a scratch2 project file
>with "Text editor", and it became part of that "open with" list ? In the
>first group I noticed an entry "application/x-scratch2=", mentioning a
>"leafpad.desktop" value among the values following it. Checking before and
>after deleting it showed it got removed from that list (without having to
>rebuild a cache I mean).
>
Interesting -- most of mine seem to want mousepad.desktop; wonder if I
removed leafpad back when I installed gVim.
>Also, the order of the values behind the keys seems to be the order in which
>they get displayed in the "open with" menu.
>
As I believe I had mentioned
>Though I noticed that that that file and its "Added Associations" does
>exactly that: Although "Geany" is not mentioned after the "text/x-python3"
>key its still visible in the "open with" list for that filetype.
>
I suspect Geany is being picked up from its .desktop list of MIME
types.
>In other words, I think I now have control over at least what the top
>choices are in an "open with" list, and in which order they are displayed.
>And as I now also know that the "open with" list is actually coming from two
>different sources (!) it should not be too hard to remove the "extra"
>entries (like Geany for a python sourcefile - just edit the associated
>.desktop file and rebuild the cache).
>
Note: removing the Python MIME type from the geany.desktop file may not
be sufficient. Recall that Python3 is a subclass of Python and Python is a
subclass of text/plain, so if geany.desktop lists text/plain, it is still a
candidate for Python files. That's why I commented out the subclass for
Python -> text/plain -- in my case so that LibreOffice Writer was not a
candidate.
--
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)
|