Skip to content
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

sphere files (.sph) #71

Open
nikvaessen opened this issue Feb 24, 2023 · 0 comments
Open

sphere files (.sph) #71

nikvaessen opened this issue Feb 24, 2023 · 0 comments

Comments

@nikvaessen
Copy link

nikvaessen commented Feb 24, 2023

Hi, thanks for your work on handlr!

By default, .sph files are opened as text files on my install, so I wanted to figure out a solution to open them with mpv by default. I ended up trying out handlr to solve this for me.

I get stuck with the following error:

$ handlr set .sph mpv.desktop 
error: Invalid value for '<mime>': could not figure out the mime type of '.sph'

I don't understand how to solve this error. I've also tried setting */sph, which does work partially, resulting in:

$ handlr list
┌─────────────────────────────────────────┬────────────────────────────────────┐
│ */sph                                   │ mpv.desktop                        │
│ text/plain                              │ org.kde.kate.desktop               │
└─────────────────────────────────────────┴────────────────────────────────────┘

But then when using handlr open /path/to/file.sph it is still opened with kate.

Any help is appreciated! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant