Mercurial > hg > forks > geeqie
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 |
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 | 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 | 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 | 15 # system reading the desktop entry should recognize that the program in |
16 # question cannot handle multiple file arguments, and it should should | |
17 # probably spawn and execute multiple copies of a program for each | |
18 # selected file if the program is not able to handle additional file | |
19 # arguments. If files are not on the local file system (i.e. are on HTTP | |
20 # or FTP locations), the files will be copied to the local file system | |
21 # and %f will be expanded to point at the temporary file. Used for | |
22 # programs that do not understand the URL syntax. | |
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 | 25 # at once. Each file is passed as a separate argument to the executable |
26 # program. | |
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 | 29 # as file path. |
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 | 32 # the executable program. Local files may either be passed as file: URLs |
33 # or as file path. | |
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 | 38 # Use the following to only show this menu entry if the command is installed |
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 | 51 |
52 # Valid sections are: | |
53 # FileMenu | |
54 # FileMenu/OpenSection | |
55 # FileMenu/SearchSection | |
56 # FileMenu/PrintSection | |
57 # FileMenu/FileOpsSection | |
58 # FileMenu/QuitSection | |
59 # GoMenu | |
60 # SelectMenu | |
61 # SelectMenu/SelectSection | |
62 # SelectMenu/ClipboardSection | |
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 | 71 # ViewMenu |
72 # ViewMenu/WindowSection | |
73 # ViewMenu/FileDirMenu | |
74 # ViewMenu/FileDirMenu/FolderSection | |
75 # ViewMenu/FileDirMenu/ListSection | |
76 # ViewMenu/DirSection | |
77 # ViewMenu/ZoomMenu | |
78 # ViewMenu/ZoomMenu/ConnectZoomMenu | |
79 # ViewMenu/SplitMenu | |
2624
af19f970be03
Update template.desktop documentation
Colin Clark <colin.clark@cclark.uk>
parents:
2316
diff
changeset
|
80 # ViewMenu/StereoMenu |
2316 | 81 # ViewMenu/ColorMenu |
82 # ViewMenu/OverlayMenu | |
83 # ViewMenu/ViewSection | |
84 # ViewMenu/ToolsSection | |
85 # ViewMenu/SlideShowSection | |
86 # HelpMenu | |
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 | 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 | 94 #X-Geeqie-Verbose=true |