Directories keep opening in Firefox when I use xdg-open. I do not want this.
I did:
xdg-mime default dolphin.desktop application/x-directory
and
xdg-mime default dolphin.desktop inode/directory
Yet, when I try
xdg-open /local
I still get a firefox window. Why is this? I even double checked with
xdg-mime query default inode/directory
and
xdg-mime query default inode/directory
and both of those commands result in
dolphin.desktop
I don't know if it would make a difference If I have used ssh to control the machine that I am referring to (I am not working on the machine that I am giving these commands, I have used ssh to control it via the terminal of my current machine).
The default program for directories on the machine I am sitting at is File Browser, not dolphin or Firefox, so it seems irrelevant.
XDG_UTILS_DEBUG_LEVEL
env variable to a value greater than 1. If you are using bash:XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default inode/directory
. On my machine,xdg-mime default
updated a different file whatxdg-mime query
was reading. Solved it by removing$HOME/.config/mimeapps.list
.