The defaults.list handling is still valid,
https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gdesktopappinfo.c#L985

The issue is that it ranks lower than gnome-mimeapps.list which got install by 
error since a gnome-session merge this cycle
http://launchpadlibrarian.net/569661464/gnome-session_40.1.1-1ubuntu1_40.1.1-3ubuntu1.diff.gz

the 
>- don't install gnome-mimeapps.list (installed by desktop-file-utils in Ubuntu)

was undone there
+debian/gnome-mimeapps.list usr/share/applications/

or that list isn't customized by Ubuntu and taking over our defaults

** Package changed: desktop-file-utils (Ubuntu) => gnome-session
(Ubuntu)

** Changed in: gnome-session (Ubuntu Jammy)
     Assignee: (unassigned) => Jeremy Bicha (jbicha)

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

Title:
  .deb files open with Archive Manager by default

Status in snap-store-desktop:
  Triaged
Status in gnome-session package in Ubuntu:
  Triaged
Status in gnome-session source package in Jammy:
  Triaged
Status in desktop-file-utils package in Baltix:
  New

Bug description:
  Impact
  ------
  Someone who downloads a .deb file usually wants to install the .deb when they 
open it. Opening it with Archive Manager is really confusing.

  Test Case
  ---------
  Download a .deb
  Open your Downloads folder with the file manager.
  Double click on the .deb
  The Ubuntu Software app should open with a button that says Install.

  More Details
  ------------
  desktop-file-utils provides /etc/gnome/defaults.list
  In that file, there is this line (and several other lines also referring to 
the same .desktop)

  application/vnd.debian.binary-package=snap-store_ubuntu-software-
  local-file.desktop

  But when I look at /snap/snap-store/575/usr/share/applications/
  there is gnome-software-local-file.desktop

  which is a different file name.

  I believe this issue can be fixed in either snap-store or with
  desktop-file-utils.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to