Bug#1099854: amberol: Should not set inode/directory mimetype
Jeremy Bícha
jeremy.bicha at canonical.com
Sat Mar 8 22:15:07 GMT 2025
On Sat, Mar 8, 2025 at 4:45 PM Matthias Geiger <werdahias at debian.org> wrote:
> amberol sets the inode/directory file in its desktop file.
> This is wrong as it causes amberol to handle as app for opening files.
> Should probably fixed / discussed upstream.
I don't think this is necessarily a bug that needs to be fixed.
Similarly, I think your recent patch for baobab isn't needed and
interferes with someone who wants to use baobab to scan a particular
directory by right clicking on the directory in their file manager and
choosing Open with… Disk Usage Analyzer.
Debian's gnome-session-common package provides
/usr/share/applications/gnome-mimeapps.list which is currently
provided by
https://salsa.debian.org/gnome-team/gnome-session/-/blob/debian/latest/debian/gnome-mimeapps.list
although there was a draft merge request upstream to have GNOME
provide that file itself).
For desktops that set their XDG_CURRENT_DESKTOP to include GNOME, that
file is used to provide default apps for different mimetypes. (The
Ubuntu default desktop sets XDG_CURRENT_DESKTOP=ubuntu:GNOME so
gnome-mimeapps.list is currently used although I guess I should
provide a ubuntu-mimeapps.list to more clearly show where Ubuntu
diverges from the Debian GNOME set.)
What desktop/window manager do you use? I think you don't use GNOME
which is why the behavior isn't working for you. I think you should
consider updating the Debian package for your desktop to include a
reasonable ${desktop}-mimeapps.list . Notably, you can include
alternatives separated by semicolons in case there isn't necessarily a
single best app for a particular mimetype.
Thank you,
Jeremy Bícha
More information about the pkg-gnome-maintainers
mailing list