TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2019-11-12 14:51:00
subject: Re: pcmanfm - How to set

On Tue, 12 Nov 2019 17:56:26 +0100, "R.Wieser" 
declaimed the following:

>> gVim now shows up on Programming menu (beside on Accesories)
>
>:-) I was not even looking at that (just the "open with" list you see
>directly after rightclicking), but thats a nice find.   It shows how the
>grouping works.
>

 To be fair, Applications/Preferences Main Menu Editor gives a graphical
way to edit the main menu, including reordering entries (just spotted it
while looking for something else: Debian xfce has a "Mime Types Editor",
but does not have a Menu Editor)

>I assumed that that would happen, but wanted tho keep the "Text editor"
>choice in the list.  And, if I get my way, as the first entry (with, for
>Python, "Thonny" as the second).
>

 Suspect you could specify it on the .config/mimeapps.list (I think the
common "Text Editor" is mousepad.desktop). Commenting out the text/plain
subclass for text/x-python meant LibreOffice doesn't come near it 

{I also discovered that GNAT Programming Studio sticks its icon file in a
non-standard location, so I had to put in the full path for the icon on its
.desktop file. Now the menu shows the GNAT "G"}

>
>:-)  I think you've solved my problem there.  Thanks.
>

 Still a touch faster (especially if you have multiple types to work
with) to hand edit the .config/mimeapps.list file...

>
>I think that the name of my file manager is "pcmanfm".  At least, I've been
>using "sudo pcmanfm" for a while now to easily access and be able to edit
>the files in the /user/share/mime (and other) subtrees.
>
 Okay -- too many OSs here (and I haven't even attempted to use the
graphical environment on the BeagleBone Black, which is LXQT). xfce uses
Thunar.

>... Though I tried to open a Scratch2 project (dont ask) with the "text
>editor", and now its a permanent entry in that list. :-|
>

 Open With... seems to add whatever one picks. Just that, unless [X] Set
selected was picked, it does not become the default for double-clicking.


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

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