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 2 3 4 5 6 7 8 9 10 11 12 Next › Last »

Xyne commented on 2014-11-30 16:49 (UTC)

@Alad I've added code to catch the OSError in this case but the real problem is either an error in the okular desktop file or an error in Mimeo's parsing of it. Please update to the latest version of Mimeo and post the full error message along with the okular desktop file.

Alad commented on 2014-11-30 13:10 (UTC)

Having a similar issue: http://pastebin.com/R9y4y2K1 PDF assocation was set with "xdg-mime default okular.desktop application/pdf". Running "mimeo --purge delete" didn't help (with or without new association set)

Xyne commented on 2014-11-25 00:09 (UTC)

@nunopcardoso Thanks for notifying me of the problem and posting a fix. Given that the expected behavior is to print nothing when no associated desktop files are found, I have implemented my own solution using a try-except block. I'm assuming that the error was a KeyError. I suspect that this was caused by outdated associations in your local MIME files. Mimeo's --purge function should be able to fix this. Please pastebin code output next time (or email it directly to me). Posting code chunks in AUR comments is against our policy (usually due to formatting, sometimes due to size). Regards, Xyne

nunopcardoso commented on 2014-11-24 12:36 (UTC)

I was getting the following error when using the -d flag on a file for which the app list had unknown .desktop files: $ mimeo -m $FILE audio/mpeg $ cat ~/.local/share/applications/mimeapps.list [Default Applications] audio/mpeg=asda; $ mimeo -d $FILE Traceback (most recent call last): File "/sbin/mimeo", line 6, in <module> Mimeo.main() File "/usr/lib/python2.7/site-packages/Mimeo.py", line 2181, in main rows.append((name, names[name])) After fix: $ mimeo -d $FILE asda <Not found> $ diff /usr/lib/python2.7/site-packages/Mimeo.py Mimeo.py -Naur --- /usr/lib/python2.7/site-packages/Mimeo.py 2013-07-24 21:47:05.000000000 +0100 +++ Mimeo.py 2014-11-24 12:19:43.065298745 +0000 @@ -2178,7 +2178,10 @@ mimetype = mimeo.get_mimetype(arg) if mimetype: for name in mimeo.get_associated_desktop_names(mimetype): - rows.append((name, names[name])) + if name in names: + rows.append((name, names[name])) + else: + rows.append((name, "<Not found>")) table[arg] = rows print table mimeo.exit()

Xyne commented on 2014-05-17 11:57 (UTC)

@mrueegg The message indicates that you have not installed my key. You can get it from my site, from the pacman keyring or from the MIT PGP keyserver. If you don't want to install it then you can ignore the warning.

mrueegg commented on 2014-05-14 15:19 (UTC)

Signature verification failed: mimeo-2013.7.24.tar.xz ... FAILED (unknown public key 5CED81B7C2E5C0D2) ==> WARNING: Warnings have occurred while verifying the signatures. Please make sure you really trust them.

Xyne commented on 2013-02-12 17:01 (UTC)

Mimeo 2013.2 uses defaults when the expected environment variables are not set.

xduugu commented on 2013-02-10 12:31 (UTC)

mimeo is currently broken when using testing (libx11-1.5.0-2) due to the removal of the XDG_CONFIG_HOME environment variable (https://bugs.archlinux.org/task/31204). I guess a fallback to $HOME/.config is needed.

Xyne commented on 2013-01-11 00:12 (UTC)

Have you tried mimeo's "--purge" option? If so, tell me what you think it should be doing instead.

antihero commented on 2013-01-08 12:37 (UTC)

That's done the trick. Is there any way that mimeo can purge things from ~/.local/share/applications/mimeapps.list ? I had to spend ages with the mimeo code open printing stuff 'till I realised that was what was causing my associations to not change.