![]() |
2013-09-09
, 05:01
|
|
Posts: 1,552 |
Thanked: 3,108 times |
Joined on Jun 2012
@ Russia, 96
|
#1482
|
The Following User Says Thank You to Ancelad For This Useful Post: | ||
![]() |
2013-09-09
, 06:39
|
Posts: 1,313 |
Thanked: 2,978 times |
Joined on Jun 2011
@ Finland
|
#1483
|
![]() |
2013-09-09
, 06:51
|
Posts: 1,313 |
Thanked: 2,978 times |
Joined on Jun 2011
@ Finland
|
#1484
|
ajalkane,
there is very long string in the time interval condition, any way to fix it?
Text { id: header text: root.titleText + " " + root.formatTime(timePicker.hours, timeP wrapMode: Text.Wrap width: parent.width horizontalAlignment: Text.AlignHCenter ...
![]() |
2013-09-09
, 07:38
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#1485
|
I don't see anything wrong with the script. And from ProfileMatic's logs it seems like it's being run.
How have you come to the conclusion it doesn't work? It's good to remember that restarting bme does not always fix the battery level when 4% bug occurs. So if it didn't work once, you should try to reproduce the problem again to make sure. And you can try manually running the action also to make sure.
![]() |
2013-09-09
, 07:51
|
|
Posts: 1,552 |
Thanked: 3,108 times |
Joined on Jun 2012
@ Russia, 96
|
#1486
|
Try and modify this file:
/opt/profilematic/qml/TimeDialog.qml
Add properties wrapMode, width, and horizontalAlignmnet like this...
Thanks!
![]() |
2013-09-09
, 13:17
|
Posts: 1,313 |
Thanked: 2,978 times |
Joined on Jun 2011
@ Finland
|
#1487
|
Thanks!
How to test manually when on this rule the "Run rule's action" and "Test" button dont work? - as it does on other rules ex. the one with 'Custom action' reboot device.
The Following User Says Thank You to ajalkane For This Useful Post: | ||
![]() |
2013-09-09
, 16:11
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#1488
|
It should work. And I saw in the logs that it did run when you manually ran it (those lines starting with BMEVENT indicate it). That script just might not show any visible indication. And one more thing, you must remember that it takes 20 seconds before the battery level is corrected. It doesn't happen immediately.
![]() |
2013-09-09
, 19:01
|
Posts: 1,313 |
Thanked: 2,978 times |
Joined on Jun 2011
@ Finland
|
#1489
|
OK and thanks again!
One more question and then peace - for a while at least I hope
Rule Update Network
Conditions: 'No net connection'
Custom action: /sbin/initctl restart xsession/icd2
Don't seems to work: close internet connections (set to manual) again Blue bar shown nothing else.
attached log: execute command line= success 1
but then initctl: Name "com.ubuntu.Upstart" does not exist
![]() |
2013-09-09
, 21:34
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#1490
|
You'll need to run that as root also. So invoke that script using execroot as you did for restartbme.
OK