Patch webOS Disable Charging Event Sounds

From WebOS Internals
Revision as of 23:57, 20 July 2009 by Hopspitfire (talk | contribs) (New page: When charging the Pre via USB or Touchstone, the alert event will sound. These following steps are how to disable it. = Procedure= Step 1: <pre><nowiki> sudo -i </nowiki></pre> Step 2...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

When charging the Pre via USB or Touchstone, the alert event will sound.

These following steps are how to disable it.

Procedure

Step 1:

sudo -i

Step 2: Unlock file system

mount -o remount rw /

Step 3: Edit and goto line 1267

vi /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
:1267

Step 4: Change this...

soundClass: "alerts"	

Step 5: to this... and save.

soundClass: ""

Step 6: Lock file system

mount -o remount ro /

Step 7: Restart Luna System Manager

pkill LunaSysMgr

Contributor(s)

  • A2NY