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

Dennis,

> I actually don't recall if a recursive grep looks in hidden
> directories...

I wanted to write that thats something I still got to look into, until I
kicked myself as its something I could do /now/.   Nope, I do not see option
by mentioning anything about hidden files or folders.

A quick google further I found this though (there is a space between the "*"
and "."):

grep -r search * .*

Which, in retrospect(!), seems obvious - didn't quite expect it to be valid
for folders too though, but as the person posting it mentioned "a directory
is also a file".

> As I believe I had mentioned 

:-) You did, which I only realized after I had made my post.  My defense is
that it was not something I took much notice of, as at that time I could not
find the file its relevant for.

> I suspect Geany is being picked up from its .desktop list of
> MIME types.

So do I, though I suspect that it will look at the generated cache file
instead of the seperate .desktop ones.

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

Yup, thought about that too.   I'm currently dubbing if leafpad (the "Text
editor") will suit my normal textfile requirements, and just remove Geany's
.desktop "mime-type= " reference to it.   The same as I've already done for
"LibreOffice writer" (I /really/ wanted, for script or other simple
(code)textfiles, to get rid of that one).

> That's why I commented out the subclass for Python -> text/plain
> -- in my case so that LibreOffice Writer was not a candidate.

Thats the other possibility, making python sourcefiles their own class.

Hmmm.. Maybe I'll even do both.

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