Package Details: xdg-utils-mimeo 1.1.3+25+g8ae0263-1

Git Clone URL: (read-only, click to copy)
Package Base: xdg-utils-mimeo
Description: Command line tools that assist applications with a variety of desktop integration tasks; patched to use mimeo
Upstream URL:
Keywords: mime mimeo xdg-open
Licenses: MIT
Conflicts: xdg-utils
Provides: xdg-utils
Submitter: matthewbauer
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 75
Popularity: 0.044778
First Submitted: 2009-12-16 04:08 (UTC)
Last Updated: 2022-11-23 21:34 (UTC)

Dependencies (15)

Required by (762)

Sources (3)

Latest Comments

1 2 3 4 5 6 Next › Last »

Aelius commented on 2020-04-19 22:52 (UTC) (edited on 2020-04-19 23:05 (UTC) by Aelius)

Thank you for the update! Now it behaves as it should.

Looks like there is a problem with mimeo itself, though. I'll have to send xyne a bug report.

aelius@Talim ~> mimeo ''
aelius@Talim ~> Unknown profile 'image'.
Error parsing option profile (option parameter could not be parsed)
Setting commandline option --profile=image failed.

Exiting... (Fatal error)

edit- nevermind, there was a lingering associations file I forgot about.

TrialnError commented on 2020-04-19 21:46 (UTC)

Thank you.
Same issue as with xdg-mime. The original way to get the info from mimeo didn't work (for reasons unknown).
Fix incoming

Aelius commented on 2020-04-19 21:01 (UTC)

Updated. This is just copied from my terminal. Still silent/null output from get default-web-browser

aelius@Talim ~> rm .config/mimeapps.list
aelius@Talim ~> xdg-settings set default-web-browser org.mozilla.firefox.desktop
aelius@Talim ~> xdg-settings get default-web-browser
aelius@Talim ~> cat .config/mimeapps.list
[Default Applications]
aelius@Talim ~> mimeo --prefer org.mozilla.firefox.desktop
aelius@Talim ~> xdg-settings get default-web-browser
aelius@Talim ~> cat .config/mimeapps.list
[Default Applications]

TrialnError commented on 2020-04-19 18:24 (UTC)

Okay, thanks for the clarification. Although even if it somehow got recognized as flatpack it should have failed audibly.
And thank you cosmic for the report. With the backslashes in place mimeo took it as a literal string and therefor added an additional .desktop to the entry. So indeed a bug (and thanks for the reminder for mimeapps.list >.>).
Now to check, why this doesn't help Aelius. Please check the new PKGBUILD and report what gets added to the mimeapps.list please.

Aelius commented on 2020-04-19 01:07 (UTC) (edited on 2020-04-19 03:10 (UTC) by Aelius)

No, the directory $XDG_RUNTIME_DIR/flatpak-info does not exist on my system. I tried out cosmic's changes for fun, did not resolve my issue either.

cosmic commented on 2020-04-19 00:35 (UTC) (edited on 2020-04-19 00:35 (UTC) by cosmic)

I believe there's a bug in set_browser_mimeo(). The broken line is: mimeo --prefer x-scheme-handler/$protocol \"$1\" || return. It incorrectly sets a desktop file in mimeapps.list: x-scheme-handler/http="firefox.desktop".desktop;. Those quotation marks shouldn't be escaped: mimeo --prefer x-scheme-handler/$protocol "$1" || return

TrialnError commented on 2020-04-17 23:37 (UTC)

My bad, if I wasn't clear enough. Just wanted to know if you set some kind of environment variable or such and if you know whatever program is getting called.
Still one question: Does $XDG_RUNTIME_DIR/flatpak-info exist on your system?

Aelius commented on 2020-04-17 13:11 (UTC)

I'm not sure what you mean. I do not use a DE, so xdg-utils is likely going to use the X-Generic functions.

TrialnError commented on 2020-04-15 10:11 (UTC)

Okay. I need some additional infos about your setting.
In what way do you make sure mimeo is run if this patched xdg-utils is installed and what program takes over if normal xdg-utils is installed? Is this program still installed when trying to use this package?

Aelius commented on 2020-04-14 06:03 (UTC)

No, and no failed exit code either. It just runs, exits, and nothing happens.