[RFC][PATH] Replace %F with %U in Exec entry of evince.desktop
- From: Luca Ferretti <elle uca libero it>
- To: evince-list gnome org
- Subject: [RFC][PATH] Replace %F with %U in Exec entry of evince.desktop
- Date: Mon, 04 Jul 2005 14:55:45 +0200
It seems that Evince is able to open files on smb:// locations. At least
I was able to do it on my home system through the "Open" dialog, while
the same action failed double clicking on supported file icons in
Nautilus.
I didn't check .desktop specs on freedesktop.org, but replacing %F with
%U in the value of the Exec key in desktop file, I can now open
supported file[1] directly in Nautilus browsing smb share. %U should
mean "more then one URL passed as option on command line"
Here is a patch to
* replace %F with %U in .desktop file
* Add "TryExec=evince" entry in .desktop file
[1] well, honestly I tried only PDF files...
diff -Naur evince/data/evince.desktop.in.in evince-new/data/evince.desktop.in.in
--- evince/data/evince.desktop.in.in 2005-07-04 14:51:32.000000000 +0200
+++ evince-new/data/evince.desktop.in.in 2005-07-04 14:52:06.000000000 +0200
@@ -3,7 +3,8 @@
_Name=Evince Document Viewer
_GenericName=Document Viewer
_Comment=View multipage documents
-Exec=evince %F
+TryExec=evince
+Exec=evince %U
StartupNotify=true
Terminal=false
Type=Application
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]