Difference between revisions of "Patch webOS Disable Charging Event Sounds"

From WebOS Internals
Jump to navigation Jump to search
(added webos version 2.1.1)
 
(One intermediate revision by one other user not shown)
Line 50: Line 50:
 
vi /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
 
vi /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
 
:1482
 
:1482
 +
</nowiki></pre>
 +
 +
Step 4: Change this...
 +
<pre><nowiki>
 +
soundClass: soundClassName
 +
</nowiki></pre>
 +
 +
Step 5: to this... and save.
 +
<pre><nowiki>
 +
soundClass: ""
 +
</nowiki></pre>
 +
 +
or for vibrate only
 +
 +
Step 5: to this... and save.
 +
<pre><nowiki>
 +
soundClass: "vibrate"
 +
</nowiki></pre>
 +
 +
=webOS 1.2.0=
 +
 +
Steps change to:
 +
 +
Step 3: Edit and goto line 1541
 +
<pre><nowiki>
 +
vi /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
 +
:1541
 +
</nowiki></pre>
 +
 +
Step 4: Change this...
 +
<pre><nowiki>
 +
soundClass: soundClassName
 +
</nowiki></pre>
 +
 +
Step 5: to this... and save.
 +
<pre><nowiki>
 +
soundClass: ""
 +
</nowiki></pre>
 +
 +
or for vibrate only
 +
 +
Step 5: to this... and save.
 +
<pre><nowiki>
 +
soundClass: "vibrate"
 +
</nowiki></pre>
 +
 +
=webOS 2.1.1=
 +
 +
Steps change to:
 +
 +
Step 3: Edit and goto line 2202
 +
<pre><nowiki>
 +
vi /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
 +
:2202
 
</nowiki></pre>
 
</nowiki></pre>
  
Line 72: Line 126:
 
* A2NY
 
* A2NY
 
* JHoff80
 
* JHoff80
 +
* LukeHale
 +
* xKrystl

Latest revision as of 20:36, 21 September 2011


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

webOS 1.1.0

Steps change to:

Step 3: Edit and goto line 1482

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

Step 4: Change this...

soundClass: soundClassName	

Step 5: to this... and save.

soundClass: ""

or for vibrate only

Step 5: to this... and save.

soundClass: "vibrate"

webOS 1.2.0

Steps change to:

Step 3: Edit and goto line 1541

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

Step 4: Change this...

soundClass: soundClassName	

Step 5: to this... and save.

soundClass: ""

or for vibrate only

Step 5: to this... and save.

soundClass: "vibrate"

webOS 2.1.1

Steps change to:

Step 3: Edit and goto line 2202

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

Step 4: Change this...

soundClass: soundClassName	

Step 5: to this... and save.

soundClass: ""

or for vibrate only

Step 5: to this... and save.

soundClass: "vibrate"

Contributor(s)

  • A2NY
  • JHoff80
  • LukeHale
  • xKrystl