Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
zh-cn:tips [2015/03/10 04:30]
yjwork [通过 xfrun4 打开用户手册页]
zh-cn:tips [2015/03/10 04:50]
yjwork [Do maths with xfrun4/appfinder]
Line 213: Line 213:
 ===== Do maths with xfrun4/​appfinder ===== ===== Do maths with xfrun4/​appfinder =====
   * What you get: input simple mathematical expression, like 5+5 or (5+5)/3 or .5*10, in xfrun4/​appfinder,​ and get the result as notification.   * What you get: input simple mathematical expression, like 5+5 or (5+5)/3 or .5*10, in xfrun4/​appfinder,​ and get the result as notification.
-  * Requirement: notify-send +  * 要求: notify-send 
-  * Save this script as bcme.sh, in your home directory:+  * 在您的家目录,​保存此脚本为 ​bcme.sh :
  
   #!/bin/sh   #!/bin/sh
Line 224: Line 224:
   notify-send -t $notify_time "​$res"​ "​=$@"​   notify-send -t $notify_time "​$res"​ "​=$@"​
  
-  *Add custom action to Application finder ​+  *在应用程序查找器添加自定义动作 ​
-    * Type Regular Expression +    * 类型 ​正则表达式 
-    * Pattern ​: ^([0-9]|\(|\.).* +    * 类型 ​: ^([0-9]|\(|\.).* 
-    * Command ​: /bin/sh ~/bcme.sh \0 +    * 命令 ​: /bin/sh ~/bcme.sh \0 
-    *  (checkSave match in command history+    *  (勾选在命令历史中保存匹配的