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