Mercurial > geeqie
annotate plugins/template.desktop @ 1811:f405ec9b696b default tip
Some small logic mistakes
Use boolean operators for booleans and bitwise otherwise only.
| author | mow |
|---|---|
| date | Mon, 10 May 2010 11:33:13 +0000 |
| parents | a22c42d36e2e |
| children |
| 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]= |
| 1768 | 9 #Name[de]= |
|
1502
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
10 |
| 1747 | 11 # Replace "command" with the actual command or script: |
| 12 Exec=command %f | |
| 13 | |
|
1502
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
14 # %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
|
15 # 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
|
16 # 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
|
17 # 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
|
18 # 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
|
19 # 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
|
20 # 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
|
21 # %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
|
22 # 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
|
23 # |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
24 # %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
|
25 # 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
|
26 # program. |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
27 # |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
28 # %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
|
29 # as file path. |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
30 # |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
31 # %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
|
32 # 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
|
33 # or as file path. |
|
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 |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
36 # 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
|
37 Categories=X-Geeqie; |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
38 OnlyShowIn=X-Geeqie; |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
39 |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
40 # Show in menu "File" |
| 1747 | 41 # 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
|
42 |
| 1747 | 43 # This is a filter - see symlink.desktop and geeqie-symlink for an example |
| 44 # how to use this feature | |
| 45 # X-Geeqie-Filter=true | |
|
1502
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
46 |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
47 # It can be made verbose |
|
08f97835e816
Add and install a template to be used as new editor. Need more work.
zas_
parents:
diff
changeset
|
48 # X-Geeqie-Verbose=true |
