TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2019-11-11 09:59:00
subject: `open with` - Getting rid

Hello all,

I think you might have noticed that I am getting a bit fed up with the
complexity and lack of information of doing something as simple as changing
the order and contents of the "open with" list. So I decided to approach the
problem from another side, going at it using the "gordian knot" method: I
just removed the OpenOffice writers .desktop entry (from
/usr/share/applications).   Luckily, that worked (I have no idea what I
would have done otherwise), its entry in the "open with" list was gone.

So, I placed it back and pretty-much gutted it, after which I started to
build it up again (binary search much?).   I now have a single entry which
causes both its application icon to disappear (even though I did not thouch
the "Icon=" entry), as well as its in-or-outof the "opens with" list:

-- Current contents --
[Desktop Entry]
Version=
Terminal=
Icon=
Exec=
Name=
GenericName=
Type=Application   <== this one
--------------------

As you might have noticed, there is no "MimeType=" entry in there, so it
still beats me how pcmanfm decides it should be in the "opens with" list of
a python sourcefile ...

And oh yeah, the change of icon and in-or-out the "open with" list happens
as soon as I save the file.  No "update-application-database" needed
afterwards.



The reason why I'm writing this ?

I could /really/ use some information about how to configure the "open with"
list, its contents as well as its order.   As just wielding a sword chopping
at knots and see what happens only goes so far (I can remove OpenOffice
writer, but that also means it can't be used at all).

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