-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"handlr list" doesn't fully describe decision making process. make it clearer what assumed prior knowledge is? #20
Comments
@Dieterbe I've added
Yeah I might add a verbose option to |
FWIW, as a user it's not necessarily clear why certain associations exist (for example when i run the new |
@Dieterbe this feature is now released in v0.5 :) |
So, which specs should one read to understand how this tool works? which other ones ? https://www.freedesktop.org/wiki/Specifications/file-uri-spec/ ? https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/ ? so far, seems mime-apps-spec is the most relevant one. Again, some guidance to users of this tool about what they should know, would be very helpful. edit: after some reverse engineering, it seems handlr follows what mime-apps-spec says, and uses the files mentioned there. associations are maintained in $XDG_CONFIG_HOME/mimeapps.list (even when set through handlr), and not in the handlr config file. sort of stuff would be very useful to document . some more things i found out, the "selector" to choose how to open is only in case you have multiple entries on the priority mimeapps config. it doesn't let you choose if you have different choices at different priority levels. |
@Dieterbe good points. If you wanna write up a quick paragraph to add it to the README I would really appreciate it |
Hello,
my
handlr list
output is belowThis seems incomplete. I know for example that a file with extention
.txt
will be opened by gvim (though I don't know why)When I strace
handr list
i see it opens lots of .desktop files in.local/share/applications
and/usr/share/applications/
From what I understand, there's also custom associations that can be set in handlr as well as a separate mimetype data base.
The readme mentions "Automatically removes invalid/wrong .desktop entries from mimeapps.list", I have these 3 files (see below) and it's not clear how they're used or in which priority order:
I know that part of the problem is that I'm uneducated on the matter, and i could probably go read the various (?) XDG/opendesktop specs that are relevant, but it seems rather confusing, so maybe there is an opportunity to steer new users in the right direction:
Compared to xdg-utils
, so this tool replace xdg-open and xdg-mime? if not, which ones exactly?handlr
more userfriendly, and not require (as much) prior knowledge?for example
handr list
could give a more complete listing of all resources that it uses in its decision process. or how about something likehandlr explain
that says, for a given file, how it arrives at a decision?thanks!
The text was updated successfully, but these errors were encountered: