]> code.citadel.org Git - citadel.git/blobdiff - citadel/citadel.rc
New option in the text client to open attachments
[citadel.git] / citadel / citadel.rc
index ccfccf640652d977ee066c9161f12e68c39730ae..da648888fbe5b29d1ba0ab6e0435adf022c29d31 100644 (file)
@@ -137,6 +137,18 @@ remember_passwords=0
 # browser you have configured as the system default.
 #urlcmd=open "%s"
 
+# If OPENCMD is defined, users can hit 'O' after reading a message which
+# contains attachments, to open the attachments using that command.  This
+# allows attachments to be opened directly from the Citadel client without
+# having to first save them in a file.  The "allow_attachments" option (see
+# above) must be enabled in order for this to work.
+# 
+# xdg-open works on most newer Linux systems
+opencmd=xdg-open "%s"
+#
+# This probably will work on a Macintosh
+#opencmd=open "%s"
+
 # If GOTMAILCMD is defined, the specified command will be executed.  This
 # might be nice for playing sounds or providing any other type of notification.
 #