View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#4042
guillermorojaz, probably something happens to internet connection and it downloaded broken file...

delta_gate, Create simple scripts:
1. For refresh homescreen + lockscreen + status bar:
Code:
#!/bin/sh

sleep 2 && /sbin/initctl restart xsession/sysuid && sleep 5 && /sbin/initctl restart xsession/mthome

exit 0
Or
For refresh only homescreen:
Code:
#!/bin/sh

sleep 2 && /sbin/initctl restart xsession/mthome

exit 0
Or
For refresh only lockscreen + status bar
Code:
#!/bin/sh

sleep 2 && /sbin/initctl restart xsession/sysuid

exit 0
Save script somewhere with name for example: refresh.sh
In profilematic in custom action write:
Code:
sh /path/where/you/saved/refresh.sh
If not work:
Code:
sh -c "/path/where/you/saved/refresh.sh"
 

The Following 2 Users Say Thank You to Schturman For This Useful Post: