Define system specific default configuration directory to allow sharing most of the default configuration files contents
This commit is contained in:
+4
-171
@@ -1,21 +1,5 @@
|
||||
## ##########################################
|
||||
# External viewers, launched by the recoll GUI when you click on a result
|
||||
# 'edit' link
|
||||
#
|
||||
# MS WINDOWS VERSION
|
||||
#
|
||||
# Mime types which we should not uncompress if they are found gzipped or
|
||||
# bzipped because the native viewer knows how to handle. These would be
|
||||
# exceptions and the list is normally empty
|
||||
#nouncompforviewmts =
|
||||
# MS WINDOWS system changes for mimeview
|
||||
|
||||
# For releases 1.18 and later: exceptions when using the x-all entry: these
|
||||
# types will use their local definition. This is useful, e.g.:
|
||||
#
|
||||
# - for pdf, where we can pass additional parameters like page to open and
|
||||
# search string
|
||||
# - For pages of CHM and EPUB documents where we can choose to open the
|
||||
# parent document instead of a temporary html file.
|
||||
xallexcepts = \
|
||||
text/html|epub \
|
||||
application/x-fsdirectory|parentopen inode/directory|parentopen
|
||||
@@ -44,157 +28,6 @@ application/pdf = C:/users/bill/appdata/local/apps/evince-2.32.0.145/bin/evince
|
||||
#application/pdf = "C:/Program Files/SumatraPDF/SumatraPDF.exe" -page %p %f
|
||||
#application/pdf = "C:/Program Files (x86)/Foxit Software/Foxit Reader/FoxitReader.exe" %f /A page=%p
|
||||
|
||||
###### THE FOLLOWING ARE NOT USED AT ALL ON WINDOWS, but the types need to
|
||||
###### be listed for an "Open" link to appear in the result list
|
||||
application/epub+zip = ebook-viewer %f
|
||||
|
||||
application/x-gnote = gnote %f
|
||||
|
||||
application/x-mobipocket-ebook = ebook-viewer %f
|
||||
|
||||
application/x-kword = kword %f
|
||||
application/x-abiword = abiword %f
|
||||
|
||||
|
||||
application/postscript = evince --page-index=%p --find=%s %f
|
||||
application/x-dvi = evince --page-index=%p --find=%s %f
|
||||
|
||||
application/x-lyx = lyx %f
|
||||
application/x-scribus = scribus %f
|
||||
|
||||
#application/msword = libreoffice %f
|
||||
application/msword = \
|
||||
"C:/Program Files (x86)/LibreOffice 5/program/soffice.exe" %f
|
||||
|
||||
application/x-hwp = hanword %f
|
||||
|
||||
application/vnd.ms-excel = libreoffice %f
|
||||
application/vnd.ms-powerpoint = libreoffice %f
|
||||
|
||||
application/vnd.oasis.opendocument.text = libreoffice %f
|
||||
application/vnd.oasis.opendocument.presentation = libreoffice %f
|
||||
application/vnd.oasis.opendocument.spreadsheet = libreoffice %f
|
||||
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document = \
|
||||
libreoffice %f
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.template = \
|
||||
libreoffice %f
|
||||
application/vnd.openxmlformats-officedocument.presentationml.template = \
|
||||
libreoffice %f
|
||||
application/vnd.openxmlformats-officedocument.presentationml.presentation = \
|
||||
libreoffice %f
|
||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = \
|
||||
libreoffice %f
|
||||
application/vnd.openxmlformats-officedocument.spreadsheetml.template =\
|
||||
libreoffice %f
|
||||
application/vnd.sun.xml.calc = libreoffice %f
|
||||
application/vnd.sun.xml.calc.template = libreoffice %f
|
||||
application/vnd.sun.xml.draw = libreoffice %f
|
||||
application/vnd.sun.xml.draw.template = libreoffice %f
|
||||
application/vnd.sun.xml.impress = libreoffice %f
|
||||
application/vnd.sun.xml.impress.template = libreoffice %f
|
||||
application/vnd.sun.xml.math = libreoffice %f
|
||||
application/vnd.sun.xml.writer = libreoffice %f
|
||||
application/vnd.sun.xml.writer.global = libreoffice %f
|
||||
application/vnd.sun.xml.writer.template = libreoffice %f
|
||||
application/vnd.wordperfect = libreoffice %f
|
||||
text/rtf = libreoffice %f
|
||||
|
||||
application/x-dia-diagram = dia %f
|
||||
|
||||
application/x-fsdirectory = dolphin %f
|
||||
inode/directory = dolphin %f
|
||||
|
||||
application/x-gnuinfo = xterm -e "info -f %f"
|
||||
application/x-gnumeric = gnumeric %f
|
||||
|
||||
application/x-flac = rhythmbox %f
|
||||
audio/mpeg = rhythmbox %f
|
||||
application/ogg = rhythmbox %f
|
||||
audio/x-karaoke = kmid %f
|
||||
|
||||
image/jpeg = gwenview %f
|
||||
image/png = gwenview %f
|
||||
image/tiff = gwenview %f
|
||||
image/gif = gwenview %f
|
||||
image/svg+xml = inkview %f
|
||||
image/vnd.djvu = djview %f
|
||||
image/x-xcf = gimp %f
|
||||
image/bmp = gwenview %f
|
||||
image/x-ms-bmp = gwenview %f
|
||||
image/x-xpmi = gwenview %f
|
||||
|
||||
# Opening mail messages not always works.
|
||||
# - Thunderbird will only open a single-message file if it has an .emf
|
||||
# extension
|
||||
# - "sylpheed %f" seems to work ok as of version 3.3
|
||||
# - "kmail --view %u" works
|
||||
message/rfc822 = thunderbird -file %f
|
||||
text/x-mail = thunderbird -file %f
|
||||
application/x-mimehtml = thunderbird -file %f
|
||||
|
||||
text/calendar = evolution %f
|
||||
|
||||
application/x-okular-notes = okular %f
|
||||
|
||||
application/x-rar = ark %f
|
||||
application/x-tar = ark %f
|
||||
application/zip = ark %f
|
||||
application/x-7z-compressed = ark %f
|
||||
|
||||
application/x-awk = emacsclient --no-wait %f
|
||||
application/x-perl = emacsclient --no-wait %f
|
||||
text/x-perl = emacsclient --no-wait %f
|
||||
application/x-shellscript = emacsclient --no-wait %f
|
||||
text/x-shellscript = emacsclient --no-wait %f
|
||||
text/x-srt = emacsclient --no-wait %f
|
||||
|
||||
# Or firefox -remote "openFile(%u)"
|
||||
text/html = firefox %u
|
||||
|
||||
# gnu info nodes are translated to html with a "gnuinfo"
|
||||
# rclaptg. rclshowinfo knows how to start the info command on the right
|
||||
# node
|
||||
text/html|gnuinfo = rclshowinfo %F %(title);ignoreipath=1
|
||||
|
||||
application/x-webarchive = konqueror %f
|
||||
text/x-fictionbook = ebook-viewer %f
|
||||
application/x-tex = emacsclient --no-wait %f
|
||||
application/xml = emacsclient --no-wait %f
|
||||
text/xml = emacsclient --no-wait %f
|
||||
text/x-tex = emacsclient --no-wait %f
|
||||
text/plain = emacsclient --no-wait %f
|
||||
text/x-awk = emacsclient --no-wait %f
|
||||
text/x-c = emacsclient --no-wait %f
|
||||
text/x-c+ = emacsclient --no-wait %f
|
||||
text/x-c++ = emacsclient --no-wait %f
|
||||
text/x-csv = libreoffice %f
|
||||
text/x-html-sidux-man = konqueror %f
|
||||
text/x-html-aptosid-man = iceweasel %f
|
||||
|
||||
application/x-chm = kchmviewer %f
|
||||
# Html pages inside a chm have a chm rclaptg set by the filter. Kchmviewer
|
||||
# knows how to use the ipath (which is the internal chm path) to open the
|
||||
# file at the right place
|
||||
text/html|chm = kchmviewer --url %i %F
|
||||
|
||||
text/x-ini = emacsclient --no-wait %f
|
||||
text/x-man = xterm -u8 -e "groff -T ascii -man %f | more"
|
||||
text/x-python = idle %f
|
||||
text/x-gaim-log = emacsclient --no-wait %f
|
||||
text/x-purple-html-log = emacsclient --no-wait %f
|
||||
text/x-purple-log = emacsclient --no-wait %f
|
||||
|
||||
# The video types will usually be handled by the desktop default, but they
|
||||
# need entries here to get an "Open" link
|
||||
video/3gpp = vlc %f
|
||||
video/mp2p = vlc %f
|
||||
video/mp2t = vlc %f
|
||||
video/mp4 = vlc %f
|
||||
video/mpeg = vlc %f
|
||||
video/quicktime = vlc %f
|
||||
video/x-matroska = vlc %f
|
||||
video/x-ms-asf = vlc %f
|
||||
video/x-msvideo = vlc %f
|
||||
|
||||
|
||||
##########
|
||||
# Other MIME types have no specializations on Windows, but the types need to be listed for an "Open"
|
||||
# link to appear in the result list, the listing is in the generic file
|
||||
|
||||
Reference in New Issue
Block a user