Mercurial > geeqie
annotate plugins/template.desktop @ 1747:43c75f23dff2
simplified template
author | nadvornik |
---|---|
date | Sat, 12 Sep 2009 16:03:09 +0000 |
parents | 08f97835e816 |
children | a22c42d36e2e |
rev | line source |
---|---|
1502
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
1 [Desktop Entry] |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
2 Version=1.0 |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
3 Type=Application |
1747 | 4 # |
5 # The name which appears in the menu: | |
1502
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
6 Name=Template |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
7 #Name[cs]= |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
8 #Name[fr]= |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
9 |
1747 | 10 # Replace "command" with the actual command or script: |
11 Exec=command %f | |
12 | |
1502
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
13 # %f A single file name, even if multiple files are selected. The |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
14 # system reading the desktop entry should recognize that the program in |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
15 # question cannot handle multiple file arguments, and it should should |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
16 # probably spawn and execute multiple copies of a program for each |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
17 # selected file if the program is not able to handle additional file |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
18 # arguments. If files are not on the local file system (i.e. are on HTTP |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
19 # or FTP locations), the files will be copied to the local file system and |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
20 # %f will be expanded to point at the temporary file. Used for programs |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
21 # that do not understand the URL syntax. |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
22 # |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
23 # %F A list of files. Use for apps that can open several local files |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
24 # at once. Each file is passed as a separate argument to the executable |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
25 # program. |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
26 # |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
27 # %u A single URL. Local files may either be passed as file: URLs or |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
28 # as file path. |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
29 # |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
30 # %U A list of URLs. Each URL is passed as a separate argument to |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
31 # the executable program. Local files may either be passed as file: URLs |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
32 # or as file path. |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
33 # |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
34 |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
35 # Desktop files that are usable only in Geeqie should be marked like this: |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
36 Categories=X-Geeqie; |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
37 OnlyShowIn=X-Geeqie; |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
38 |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
39 # Show in menu "File" |
1747 | 40 # X-Geeqie-Menu-Path=FileMenu/FileOpsSection |
1502
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
41 |
1747 | 42 # This is a filter - see symlink.desktop and geeqie-symlink for an example |
43 # how to use this feature | |
44 # X-Geeqie-Filter=true | |
1502
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
45 |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
46 # It can be made verbose |
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
47 # X-Geeqie-Verbose=true |