View Single Post
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#2
Honestly I don't see much value in this as I would prefer doing a reboot instead of killing processes but since you want the process names then a tit-for-tat equivalent with the last part adding N9QT's Full Refresh command in place of hildon-desktop refreshes:

Code:
#!/bin/sh

echo Your Nokia N9 is being Optimized

#Refresh the Audio Process to avoid audio glitch
killall pulseaudio

#Refresh the Tracker process
killall tracker-store

#Refresh the browser
killall grob

#Refresh of the most common applications and UIs
killall organiser
killall calc
killall camera-ui
killall call-ui
killall fenix
killall messaging-ui
killall gallery
killall notes
killall contacts

killall tonegend
killall qmafw-dbus-wrapper

#N9QT Full Refresh
sleep 2 && /sbin/initctl restart bme && sleep 2 && /sbin/initctl restart xsession/sysuid && sleep 5 && /sbin/initctl restart xsession/mthome

If I was you a reboot or if you want to refresh things up then the last N9QT Full Refresh command is enough as if you notice when you do the N9QT Full Refresh everything above it is refreshed too so its quite a waste killing all before running N9QT Full Refresh...

Last edited by thedead1440; 2013-01-27 at 08:20.
 

The Following 3 Users Say Thank You to thedead1440 For This Useful Post: