Package Details: xdg-utils-mimeo 1.2.1-1

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: 76
Popularity: 0.051830
First Submitted: 2009-12-16 04:08 (UTC)
Last Updated: 2024-06-02 22:16 (UTC)

Dependencies (15)

Required by (883)

Sources (2)

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 '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 (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]
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 (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.