Comment 2 for bug 1970248

Revision history for this message
Jeremy BĂ­cha (jbicha) wrote :

$ mimeopen -D gnome-control-center_1%3a41.4-1ubuntu13_amd64.deb
> Data dirs are: /home/jeremy/.local/share, /usr/share/ubuntu, /usr/local/share, /usr/share, /var/lib/snapd/desktop
> Checking inode type
> Checking globs for basename 'gnome-control-center_1%3a41.4-1ubuntu13_amd64.deb'
> Checking for extension '.deb'
Opening "gnome-control-center_1%3a41.4-1ubuntu13_amd64.deb" with Archive Manager (application/vnd.debian.binary-package)

Beginning of the Fix
====================
1. Add application/vnd.debian.binary-package;
to the MimeType line of
snap-store_ubuntu-software-local-file.desktop

2. Then run
sudo update-desktop-database /var/lib/snapd/desktop/applications

$ mimeopen -D gnome-control-center_1%3a41.4-1ubuntu13_amd64.deb
> Data dirs are: /home/jeremy/.local/share, /usr/share/ubuntu, /usr/local/share, /usr/share, /var/lib/snapd/desktop
> Checking inode type
> Checking globs for basename 'gnome-control-center_1%3a41.4-1ubuntu13_amd64.deb'
> Checking for extension '.deb'
Please choose a default application for files of type

 1) Archive Manager (org.gnome.FileRoller)
 2) Software Install (snap-store_ubuntu-software-local-file)
 3) Other...

use application #

That got me a step closer but then it looks like at least mimeopen isn't sure which app to use.