use xdg-open as default mime_open_command
authorPaul <paul@claws-mail.org>
Thu, 16 Feb 2017 13:49:00 +0000 (13:49 +0000)
committerPaul <paul@claws-mail.org>
Thu, 16 Feb 2017 13:49:00 +0000 (13:49 +0000)
src/prefs_common.c

index 66b1b38fe88bcbb2e64bf2b254acadac8a4b63cf..2d8f5bd1ac87d1488040a97d953ca025cdae8d1a 100644 (file)
@@ -790,7 +790,7 @@ static PrefParam param[] = {
        /* MIME viewer */
        {"mime_textviewer",   NULL,
         &SPECIFIC_PREFS.mime_textviewer,   P_STRING, NULL, NULL, NULL},
-       {"mime_open_command", "gedit '%s'",
+       {"mime_open_command", "xdg-open '%s'",
         &SPECIFIC_PREFS.mime_open_cmd,     P_STRING, NULL, NULL, NULL},
        {"show_inline_attachments", "TRUE", 
         &prefs_common.show_inline_attachments, P_BOOL, NULL, NULL, NULL},