annotate plugins/template.desktop @ 2916:ae6cdcd69d9f default tip

Merge with upstream/master.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 14 May 2019 11:46:50 +0300
parents 6863ac66a10b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1502
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
1 [Desktop Entry]
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
2 Version=1.0
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
3 Type=Application
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
4
1747
264ba7e059d7 simplified template
Vladimir Nadvornik <nadvornik@suse.cz>
parents: 1502
diff changeset
5 # The name which appears in the menu:
1502
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
6 Name=Template
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
7 #Name[cs]=
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
8 #Name[fr]=
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
9 #Name[de]=Vorlage
1502
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
10
1747
264ba7e059d7 simplified template
Vladimir Nadvornik <nadvornik@suse.cz>
parents: 1502
diff changeset
11 # Replace "command" with the actual command or script:
264ba7e059d7 simplified template
Vladimir Nadvornik <nadvornik@suse.cz>
parents: 1502
diff changeset
12 Exec=command %f
264ba7e059d7 simplified template
Vladimir Nadvornik <nadvornik@suse.cz>
parents: 1502
diff changeset
13
1502
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
14 # %f A single file name, even if multiple files are selected. The
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
15 # system reading the desktop entry should recognize that the program in
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
16 # question cannot handle multiple file arguments, and it should should
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
17 # probably spawn and execute multiple copies of a program for each
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
18 # selected file if the program is not able to handle additional file
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
19 # arguments. If files are not on the local file system (i.e. are on HTTP
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
20 # or FTP locations), the files will be copied to the local file system
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
21 # and %f will be expanded to point at the temporary file. Used for
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
22 # programs that do not understand the URL syntax.
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
23 #
1502
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
24 # %F A list of files. Use for apps that can open several local files
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
25 # at once. Each file is passed as a separate argument to the executable
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
26 # program.
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
27 #
1502
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
28 # %u A single URL. Local files may either be passed as file: URLs or
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
29 # as file path.
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
30 #
1502
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
31 # %U A list of URLs. Each URL is passed as a separate argument to
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
32 # the executable program. Local files may either be passed as file: URLs
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
33 # or as file path.
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
34
2626
9d3bbd00cf4d Set template.desktop to have a default icon
Colin Clark <colin.clark@cclark.uk>
parents: 2624
diff changeset
35 # Change the following line to point to an icon of your choosing
9d3bbd00cf4d Set template.desktop to have a default icon
Colin Clark <colin.clark@cclark.uk>
parents: 2624
diff changeset
36 Icon=gtk-file
9d3bbd00cf4d Set template.desktop to have a default icon
Colin Clark <colin.clark@cclark.uk>
parents: 2624
diff changeset
37
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
38 # Use the following to only show this menu entry if the command is installed
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
39 #TryExec=command
1502
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
40
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
41 # Desktop files that are usable only in Geeqie should be marked like this:
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
42 Categories=X-Geeqie;
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
43 OnlyShowIn=X-Geeqie;
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
44
2624
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
45 # Uncomment the following line to include in a Geeqie menu,
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
46 # other than in the default path of EditMenu/ExternalMenu
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
47 #X-Geeqie-Menu-Path=<FileMenuPath>
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
48
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
49 # e.g.
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
50 #X-Geeqie-Menu-Path=SelectMenu/SelectSection
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
51
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
52 # Valid sections are:
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
53 # FileMenu
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
54 # FileMenu/OpenSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
55 # FileMenu/SearchSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
56 # FileMenu/PrintSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
57 # FileMenu/FileOpsSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
58 # FileMenu/QuitSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
59 # GoMenu
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
60 # SelectMenu
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
61 # SelectMenu/SelectSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
62 # SelectMenu/ClipboardSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
63 # SelectMenu/MarksSection
2624
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
64 # EditMenu
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
65 # EditMenu/EditSection
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
66 # EditMenu/OrientationMenu
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
67 # EditMenu/RatingMenu
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
68 # EditMenu/PropertiesSection
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
69 # EditMenu/PreferencesSection
2627
6863ac66a10b Rename External Editors to Plugins
Colin Clark <colin.clark@cclark.uk>
parents: 2626
diff changeset
70 # PluginsMenu
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
71 # ViewMenu
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
72 # ViewMenu/WindowSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
73 # ViewMenu/FileDirMenu
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
74 # ViewMenu/FileDirMenu/FolderSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
75 # ViewMenu/FileDirMenu/ListSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
76 # ViewMenu/DirSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
77 # ViewMenu/ZoomMenu
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
78 # ViewMenu/ZoomMenu/ConnectZoomMenu
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
79 # ViewMenu/SplitMenu
2624
af19f970be03 Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents: 2316
diff changeset
80 # ViewMenu/StereoMenu
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
81 # ViewMenu/ColorMenu
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
82 # ViewMenu/OverlayMenu
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
83 # ViewMenu/ViewSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
84 # ViewMenu/ToolsSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
85 # ViewMenu/SlideShowSection
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
86 # HelpMenu
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
87 # HelpMenu/HelpSection
1502
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
88
1747
264ba7e059d7 simplified template
Vladimir Nadvornik <nadvornik@suse.cz>
parents: 1502
diff changeset
89 # This is a filter - see symlink.desktop and geeqie-symlink for an example
264ba7e059d7 simplified template
Vladimir Nadvornik <nadvornik@suse.cz>
parents: 1502
diff changeset
90 # how to use this feature
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
91 #X-Geeqie-Filter=true
1502
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
92
a2262aac108a Add and install a template to be used as new editor. Need more work.
Laurent Monin <geeqie@norz.org>
parents:
diff changeset
93 # It can be made verbose
2316
adfcad2c6751 Improving desktop template
Klaus Ethgen <Klaus@Ethgen.de>
parents: 1768
diff changeset
94 #X-Geeqie-Verbose=true