webOS Nation Forums >  Homebrew >  webOS patches > [patch][touchpad] "Just Charge" By Default
[patch][touchpad] "Just Charge" By Default

  Reply
 
LinkBack Thread Tools Display Modes
Old 07/15/2011, 11:58 AM   #1 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default [patch][touchpad] "Just Charge" By Default

With this patch, whenever you plugin your TouchPad, there won't be any annoying popup. It'll instantly be in "Just Charge" mode, with the USB notification icon in the top area to switch to USB Mode if you want.
Attached Files
File Type: patch just-charge-by-default.patch (788 Bytes, 33 views) Email Attachment
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 08/02/2011, 12:16 AM   #2 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Here's the patch update for webOS 3.0.2. Unfortunately, due to internal system changes in 3.0.2, you'll now see the usb mode prompt for a second or so before it disappears and going into "just charge" mode
Attached Files
File Type: patch just-charge-by-default.patch (1.0 KB, 18 views) Email Attachment
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 10/20/2011, 03:24 PM   #3 (permalink)
Member
 
Xelkos's Avatar
 
Join Date: Sep 2011
Posts: 20
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Default

And with 3.0.4 it got removed... Reinstalling it did not change the label... instead after re-applying it closes the window when attaching a USB cable.

Odd. :/
Xelkos is offline   Reply With Quote
Old 11/02/2011, 02:44 PM   #4 (permalink)
Member
 
Join Date: Aug 2011
Posts: 4
Likes Received: 2
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
Here's the patch update for webOS 3.0.2. Unfortunately, due to internal system changes in 3.0.2, you'll now see the usb mode prompt for a second or so before it disappears and going into "just charge" mode
Hi there, I was just poking around and think I found a way to disable it entirely (ie, so it doesn't flash up briefly, which wound me up). This is on 3.0.4.

If you open up /usr/lib/luna/system/luna-systemui/data/StoragedService.js, jump down to this conditional...

Code:
if (this.canUSBAlertDisplayed()) 
	this.showStorageModeAlert();
else 
	this.createUSBDashboard();
...and change it to just...

Code:
 
this.createUSBDashboard();
...then it shows the dashboard notification without a hint of the larger "just charge" window.

(Don't just comment out the showStorageModeAlert() function, or nothing happens. Remove/comment the three lines and luna restart)

I haven't done extensive testing or anything... But USB mode from the dash notification works fine.

Just tryina help :-)
wedders is offline   Reply With Quote
Thanked By: Jason Robitaille
Old 12/11/2011, 11:26 PM   #5 (permalink)
Member
 
Join Date: Nov 2011
Posts: 139
Likes Received: 8
Thanks: 25
Thanked 5 Times in 4 Posts
Default

Can there be a similar patch for SmartPhones
devil.insulted is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0