File: freeplane.mime

package info (click to toggle)
freeplane 1.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 35,988 kB
  • sloc: java: 130,441; xml: 2,373; sh: 172; perl: 138; makefile: 30
file content (11 lines) | stat: -rw-r--r-- 930 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
# The problem is: /etc/mime.types used by /etc/mailcap (which this file is compiled to) does not
# support magic information (i.e. an XML prefix that distinguishes Freeplane from FreeMind),
# so we cannot define application/x-freeplane in /etc/mime.types...
# That's why we have to decide globally for one program if both (FreeMind, Freeplane)  are installed.
# But since /etc/mailcap is only used for old-style mime programs (see, edit, compose, print),
# NOT by GNOME/KDE/Xfce/... (freedesktop.org), we don't care too much!
# Freedesktop.org uses "debian/freeplane.sharedmimeinfo" which supports
# magic, and so if both programs are installed, the correct program is used
# for the correct magic (i.e. <map version="freeplane... vs <map>) in GNOME/KDE/Xfce!

application/x-freemind; /usr/bin/freeplane '%s'; test=test -n "$DISPLAY"; description="Freeplane/FreeMind MindMap file"; textualnewlines; nametemplate=%s.mm; priority=7