I don’t know if it’s a problem or not. But 7zz is not working as supposed to. It’s an optionalDependency. However when I press enter for a application which is mimetype application/zip, it opens up in zathura-cb rather than getting extracted by 7zz. Here are my yazi dots. Also take a look at xdg-settings for mimetype settings.
Running 7zz in nix-shell is running correctly.
Thank you.
Probably zathura is hijacking your default app for archive files, try setting the default explicitly or removing that from zathura.
How do remove <what?> from zathura? How do I set the default to use _7zz? I am sorry, I am actually a noob in this. Do check out my configuration here. Is it correct?
Use xdg.mimeApps
to explicitly set defaultApplications
and/or removedAssociations
for the applicable mime types.
xdg-utils - ArchWiki has a primer on using xdg-mime
for figuring out what the mime types are as well as the currently default app that tries to open them.
Running
xdg-mime query filetype <somefile>.zip
Gave
application/zip
Then running
xdg-mime query default application/zip
Gives
org.pwmt.zathura-cb.desktop
I need to add 7zz something over there. But how. I mean there’s nothing about adding a mimeapp that has no .desktop entry. How do I add 7zz (the binary, not the desktop file) to xdgMime?