View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#893
The background smartsearch process can apparently consume quite a bit power. The data collected by it is used by Search application, and for things like when selecting a file to attach for example to an e-mail.

If you have no use for those functions, you can stop smartsearch with these instructions during every boot.

Put in ProfileMatic's Default rule's "Custom action on rule activate" the following command:

Code:
sh -c "echo rootme | devel-su -c '/sbin/initctl stop xsession/smartsearch'"
Or if you use execroot script:

Code:
sh /home/user/scripts/execroot.sh "/sbin/initctl stop xsession/smartsearch"
After this is done, when you launch Search application, it will find nothing. If you know certain situations when you need the search, you could put such conditions to ProfileMatic and start the smartsearch background process with:

Code:
sh /home/user/scripts/execroot.sh "/sbin/initctl start xsession/smartsearch"
And stop it when the rule is no longer active.

Another way to achieve this same thing once and for all is as root to change the execution rights of smartsearch:

Code:
chmod a-x /usr/bin/smartsearch
But using initctl is IMO cleaner and makes it easier to start again if needed.
__________________
My N9/N950 projects:

Last edited by ajalkane; 2014-01-17 at 01:14.
 

The Following 9 Users Say Thank You to ajalkane For This Useful Post: