Package Details: xdg-utils-mimeo 1.1.3+19+g9816ebb-4

Git Clone URL: https://aur.archlinux.org/xdg-utils-mimeo.git (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: https://www.freedesktop.org/wiki/Software/xdg-utils/
Keywords: mime mimeo xdg-open
Licenses: MIT
Conflicts: xdg-utils
Provides: xdg-utils
Submitter: matthewbauer
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 71
Popularity: 0.29
First Submitted: 2009-12-16 04:08
Last Updated: 2020-04-19 21:54

Dependencies (16)

Required by (563)

Sources (2)

Latest Comments

1 2 3 4 5 6 Next › Last »

Aelius commented on 2020-04-19 22:52

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 'https://www.archlinux.org/static/archnavbar/archlogo.a2d0ef2df27d.png'
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

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

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]
x-scheme-handler/about=org.mozilla.firefox.desktop;
x-scheme-handler/http=org.mozilla.firefox.desktop;
x-scheme-handler/https=org.mozilla.firefox.desktop;
x-scheme-handler/unknown=org.mozilla.firefox.desktop;
aelius@Talim ~> mimeo --prefer org.mozilla.firefox.desktop
aelius@Talim ~> xdg-settings get default-web-browser
aelius@Talim ~> cat .config/mimeapps.list
[Default Applications]
application/vnd.mozilla.xul+xml=org.mozilla.firefox.desktop;
application/xhtml+xml=org.mozilla.firefox.desktop;
text/html=org.mozilla.firefox.desktop;
text/mml=org.mozilla.firefox.desktop;
text/xml=org.mozilla.firefox.desktop;
x-scheme-handler/about=org.mozilla.firefox.desktop;
x-scheme-handler/http=org.mozilla.firefox.desktop;
x-scheme-handler/https=org.mozilla.firefox.desktop;
x-scheme-handler/unknown=org.mozilla.firefox.desktop;

TrialnError commented on 2020-04-19 18:24

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

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

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

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

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

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

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