diff --git a/src/calibre/linux.py b/src/calibre/linux.py index d22cbf7cbd..f8beafc94d 100644 --- a/src/calibre/linux.py +++ b/src/calibre/linux.py @@ -6,7 +6,7 @@ __copyright__ = '2008, Kovid Goyal ' import sys, os, shutil, cPickle, textwrap, stat from subprocess import check_call -from calibre import __version__, __appname__, prints +from calibre import __appname__, prints entry_points = { @@ -491,36 +491,36 @@ complete -o filenames -F _'''%(opts,exts) + name + ' ' + name +"\n\n" VIEWER = '''\ [Desktop Entry] -Version=%s +Version=1.0 Type=Application Name=LRF Viewer GenericName=Viewer for LRF files Comment=Viewer for LRF files (SONY ebook format files) TryExec=lrfviewer -Exec=lrfviewer %%F +Exec=lrfviewer %F Icon=calibre-viewer MimeType=application/x-sony-bbeb; Categories=Graphics;Viewer; -'''%(__version__,) +''' EVIEWER = '''\ [Desktop Entry] -Version=%s +Version=1.0 Type=Application Name=E-book Viewer GenericName=Viewer for E-books Comment=Viewer for E-books TryExec=ebook-viewer -Exec=ebook-viewer %%F +Exec=ebook-viewer %F Icon=calibre-viewer MimeType=application/epub+zip; Categories=Graphics;Viewer; -'''%(__version__,) +''' GUI = '''\ [Desktop Entry] -Version=%s +Version=1.0 Type=Application Name=calibre GenericName=E-book library management @@ -529,7 +529,7 @@ TryExec=calibre Exec=calibre Icon=calibre-gui Categories=Office; -'''%(__version__,) +''' MIME = '''\