Skip to content

Commit 30e2913

Browse files
committed
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.
1 parent 026823d commit 30e2913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

official/selection_to_pdf.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dt.preferences.register
3434
("selection_to_pdf","Open with","string",
3535
"a pdf viewer",
3636
"Can be an absolute pathname or the tool may be in the PATH",
37-
"evince")
37+
"xdg-open")
3838

3939
local title_widget = dt.new_widget("entry") {
4040
placeholder="Title"

0 commit comments

Comments
 (0)