Created
March 24, 2012 08:19
-
-
Save w0ng/2180006 to your computer and use it in GitHub Desktop.
generate mimetypes for xdg-open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cp /usr/share/applications/mimeinfo.cache ~/.local/share/applications/defaults.list | |
$ yaourt -S mimeo | |
$ mimeo --create feh.desktop feh "feh %f" "glob:image/*" | |
$ vim defaults.list // change [MIME Cache] to [Default Applications] | |
$ mimeo --prefer "glob:image/*" feh.desktop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
copy desired /usr/share/applications to .local/share/applications