You are not logged in.
Hello everyone,
I'm struggling with the /usr/share/applications/mimeinfo.cache file. I'm using labwc and PCManFM, and every update VS Code replaces "inode/directory=" with itself, preventing opening folders with the "pcmanfm-qt.desktop". To be honest, Kitty is doing the same thing, yet it put itself in the following position, so this doesn't prevent me from using PCManFM.
I believe it's a noobie question, yet I'd like to ask for help.
Thank you for any help.
Last edited by Overbloom (2023-04-03 09:55:11)
Offline
Don't rely on /usr/share/applications/mimeinfo.cache it is rewritten very often.
create a mimeapps.list file in ~/.config/mimeapps.list (per user) or /etc/xdg/mimeapps.list (systemwide) with your desired default applications, see https://wiki.archlinux.org/title/XDG_MI … eapps.list .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
This file "~/.config/mimeapps.list" already exists.
I added "inode/directory=pcmanfm-qt.desktop" to it.
Thank you!
Offline
Don't rely on /usr/share/applications/mimeinfo.cache it is rewritten very often.
create a mimeapps.list file in ~/.config/mimeapps.list (per user) or /etc/xdg/mimeapps.list (systemwide) with your desired default applications, see https://wiki.archlinux.org/title/XDG_MI … eapps.list .
Any idea why this was necessary initially? Why does /usr/share/applications/mimeinfo.cache exist if it appears to be an unordered version of /etc/xdg/mimeapps.list? And much more so, why would it thus be used for MIME type affiliation?
When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.
Offline
Because each application that supports a mimetype gets added there so you can have "Open with" integration and the like. Unless you made a preference clear via explicit configuration you need to have "some" place where that information is present so it can be used for that.
Offline