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

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to desktop-file-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1970248

Title:
  .deb files open with Archive Manager by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-store-desktop/+bug/1970248/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to