On the Actions tab, double-click the regular expression or action that you want to edit. An in-place text editing box will appear in which the text can be edited as you wish. Make sure you press Enter when you are done.
Click the button
to add a regular expression for Klipper to match. Klipper uses
Qt™'s QRegExp
, which understands most regular
expressions as you would use in grep or
egrep for instance.
You can add a description of the regular expression type (for example, “HTTP URL”) by clicking in the Description column.
You can find detailed information about the use of
QRegExp
regular expressions at http://doc.trolltech.com/qregexp.html#details.
Note that Klipper does not support the wildcard mode mentioned on this
page.
Edit the regular expression as described above. To add a command to execute, and edit the command which appears in the tree under the regular expression.
click, selectNote that %s in the command line is replaced with
the clipboard contents, for example, if your command definition is
kedit %s
and
your clipboard contents are /home/phil/textfile
,
the command kedit
will be run. To
include %s in the command line, escape it with a
backslash, as so: /home/phil/textfile
\%s
.
Brings up the Disable Actions for windows of type WM_CLASS dialog.
Some programs, such as Konqueror, use the clipboard internally. If you get unwanted Klipper pop-ups all the time when using a certain application, do the following:
Open the application.
From a terminal, run xprop
| grep
and then click on the window of the application you are
running.WM_CLASS
The first string after the equals sign is the one to enter.
Once the WM_CLASS is added, no more actions will be generated for windows of that application.
Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team