How To Remove VoiceDial
Jump to navigation
Jump to search
SUMMARY
For those plagued by the buggy and inaccurate VoiceDial that comes in the meta-doctor for webOS 2.1, here's how to remove it as cleanly as possible.
BACKGROUND
All the VoiceDial packages in webOS 2.1:
ipkg list_installed | grep voice contacts.plugin.pmvoicecommand palmvoicecodec palmvoicedecoder palmvoiceencoder pmvoicecommand pmvoicecommand-dede pmvoicecommand-engb pmvoicecommand-enus pmvoicecommand-eses pmvoicecommand-esmx pmvoicecommand-frca pmvoicecommand-frfr pmvoicecommand-itit
REMOVAL
If you have absolutly NO desire to EVER re-install it, then you can simply:
mount -oremount,rw / for PKG in $(ipkg list_installed | grep voice | awk '{print $1}') ; do ipkg remove -force-depends "$PKG" ; done mount -oremount,ro /
Then:
luna-send -n 1 palm://com.palm.systemservice/setPreferences '{"enableVoiceCommand":false}'
To remove it from the list of services to start at boot time.
BUT
If you even THINK you may want to re-install it at some future time, it gets a little tricky. In the Doctor, we have IPKs for everything EXCEPT the codecs. These need to be backed up BEFORE removing the packages themselves. This handy dandy script will back up the codecs to your /media/internal, remove all the packages, and remove the service from boot-time:
#!/bin/sh VCBACKUP="/media/internal/VoiceCommandBackup" echo -e \\vMaking codec backup dir at "${VCBACKUP}"\\n if [ ! -d "${VCBACKUP}" ] ; then mkdir "${VCBACKUP}"; fi cd / mount -oremount,rw / echo -e \\vBacking up codecs\\n tar -czvf "${VCBACKUP}"/VoiceCommandExtras.tar.gz /usr/lib/libpalmvoicecodec.so /usr/lib/gstreamer-0.10/libpalmvoicedecoder.so /usr/lib/gstreamer-0.10/libpalmvoiceencoder.so echo -e \\vRemoving all VoiceDial packages\\n for PKG in $(ipkg list_installed | grep voice | awk '{print $1'}) ; do ipkg remove -force-depends "$PKG" ; done mount -oremount,ro / echo -e \\vRemoving VoiceDial from boot-time service list\\n luna-send -n 1 palm://com.palm.systemservice/setPreferences '{"enableVoiceCommand":false}'
Remember
Enjoy!