Package Details: mimeo 2023-13

Git Clone URL: https://aur.archlinux.org/mimeo.git (read-only, click to copy)
Package Base: mimeo
Description: Open files by MIME-type or file name using regular expressions.
Upstream URL: https://xyne.dev/projects/mimeo
Keywords: utilities
Licenses: GPL
Submitter: Xyne
Maintainer: Xyne
Last Packager: Xyne
Votes: 147
Popularity: 0.40
First Submitted: 2009-12-16 02:54 (UTC)
Last Updated: 2024-05-17 23:43 (UTC)

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 Next › Last »

misc commented on 2011-06-23 09:57 (UTC)

(re previous post: Removing them manually, that is.) Is there a way (for mimeo) to just display which apps a type is associated with?

misc commented on 2011-06-23 09:39 (UTC)

I got some other exits for a few orphaned wine entries such as: File "/usr/bin/mimeo", line 5, in <module> Mimeo.main() File "/usr/lib/python2.7/site-packages/Mimeo.py", line 2089, in main mimeo.purge('nothing') File "/usr/lib/python2.7/site-packages/Mimeo.py", line 1211, in purge del desktops[basename] KeyError: 'Mp3tag v2.46a.desktop But after removing them mimeo works fine. Thanks!

Xyne commented on 2011-06-23 05:46 (UTC)

@misc It should be fixed now. Upgrade and try again.

misc commented on 2011-06-21 15:31 (UTC)

Just installed it; I get Traceback (most recent call last): File "/usr/bin/mimeo", line 5, in <module> Mimeo.main() File "/usr/lib/python2.7/site-packages/Mimeo.py", line 2089, in main mimeo.purge('nothing') File "/usr/lib/python2.7/site-packages/Mimeo.py", line 1211, in purge del desktops[desktop_name] NameError: global name 'desktop_name' is not defined for e. g. "mimeo --add application/pdf zathura.desktop". (I use xmonad.)

Xyne commented on 2011-04-27 23:21 (UTC)

@reztho It should be fixed now.

reztho commented on 2011-04-27 17:39 (UTC)

If I try to run the mimeman-help example, I have this: % /usr/bin/mimeo --create feh.desktop Feh 'feh %f -F -Z' 'glob:image/*' Traceback (most recent call last): File "/usr/bin/mimeo", line 5, in <module> Mimeo.main() File "/usr/lib/python2.7/site-packages/Mimeo.py", line 2028, in main mimeo.create_desktop(*args) File "/usr/lib/python2.7/site-packages/Mimeo.py", line 607, in create_desktop desktop[DEG]['MimeType'] = self.get_matching_mimetypes(matcher, mime_types) File "/usr/lib/python2.7/site-packages/Mimeo.py", line 1554, in __setitem__ raise TypeError("type must be 'list' or 'str', not '%s'" % (value.__class__.__name__)) TypeError: type must be 'list' or 'str', not 'generator'

Xyne commented on 2011-04-13 15:20 (UTC)

The documentation has been updated. :)

<deleted-account> commented on 2011-04-12 07:40 (UTC)

No worries, fair enough. In that case, I should report a documentation error in the 'usage' section of mimeo --assoc-help :) Association files can be specified on the command line. Mimeo will also load $XDG_CONFIG_HOME/mimeo.conf or $HOME/.config/mimeo.conf as association files if they exist. Which one depends on whether $XDG_CONFIG_HOME is set.

Xyne commented on 2011-03-26 11:57 (UTC)

It only checks the $XDG_CONFIG_HOME and $XDG_CONFIG_DIRS directories (Mimeo.py sections starting at line 310 and line 395). It aims to be XDG compliant so it makes sense to only check those directories. Given that the location of the desktop entries depends on $XDG_DATA_*, it implicitly relies on the $XDG_* variables being set anyway.

<deleted-account> commented on 2011-03-24 19:43 (UTC)

I couldn't get mimeo to pay attention to an association file in $HOME/.config/mimeo.conf. Setting $XDG_CONFIG_HOME made it work fine. Looking at the source, I couldn't see anywhere where it would add the .config dir to the list of search paths for association files. Is this a bug, or have i missed something?