Hi Ralph, I can definitely work around this issue on arch linux. And even on Windows if I fiddle with the registry. It just seems like perkeep should be changed.
My sense is that the operating systems view these mime type/extension registries as being useful for a desktop situation (to figure out what program to launch when you double click a file). Which doesn't quite fit perkeep's use case. - Gina On Thu, Mar 28, 2019, 5:52 AM Ralph Corderoy <[email protected]> wrote: > Hi Gina, > > > On arch linux the problem seems to be that our code (via the golang > > stdlib) expects to read a mime.types file and that is not installed by > > default on arch linux. Their perspective is that this file is used by > > 'Heirloom UNIX programs', a phrase I am enjoying. > > Arch Linux user here. I think you want the mailcap package. > > $ pkgfile -v mime.types > extra/apache 2.4.38-1 /etc/httpd/conf/mime.types > extra/cups 2.2.11-1 /usr/share/cups/mime/mime.types > → extra/mailcap 2.1.48+14+g5811758-1 /etc/mime.types > extra/mailcap 2.1.48+14+g5811758-1 /etc/nginx/mime.types > extra/python 3.7.2-3 > /usr/lib/python3.7/test/mime.types > extra/xine-lib 1.2.9-8 > /usr/lib/xine/plugins/2.7/mime.types > community/calibre 3.40.1-1 /usr/share/calibre/mime.types > community/certbot-nginx 0.32.0-1 > /usr/lib/python3.7/site-packages/certbot_nginx/tests/testdata/etc_nginx/mime.types > community/certbot-nginx 0.32.0-1 > /usr/lib/python3.7/site-packages/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/mime.types > community/erlang 21.3-1 > /usr/lib/erlang/lib/inets-7.0.6/examples/server_root/conf/mime.types > community/erlang-nox 21.3-1 > /usr/lib/erlang/lib/inets-7.0.6/examples/server_root/conf/mime.types > community/go 2:1.12.1-1 > /usr/lib/go/misc/nacl/testdata/mime.types > community/go-pie 2:1.12.1-1 > /usr/lib/go/misc/nacl/testdata/mime.types > community/mediawiki 1.32.0-1 > /usr/share/webapps/mediawiki/includes/libs/mime/mime.types > community/neomutt 20180716-7 > /usr/share/doc/neomutt/mime.types > community/passenger 6.0.2-1 > /usr/lib/passenger/resources/mime.types > community/pypy3 7.1.0-1 > /opt/pypy3/lib-python/3/test/mime.types > community/racket 7.2-1 > /usr/share/racket/pkgs/web-server-lib/web-server/default-web-root/mime.types > community/ranger 1.9.2-1 > /usr/lib/python3.7/site-packages/ranger/data/mime.types > community/scrapy 1.6.0-1 > /usr/lib/python3.7/site-packages/scrapy/mime.types > community/yaws 2.0.6-1 > /usr/lib/yaws-2.0.6/priv/mime.types > $ > > On Ubuntu it's package mime-support. Most Linux distributions have it > easily available. By using the system's, you pick up local changes. > > -- > Cheers, Ralph. > > -- > You received this message because you are subscribed to the Google Groups > "Perkeep" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Perkeep" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
