1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
From: Norbert Preining <norbert@preining.info>
Date: Mon, 9 Oct 2017 21:09:18 +0900
Subject: no --detach in .desktop files (Closes: #877774)
Forwarded: not-needed
Closes: #877774
do not use --detach in the .desktop files, otherwise
mimetype handling of temporary files is broken as
the tmp files disappear too quickly. See #877774
---
src/calibre/linux.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/calibre/linux.py b/src/calibre/linux.py
index c201c13..34c09c7 100644
--- a/src/calibre/linux.py
+++ b/src/calibre/linux.py
@@ -1108,7 +1108,7 @@ Name=E-book viewer
GenericName=Viewer for E-books
Comment=Viewer for E-books in all the major formats
TryExec=ebook-viewer
-Exec=ebook-viewer --detach %f
+Exec=ebook-viewer %f
Icon=calibre-viewer
Categories=Office;Viewer;
'''
@@ -1121,7 +1121,7 @@ Name=E-book editor
GenericName=Editor for E-books
Comment=Edit E-books in various formats
TryExec=ebook-edit
-Exec=ebook-edit --detach %f
+Exec=ebook-edit %f
Icon=calibre-ebook-edit
Categories=Office;WordProcessor
'''
@@ -1134,7 +1134,7 @@ Name=calibre
GenericName=E-book library management
Comment=E-book library management: Convert, view, share, catalogue all your e-books
TryExec=calibre
-Exec=calibre --detach %U
+Exec=calibre %U
Icon=calibre-gui
Categories=Office;
X-GNOME-UsesNotifications=true
|