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).
And yes, you can slap me for not realizing that earlier (even though you
mentioned hiden files/folders a few times!). :-(
Just now I did an "ls -lat" on my home directory and found a few such hidden
folders, among them .config . A quick peek into it turned up another
"mimeapps.list" which contained the "Added Associations" and "Default
Applications" groups you spoke of earlier.
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).
Also, the order of the values behind the keys seems to be the order in which
they get displayed in the "open with" menu.
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.
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).
Phew. Looking /back/ it does not seem all that complex. Not obvious, but
not really complex either. But thats the age-old problem with acquiring
20-20 goggles. :-)
So, thanks. You've spend quite a bit of time to help me out here. I
appreciate it.
Regards,
Rudy Wieser
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|