找回密码
 立即注册
  • 便民服务
  • 关注我们
  • 社区新手

[经验共享] N9情景智能神器 ProfileMatic

[复制链接]

马上注册,享用更多功能,让你轻松玩转DOSPY论坛-诺亚方舟号

您需要 登录 才可以下载或查看,没有账号?立即注册

x
QUOTE:
1.5.0版本汉化作者:随风卿
原贴标题:准神器:ProfileMatic(智能情景)1.5.0 汉化版 设置网络,情景模式,反正很强大
原贴地址:http://bbs.dospy.com/thread-14090615-1-464-1.html


软件:ProfileMatic
中文:智能情景 (吐槽下,其实我觉得这个软件发展到1.5版后可以叫计划任务更合适点)
版本:1.5.0
作者:Ajalkane
汉化:随风卿
功能:根据你设定的规则,当规则条件符合时,执行你所设定的操作



20120309_743a0a67ccd28d0e002cKV33A3z9O93m.png    20120309_009a9eac466e27e63507Aak48RYm28vr.png


用法例子:
1.晚上十二点后。手机要自动飞行节约用电啦
于是 你可以 打开软件 设定好时间,让程序在时间到了之后自动飞行呢

2.回到家里了,有wifi可用啦,好吧那就自动把GTalk啊 skype啊 啥的都上线吧
于是 你可以 打开软件 设定好检测的热点,让程序连接到热点后自动帮你登陆
GTalk跟skype啥的
。。。

程序还有几个节点没找到,所以没汉化,很抱歉哈
其实这个程序能做得还更多,但是呢,他的触发条件还是比较少的
如果支持更多的触发条件的话
那么程序就是神器啦



部分使用细则 ( dospy_随风卿 提供 )

按条件打开已安装的应用程序
比如: 安装一键关闭wlan扫描开关后,可以用这个来定义个自动开关的功能啦
1、在“/usr/share/applications/”里面找到你要打开程序的desktop文件
2、新建个规则,然后在Action里面找到Custom Action
3、输入框里面输入指令
“xdg-open /usr/share/applications/待打开程序的desktop文件名”


给号码发送短信
1、设置你要的激活条件
2、在Custom Action里面输入以下指令
“qdbus --literal com.nokia.Messaging / com.nokia.MessagingIf.sendSMS 号码 内容 1”


以root权限执行sh脚本
【注:这是以下一些功能的基础】
1、在/home/user 目录下建立个“scripts”目录
命令:“mkdir /home/user/scripts”
2、把“execroot.sh”文件解压复制到scripts目录下,并添加执行权限
命令:“chmod a+rx /home/user/scripts/execroot.sh”
3、搞定了,你可以测试下这句指令,是实现重启功能
“sh /home/user/scripts/execroot.sh /sbin/reboot”


禁用搜索功能,以达到省电目的
1、在“Ddfault rule”规则里添加个“Custom Action”
禁用搜索功能的指令:
“sh /home/user/scripts/execroot.sh "/sbin/initctl stop xsession/smartsearch"”
注:
启用这个搜索功能的指令:
“sh /home/user/scripts/execroot.sh "/sbin/initctl start xsession/smartsearch"”


注:

上述说到的文件在此zip压缩包 execroot.zip (249 Bytes, 下载次数: 0) 里提供,


提供命令文件 命令文本.txt (577 Bytes, 下载次数: 0) ,方便复制粘帖,免去手动打代码的麻烦
命令是指在T端root模式下输入的东西
指令是在ProfileMatic里面的Custom Action里面输入的东西


1.5.0汉化版本: profilematic_1.5.0_zh_armel.deb (192.32 KB, 下载次数: 3)

1.5.0英文原版: profilematic_1.5.0_armel.deb (191.29 KB, 下载次数: 1)

最新2.5.0英文原版: profilematic_2.5.0_armel.deb (668.66 KB, 下载次数: 6)

完整使用细则:http://talk.maemo.org/showthread.php?t=79642

作者发布页:https://openrepos.net/content/ajalkane/profilematic


Current features (2.1):
Time based conditions: start/end time, weekdays
Location based conditions (cell tower id)
WLAN based conditions (connected to specified WLAN)
Idle condition
NFC tag condition
Network connection type condition (WLAN, mobile, any, none)
Charging condition (charging or not charging)
Calendar condition
Battery level condition
Setting of profile and ringing volume.
Setting of availability
Setting of flight mode / power saving mode
Setting of BlueTooth mode
Setting of mobile network mode (Dual/GSM/3G)
Setting stand-by screen enabled/disabled
Setting device volume
Alarm action
Launching applications
Executing custom commands







分享至 : QQ空间
收藏

0 个回复

您需要登录后才可以回帖 登录 | 立即注册