1
<?xml version="1.0" encoding="UTF-8"?>
3
<!ELEMENT actions (action+)>
4
<!ELEMENT action (name,regex,commands)>
5
<!ELEMENT commands (command+)>
6
<!ELEMENT command (name,exec)>
8
<!ELEMENT name (#PCDATA)>
9
<!ATTLIST name xml:lang CDATA #IMPLIED>
10
<!ELEMENT regex (#PCDATA)>
11
<!ELEMENT exec (#PCDATA)>
14
Copyright (c) 2009 Mike Massonnet <mmassonnet@xfce.org>
16
Default Clipman actions configuration file, which gets installed system-wide.
17
This should act more like an example, and is therefore kept simple.
22
<regex>(http|ftp).+\.(jpg|png|gif)</regex>
25
<_name>View with Ristretto</_name>
26
<exec>ristretto "\0"</exec>
29
<_name>Edit with Gimp</_name>
30
<exec>gimp "\0"</exec>
36
<regex>bug ?#?([0-9]+)</regex>
39
<_name>Xfce Bug</_name>
40
<exec>exo-open http://bugzilla.xfce.org/show_bug.cgi?id=\1</exec>
43
<_name>GNOME Bug</_name>
44
<exec>exo-open http://bugzilla.gnome.org/show_bug.cgi?id=\1</exec>
49
<_name>Long URL</_name>
50
<regex>http://.{120}[^ ]+</regex>
53
<_name>Shrink the URL</_name>
54
<exec>exo-open http://tinyurl.com/create.php?url=\0</exec>