now I am not 100% but I believe that the mimeinfo.cache file is created from the default.list (God only knows which one) and updated every time a program/package is installed. This is all part of the Freedesktop/xdg stuff and you can read the docs/specs @ their website.
to "fix" the problem with launching gdebi from the Thunar context menu (right mouse menu) I edited the /usr/share/applications/mimeinfo.cache file so the only app association with the deb packages was gdebi.desktop (and of course there are multiple of these on my system <sigh>):
I also modified my in the same manner but it seems that the file in /usr/share/applications/mimeinfo.cache is the critical one for Thunar,
To get Gdebi to work from the opera downloads via open downloaded .deb file I had to add the mime associations to /home/johndoe/.config/mimeapps.list (yea! another MIME file)
Now there is yet another MIME file /usr/share/mime/mime.cache which is a binary file. It can be updated via the command:
$ sudo update-mime-database /usr/share/mime/
I don't know who or what uses it but I am at the tail end of an all-nighter hunting down this bug so I updated it.
not sure if it matters nor if it should be comma separated or semi-colon separated perhaps the package maintainer can chime in.
I hope this is somewhat helpful. If you are reading this and NOT on an xubuntu system you file locations may be different. use your favorite file search utility (I use catfish) and look for "mimeinfo", "defaults.list", "mime", and "gdebi"
I finally got around to tracking down this problem it seems to be a mimeinfo.cache issue.
If the reader is not familiar mimeinfo is part of the freedesktop and contains all the mime types and their program associations.
for deb packages the primary mime type (called media types now because why not <sigh>} is:
application/ vnd.debian. binary- package
with 2 depreciated alternates:
application/x-deb x-debian- package
application/
this is documented @ https:/ /www.iana. org/assignments /media- types/applicati on/vnd. debian. binary- package
the entire mime list is @ http:// www.iana. org/assignments /media- types/
these definitions are combined with default applications and put into defaults.list file(s). On my system I have several <sigh>. They are located @:
/etc/g/ etc/xfce4/ defaults. list applications/ defaults. list xfce4/applicati ons/defaults. list xubuntu/ applications/ defaults. list
nome/defaults.list
/usr/share/
/usr/share/
/usr/share/
now I am not 100% but I believe that the mimeinfo.cache file is created from the default.list (God only knows which one) and updated every time a program/package is installed. This is all part of the Freedesktop/xdg stuff and you can read the docs/specs @ their website.
On my system I have 2 of these files:
/usr/share/ applications/ mimeinfo. cache .local/ share/applicati ons/mimeinfo. cache
/home/johndoe/
to "fix" the problem with launching gdebi from the Thunar context menu (right mouse menu) I edited the /usr/share/ applications/ mimeinfo. cache file so the only app association with the deb packages was gdebi.desktop (and of course there are multiple of these on my system <sigh>):
application/ vnd.debian. binary- package= gdebi.desktop; x-deb=gdebi. desktop; x-debian- package;
application/
application/
I also modified my in the same manner but it seems that the file in /usr/share/ applications/ mimeinfo. cache is the critical one for Thunar,
To get Gdebi to work from the opera downloads via open downloaded .deb file I had to add the mime associations to /home/johndoe/ .config/ mimeapps. list (yea! another MIME file)
Now there is yet another MIME file /usr/share/ mime/mime. cache which is a binary file. It can be updated via the command:
$ sudo update- mime-database /usr/share/mime/
I don't know who or what uses it but I am at the tail end of an all-nighter hunting down this bug so I updated it.
There is one more file that should be looked at:
/usr/share/ application- registry/ gdebi.applicati ons
the last line in the file is:
mime_types= application/ x-deb
I changed it to:
mime_types= application/ x-deb;applicati on/vnd. debian. binary- package; application/ x-debian- package;
not sure if it matters nor if it should be comma separated or semi-colon separated perhaps the package maintainer can chime in.
I hope this is somewhat helpful. If you are reading this and NOT on an xubuntu system you file locations may be different. use your favorite file search utility (I use catfish) and look for "mimeinfo", "defaults.list", "mime", and "gdebi"