> When K4Dirstat is installed, it adds following row to /etc/mailcap:

No. k4dirstat just add /usr/share/applications/k4dirstat.desktop. An
other package (maybe mailcap or mime-support) hook the installation
process to regenerate /etc/mailcap.

/etc/mailcap is a generated file so you'll have to redo this change
every time you install a package.

There is no way to specify a MIME priority in a .desktop file. Users are
expected to configure this priority them self. To do so edit/create
$HOME/.config/mimeapps.list (user specific) or /etc/xdg/mimeapps.list
(system wide) and add:

[Default Applications]
inode/directory=thunar.desktop

xfce4-mime-settings provide a GUI for that. I guess that KDE and Gnome
have similar tools.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970925

Title:
  K4dirstat installer registers incorrect inode/directory MIME type

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/k4dirstat/+bug/1970925/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to