From: Klaus Ethgen Date: Thu, 5 May 2016 10:19:53 +0000 (+0100) Subject: Improving desktop template X-Git-Tag: v1.3~32 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=050ec33a8731008a652075d44edc17b281b2ec45 Improving desktop template --- diff --git a/plugins/template.desktop b/plugins/template.desktop index 4309d0bb..c857576b 100644 --- a/plugins/template.desktop +++ b/plugins/template.desktop @@ -1,48 +1,86 @@ [Desktop Entry] Version=1.0 Type=Application -# + # The name which appears in the menu: Name=Template #Name[cs]= #Name[fr]= -#Name[de]= +#Name[de]=Vorlage # Replace "command" with the actual command or script: Exec=command %f # %f A single file name, even if multiple files are selected. The -# system reading the desktop entry should recognize that the program in -# question cannot handle multiple file arguments, and it should should -# probably spawn and execute multiple copies of a program for each -# selected file if the program is not able to handle additional file -# arguments. If files are not on the local file system (i.e. are on HTTP -# or FTP locations), the files will be copied to the local file system and -# %f will be expanded to point at the temporary file. Used for programs -# that do not understand the URL syntax. -# +# system reading the desktop entry should recognize that the program in +# question cannot handle multiple file arguments, and it should should +# probably spawn and execute multiple copies of a program for each +# selected file if the program is not able to handle additional file +# arguments. If files are not on the local file system (i.e. are on HTTP +# or FTP locations), the files will be copied to the local file system +# and %f will be expanded to point at the temporary file. Used for +# programs that do not understand the URL syntax. +# # %F A list of files. Use for apps that can open several local files -# at once. Each file is passed as a separate argument to the executable -# program. -# +# at once. Each file is passed as a separate argument to the executable +# program. +# # %u A single URL. Local files may either be passed as file: URLs or -# as file path. -# -# %U A list of URLs. Each URL is passed as a separate argument to -# the executable program. Local files may either be passed as file: URLs -# or as file path. +# as file path. # +# %U A list of URLs. Each URL is passed as a separate argument to +# the executable program. Local files may either be passed as file: URLs +# or as file path. + +# Use the following to only show this menu entry if the command is installed +#TryExec=command # Desktop files that are usable only in Geeqie should be marked like this: Categories=X-Geeqie; OnlyShowIn=X-Geeqie; # Show in menu "File" -# X-Geeqie-Menu-Path=FileMenu/FileOpsSection +#X-Geeqie-Menu-Path=FileMenu/FileOpsSection + +# Valid sections are: +# FileMenu +# FileMenu/OpenSection +# FileMenu/SearchSection +# FileMenu/PrintSection +# FileMenu/FileOpsSection +# FileMenu/QuitSection +# GoMenu +# SelectMenu +# SelectMenu/SelectSection +# SelectMenu/ClipboardSection +# SelectMenu/MarksSection +# SelectMenu/EditMenu +# SelectMenu/ExternalMenu +# SelectMenu/EditSection +# SelectMenu/OrientationMenu +# SelectMenu/PropertiesSection +# SelectMenu/PreferencesMenu +# SelectMenu/PreferencesSection +# ViewMenu +# ViewMenu/WindowSection +# ViewMenu/FileDirMenu +# ViewMenu/FileDirMenu/FolderSection +# ViewMenu/FileDirMenu/ListSection +# ViewMenu/DirSection +# ViewMenu/ZoomMenu +# ViewMenu/ZoomMenu/ConnectZoomMenu +# ViewMenu/SplitMenu +# ViewMenu/ColorMenu +# ViewMenu/OverlayMenu +# ViewMenu/ViewSection +# ViewMenu/ToolsSection +# ViewMenu/SlideShowSection +# HelpMenu +# HelpMenu/HelpSection # This is a filter - see symlink.desktop and geeqie-symlink for an example # how to use this feature -# X-Geeqie-Filter=true +#X-Geeqie-Filter=true # It can be made verbose -# X-Geeqie-Verbose=true +#X-Geeqie-Verbose=true