1
by RJL situp
Initial version (from nemo_actions internal project) for Launchpad use |
1 |
[Nemo Action]
|
2 |
||
3 |
#############################################
|
|
4 |
#### DEBUGGING:
|
|
5 |
####
|
|
6 |
#### Run Nemo with the environment
|
|
7 |
#### variable NEMO_ACTION_VERBOSE
|
|
8 |
#### set to get useful log output
|
|
9 |
#### for debugging your actions
|
|
10 |
####
|
|
11 |
#### i.e. $ nemo --quit
|
|
12 |
#### $ NEMO_ACTION_VERBOSE=1 nemo
|
|
13 |
#############################################
|
|
14 |
||
15 |
# Whether this action is active. For troubleshooting.
|
|
16 |
# Optional - if this field is omitted, the action will be active
|
|
17 |
Active=true |
|
18 |
||
19 |
# Standard tokens that can be used in the Name, Comment (tooltip) and Exec fields:
|
|
20 |
#
|
|
21 |
# %U - insert URI list of selection
|
|
22 |
# %F - insert path list of selection
|
|
23 |
# %P - insert path of parent (current) directory
|
|
24 |
# %f or %N (deprecated) - insert display name of first selected file
|
|
25 |
# %p - insert display name of parent directory
|
|
26 |
# %D - insert device path of file (i.e. /dev/sdb1)
|
|
27 |
||
28 |
||
29 |
# The name to show in the menu, locale supported with standard desktop spec.
|
|
30 |
# **** REQUIRED ****
|
|
31 |
Name=bzr UPDATE here with distant changes |
|
32 |
||
33 |
# Tool tip, locale supported (Appears in the status bar)
|
|
34 |
Comment=Update (fetch new files) for this project (%P) |
|
35 |
||
36 |
# What to run. Enclose in < > to run an executable that resides in the actions folder.
|
|
37 |
# **** REQUIRED ****
|
|
38 |
#Exec=gedit %F
|
|
39 |
#Exec=<myaction.py -r -g %P %F %U>
|
|
40 |
#Exec=bzr explorer %F
|
|
41 |
Exec=<runupdate.sh %P> |
|
42 |
||
43 |
# Icon name to use in the menu - must be a theme icon name
|
|
44 |
Icon-Name=folder |
|
45 |
||
46 |
# Gtk Stock ID to use for the icon. Note if both Icon-name and Stock-Id are
|
|
47 |
# defined, the Stock-Id takes precedence.
|
|
48 |
#Stock-Id=gtk-cdrom
|
|
49 |
||
50 |
# What type selection: [s]ingle, [m]ultiple, any, notnone, none (background click), or
|
|
51 |
# a number representing how many files must be selected to display.
|
|
52 |
# ****** REQUIRED *******
|
|
53 |
Selection=none |
|
54 |
||
55 |
# What extensions to display on - this is an array, end with a semicolon
|
|
56 |
# Single entry options, ending in a semicolon:
|
|
57 |
# "dir" for directory selection
|
|
58 |
# "none" for no extension.
|
|
59 |
# "nodirs" for any selection, but not including directories.
|
|
60 |
# "any" for any file type, including directories.
|
|
61 |
# Individual specific extensions can be a semicolon-terminated list
|
|
62 |
# Extensions are NOT case sensitive. jpg will match JPG, jPg, jpg, etc..
|
|
63 |
# **** EITHER EXTENSIONS OR MIMETYPES IS REQUIRED *****
|
|
64 |
#Extensions=any;
|
|
65 |
Extensions=dir |
|
66 |
||
67 |
# What mime-types to display on - this is an array, end with a semicolon
|
|
68 |
# **** EITHER EXTENSIONS OR MIMETYPES IS REQUIRED *****
|
|
69 |
#Mimetypes=text/plain;
|
|
70 |
||
71 |
# Separator to use (if any) - add a string to insert between path/url entries
|
|
72 |
# in the exec line. Optional - if you leave this out, a space is inserted.
|
|
73 |
# Note you can have trailing spaces here.
|
|
74 |
#Separator=,
|
|
75 |
||
76 |
# Quote type to use (if any) - enclose paths/urls with quotes. Optional - defaults
|
|
77 |
# to no quotes.
|
|
78 |
# Can be: single, double, backtick
|
|
79 |
#Quote=double
|
|
80 |
||
81 |
# Dependencies - program executables required for this action to work. Nemo will
|
|
82 |
# Search in the path for these program(s) and not display the action if any are missing.
|
|
83 |
# You can also supply an absolute path to a file (i.e. /usr/lib/gvfs/gvfsd-archive) to check
|
|
84 |
# instead of or in addition to an executable in the path.
|
|
85 |
# This is an array, separate entries with semi-colon, and terminate with a semicolon.
|
|
86 |
#Dependencies=gedit;
|
|
87 |
||
88 |
# Conditions - semicolon-separated array of special conditions:
|
|
89 |
# "desktop" current (parent) folder is desktop
|
|
90 |
# "removable" target (first selection) is removable
|
|
91 |
# "gsettings <schema> <boolean key>" is true
|
|
92 |
# "gsettings <schema> <key> <key-type> <[eq|ne|gt|lt]> <value>"
|
|
93 |
# "dbus <name>" exists
|
|
94 |
||
95 |
#Conditions=desktop;
|
|
96 |
#Conditions=exec /usr/bin/xmessage %F
|
|
97 |
||
98 |
# Escape Spaces - set to true to escape spaces in filenames and uris ($U, $F, $P, $D)
|
|
99 |
#
|
|
100 |
# Sometimes this may be preferred to getting raw filenames that must be enclosed in
|
|
101 |
# quotes.
|
|
102 |
#
|
|
103 |
# Optional - by default this is false
|
|
104 |
||
105 |
EscapeSpaces=true |
|
106 |
||
107 |
# Run in terminal - set to true to execute the Exec line in a spawned terminal window.
|
|
108 |
#
|
|
109 |
# Generally if you use this you should not have Quotes defined, as that will be taken care
|
|
110 |
# of during converting the expanded command string into an arg vector.
|
|
111 |
#
|
|
112 |
# Optional - by default this is false
|
|
113 |
||
114 |
#Terminal=false
|