From 30e29139c711d2da768e6c2277c20cb8d7d5a018 Mon Sep 17 00:00:00 2001 From: supertobi Date: Tue, 25 Aug 2015 10:39:18 +0200 Subject: [PATCH] Update selection_to_pdf.lua xdg-open opens a file in the user's preferred application. You could even remove this preference. This will improve the script for everyone not using evince. --- official/selection_to_pdf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/official/selection_to_pdf.lua b/official/selection_to_pdf.lua index 7983a6c..c1f0abd 100644 --- a/official/selection_to_pdf.lua +++ b/official/selection_to_pdf.lua @@ -34,7 +34,7 @@ dt.preferences.register ("selection_to_pdf","Open with","string", "a pdf viewer", "Can be an absolute pathname or the tool may be in the PATH", - "evince") + "xdg-open") local title_widget = dt.new_widget("entry") { placeholder="Title"