k4dirstat overriding default file manager in Firefox

Bug #1912190 reported by Lonnie Lee Best
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
k4dirstat (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In Kubuntu 20.04, if I install k4dirstat, Firefox chooses k4dirstat as the default file manager when I attempt to "Open Containing Folder" for a downloaded file. Here's a screenshot of where I'm clicking in Firefox that launches k4dirstat:

https://i.imgur.com/xR6T5ap.png

If I uninstall k4dirstat, Firefox will instead open my file manager at the correct location (where the file was downloaded to, instead of launching k4dirstat).

How can I have both k4dirstat and a Firefox that acts right when I click "Open Containing Folder"?

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: k4dirstat 3.2.0-1build1
ProcVersionSignature: Ubuntu 5.4.0-62.70-generic 5.4.78
Uname: Linux 5.4.0-62-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Jan 18 04:39:48 2021
InstallationDate: Installed on 2020-04-26 (267 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: k4dirstat
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lonnie Lee Best (launchpad-startport) wrote :
description: updated
Revision history for this message
Jerome Robert (jeromerobert) wrote (last edit ):

k4dirstat declare it self has being able to open folders (this is in usr/share/applications/k4dirstat.desktop).

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 <-- enter your prefered file manager here

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

Revision history for this message
Jerome Robert (jeromerobert) wrote :

Fixed in k4dirstat 3.4.2

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package k4dirstat - 3.4.2-1

---------------
k4dirstat (3.4.2-1) unstable; urgency=medium

  * New upstream version 3.4.2
    - Fix a floating point exception with go-mtpfs
    - Remove inode/directory MIME type (LP: #1970925, LP: #1912190)
  * Bump Standards-Version

 -- Jérôme Robert <email address hidden> Sun, 14 Aug 2022 14:56:04 +0200

Changed in k4dirstat (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.