Package Details: xdg-utils-mimeo 1.1.3+18+g0547886-1

Git Clone URL: (read-only)
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: 69
Popularity: 0.574211
First Submitted: 2009-12-16 04:08
Last Updated: 2019-08-30 11:04

Dependencies (14)

Required by (501)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

TrialnError commented on 2017-05-30 21:33

In my opinion your last sentence is highly debatable. Another valid view: It is only there to allow the use of mimeo in cases where no classic DE (and therefor there tools) is used (without crippling the original functionality).

For special setups xdg-open could be entirely replaced with another program (like some alternatives do it).
Or you could modify the detectDE() function directly. If the KDE case is applied DE isn't set to KDE but mimeo.

But I'm open to suggestions and/or contributions as I'm currently not sure how to approach this (especially as I have a different view on the purpose).

jmb commented on 2017-05-28 07:04

+1 for a way to force mimeo mode. I don't use a full desktop environment, but I still need to set XDG_CURRENT_DESKTOP=KDE, otherwise KDE applications don't display correctly (due to Qt trying too hard to match my nonexistent DE) and then xdg-open tries to open files or links through KDE, which is unreliable since I don't have a full KDE environment.

Note that the whole point of using xdg-utils-mimeo is so that it will use mimeo (otherwise we could simply use xdg-utils itself), so mimeo should have a very high priority…

TrialnError commented on 2016-02-18 09:47

@unitaker: Unless the DE is detected as xfce xdg-utils shouldn't use exo. This doesn't prevent the case with thunar and xfburn, which explicit depends on exo. I suppose those call/use exo directly.

Or does this also happen with a terminal and using xdg-open?

Edit: To make it clear. Currently the only way which would let xdg-utils choose exo:
If the var is empty, which happens without a running DE, it falls back to simple if-then checks.
There it would be again possible that the desktop is detected as xfce. But only if xfwm4 is used as window manager. Or whatever would cause xprop -root to report xfce4 somewhere in its output.[0]

But dunno if such a setup is used. If so, I could move the check for mimeo up a bit.
Or maybe I will do it anyway. Will think about it.

untitaker commented on 2016-02-16 17:28

Could the patch be changed such that mimeo is preferred over open_xfce and others? I have xfburn installed which pulls in exo (xfce's app launcher thing), which then gets prioritized over mimeo.

TrialnError commented on 2016-01-01 18:08

@ d7rk:
That means you haven't the puplic gpg/pgp key of the developer in your gpg key database.

Either invoke makepkg with --nopgpcheck, disable/remove the validpgpkey line or use gnupg and download the key (gnupg --recv-keys followed by the id from the pkgbuild)

d7rk commented on 2016-01-01 17:13


I get
Verifying source file signatures with gpg...
xdg-utils-1.1.1.tar.gz ... FAILED (unknown public key C43570F80CC295E6)
==> ERROR: One or more PGP signatures could not be verified!

when trying to install.

TrialnError commented on 2016-01-01 15:18

@eigengrau: Updated the patch. If DE is still mimeo it will use for screensaver the generic method.
Setting the DE to generic won't work, as this function is included in every xdg-* script. And in the other scripts (at least those touched by the patch) there are specific calls to mimeo. So no general generic call

Edit: *cough* added the missing char from the name. although eigengau got something for it too :D

TrialnError commented on 2015-12-30 21:21

Thanks for the intel you provided.
I will look at the patch and your proposal

eigengrau commented on 2015-12-28 20:36

Sorry, the complete patch is here instead:

eigengrau commented on 2015-12-28 20:34

I’ve noticed that xdg-screensaver doesn’t work anymore when mimeo-detection.diff is applied. This is because xdg-screensaver has a case statement which will trip over DE=mimeo. I’ve added a patch to the PKGBUILD here:

One alternative might be not setting DE to "mimeo" in your original patch, but using "generic" instead, since "generic" is already recognized in xdg-screensaver. Whether that works of course depends on whether you strictly need it to be "mimeo" somewhere else.