Klipper default actions: URLs and Files
Dotan Cohen
dotancohen at gmail.com
Tue Aug 27 10:33:53 BST 2013
On Tue, Aug 27, 2013 at 10:05 AM, Duncan <1i5t5.duncan at cox.net> wrote:
> Dotan Cohen posted on Sun, 25 Aug 2013 14:49:42 +0300 as excerpted:
>
>> I started using the Klipper actions to tell me the human-readable
>> date/time when highlighting Unix timestamps. This feature is great,
>> but I cannot figure out how to disable to automatic actions which pop up
>> a menu any time one highlights a URL or a File path.
>
> I don't have an answer to your question (I tend to leave everything
> enabled and when I get undesired popups I just hit escape if they're
> focused, or click cancel, the popup not staying focused is the biggest
> frustration, but I've preferred the hassle to losing the functionality,
> so far), but...
>
> What's your "recipe" for that? Getting human-readable times out of Unix
> timestamps sounds like interesting/useful functionality indeed! =:^)
>
Here you go:
Klipper -> Configure Klipper...
Actions -> Add Action
Regular Expression: ^[0-9]{9,10}$
Automatic: Yes
Description: Popup timestamp
Add Command:
Command: notify-send "`date +"%Y-%m-%d %H:%I:%S" -d @%s`"
Output Handling: Ignore
Description: Popup timestamp
Enjoy Duncan!
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list