You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw the idea of creating an "open with" interactive menu in #608 and #1163, and I was wondering if that would be possible to implement.
Since xdg uses ~/.config/mimeapps.list, there's might be some way to get some open with interactive menu that could follow each one's personal preferences.
Please describe the problem you're trying to solve
Right now, we can only use the first option associated with a mime type app, unless we manually create an alternative, such as:
So when we are on a file, we can press O to get the "open" menu, go to the "open with" element and run the script that reads the type of the selected file, compare it to the list in ~/.config/mimeapps.list and showing each option separated by ; and ignoring the ".desktop" part.
If this requires too many resources, it could maybe be implemented as a plugin.
Sorry, there's no plan to support this feature because it is Linux-specific, while Yazi is a cross-platform file manager (Linux, macOS, Windows, Android), and the opener is also designed to be cross-platform — using "for" to specify different commands for different platforms.
It is worth noting that the current "open with" already supports displaying multiple available apps — you can define multiple commands in the same opener rule or use multiple opener rules for the same open rule for flexible combinations.
yazi --debug
outputI saw the idea of creating an "open with" interactive menu in #608 and #1163, and I was wondering if that would be possible to implement.
Since
xdg
uses~/.config/mimeapps.list
, there's might be some way to get someopen with
interactive menu that could follow each one's personal preferences.Please describe the problem you're trying to solve
Right now, we can only use the first option associated with a mime type app, unless we manually create an alternative, such as:
But doing this with each option is a colossal task, and we would need to modify it manually too.
Would you be willing to contribute this feature?
Describe the solution you'd like
Creating an "open with" that somehow reads this file to show other alternatives. This file has the following structure:
So when we are on a file, we can press
O
to get the "open" menu, go to the "open with" element and run the script that reads the type of the selected file, compare it to the list in~/.config/mimeapps.list
and showing each option separated by;
and ignoring the ".desktop" part.If this requires too many resources, it could maybe be implemented as a plugin.
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: