[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Gnumed-devel post from address@hidden requires approv
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Gnumed-devel post from address@hidden requires approval |
Date: |
Thu, 2 Feb 2012 14:00:52 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Feb 02, 2012 at 07:33:13AM -0500, address@hidden wrote:
> Ah, log shows, that the mimetype-associated applications are not set
> (damn shure its working with xdg-mime query default text/x-tex pointing
> to texworks, gnumed says [none]. vim (text/plain) is found and started,
> but in terminal (maybe that's why it's not showing up)
This is what Python (and therefor GNUmed) looks at:
The information is derived from all of the mailcap files
found on the system. Settings in the user’s mailcap
file $HOME/.mailcap will override settings in the system
mailcap files /etc/mailcap, /usr/etc/mailcap, and
/usr/local/etc/mailcap.
Note that you should configure an "edit" entry for the
relevant mime types, not a "view" entry.
Regarding LaTeX templates I figured since they are text and
nearly any text viewer will be an editor we can make GNUmed
look for a viewer, too, when it doesn't find an editor.
As a last resort I added notepad.exe on Windows, similar to
sensible-editor on POSIX.
Note, also, that setting the mime type at the desktop
environment level (KDE/GNOME and friends) won't suffice
since GNUmed asks the OS, not the desktop.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
- Re: [Gnumed-devel] Gnumed-devel post from address@hidden requires approval,
Karsten Hilbert <=