12/23/2011, 03:10 AM
|
#1 (permalink) |
|
Member
![]() Join Date: Dec 2011
Posts: 3
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Would someone be able to create a patch that will use whatever current wallpaper you have your device set to, to be used when the system locks? much like on the TouchPad WebOS 3.0.4, I would like to use it on a Pre3 WebOS 2.2.4.
Thank you all!! |
01/03/2012, 06:13 PM
|
#4 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
I just set my wallpaper to the swirly colours on a white background, and it persisted on the lockscreen. EU Pre3 running 2.2.4, are you using one of the stock wallpapers or a custom one?
|
01/03/2012, 07:24 PM
|
#5 (permalink) |
|
Member
![]() Join Date: Aug 2011
Location: UK
Posts: 25
Likes Received: 1
Thanks: 13
Thanked 5 Times in 2 Posts
|
Another confirmation here, if I change my wallpaper, say, to a picture I've taken, the PIN lock background (numpad in foreground) is still, and always has been, the blue sky with clouds background. The lock screen however (padlock at bottom, move out of circle to unlock) does have my chosen wallpaper.
Pre 3, now at 2.2.4. |
01/04/2012, 03:16 AM
|
#6 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
Ahh, I've been herping my derp. I didn't see 'pin' in the thread title, apologies.
__________________
Stuff and Things that I had a hand (or two) in: WiFi File Sharing - Simple Network Sharing for webOS (Now available in Preware!) Enyo Smooth Scrolling, Mojo Smooth Scrolling, Mojo FPS Booster, Mojo Tap Responsiveness, Mojo Flick Regulator, Mojo Speedy Switch, Pre3 Just Type Scrim Fix, HP webOS Carrier String, EDGE Icon Patches. If you like any of the above and are feeling generous, why not ? :]
|
01/05/2012, 12:07 PM
|
#7 (permalink) |
|
Member
![]() Join Date: Mar 2010
Posts: 291
Likes Received: 2
Thanks: 70
Thanked 39 Times in 31 Posts
|
This is a mojo thing. I am on 1.4.5 and was able to manually change my PIN Lock background, but it took changes in about 3-4 different apps. Complicated. It seems several apps need to be involved in a patch like this. Would be a welcome change though.
I'll try to dig up the manual changes I made if it will help. |
01/05/2012, 01:22 PM
|
#8 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
I'd be happy to have a go at knocking together a patch if you can find the manual changes, or even remember the files. I'll have to have a dig around and see how to access the current wallpaper, but it should be doable.
__________________
Stuff and Things that I had a hand (or two) in: WiFi File Sharing - Simple Network Sharing for webOS (Now available in Preware!) Enyo Smooth Scrolling, Mojo Smooth Scrolling, Mojo FPS Booster, Mojo Tap Responsiveness, Mojo Flick Regulator, Mojo Speedy Switch, Pre3 Just Type Scrim Fix, HP webOS Carrier String, EDGE Icon Patches. If you like any of the above and are feeling generous, why not ? :]
|
01/05/2012, 02:28 PM
|
#9 (permalink) | |
|
Member
![]() Join Date: Mar 2010
Posts: 291
Likes Received: 2
Thanks: 70
Thanked 39 Times in 31 Posts
|
Quote:
Also, there is a fullscreen wallpaper thread that speaks to how to get the current wallpaper if set by the photos app. I will dig that up too. Busy at work right now. |
|
01/05/2012, 11:18 PM
|
#10 (permalink) |
|
Member
![]() Join Date: Mar 2010
Posts: 291
Likes Received: 2
Thanks: 70
Thanked 39 Times in 31 Posts
|
OK. Here is what I have found so far... (Preamble: I manually changed the backdrop-firstuse.png image to a different one in all three applications and it changed the background as expected. I think if you do not touch all three apps, you will get unexpected results based on my past testing.)
Code:
/usr/palm/applications/com.palm.app.screenlock/stylesheets/screenlock.css Line 100 Replace --> background: url(../images/backdrop-firstuse.png); With --> background: url(/media/internal/.wallpapers/wallpaper-temp.jpg); /usr/palm/applications/com.palm.app.phone/stylesheets/pinpad.css Line 10 Replace --> background: #000 url(../images/backdrop-firstuse.png) 0 0 fixed no-repeat; With --> background: #000 url(/media/internal/.wallpapers/wallpaper-temp.jpg) 0 0 fixed no-repeat; /usr/palm/applications/com.palm.app.phone/stylesheets/pincode.css Line 44 Replace --> background: #000 url(../images/backdrop-firstuse.png) 0 0 fixed no-repeat; With --> background: #000 url(/media/internal/.wallpapers/wallpaper-temp.jpg) 0 0 fixed no-repeat; /usr/palm/applications/com.palm.app.phoneprefs/stylesheets/phone.css Line 26 Replace --> background: #000 url(../images/backdrop-firstuse.png) 0 0 fixed no-repeat; With --> background: #000 url(/media/internal/.wallpapers/wallpaper-temp.jpg) 0 0 fixed no-repeat; Hope this helps. Looks like this might be a messy patch unfortunately. EDIT: Oops. Wrong link URL. Last edited by palmuse; 01/05/2012 at 11:21 PM. Reason: wrong link url |
01/06/2012, 11:50 AM
|
#11 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
Wow, that's some extensive info right there! It should be easy enough, I'll have a go when I'm at my computer later.
When the source is released, we'll be able to make it work without a Luna reset. I'm also interested to poke around in that lockscreen folder, might be able to make some interesting modifications. |
01/06/2012, 01:26 PM
|
#12 (permalink) | |
|
Member
![]() Join Date: Mar 2010
Posts: 291
Likes Received: 2
Thanks: 70
Thanked 39 Times in 31 Posts
|
Quote:
Also, the above is all based on 1.4.5. |
|
01/06/2012, 02:32 PM
|
#13 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2010
Posts: 628
Likes Received: 22
Thanks: 80
Thanked 153 Times in 122 Posts
|
"/media/internal/.wallpapers/wallpaper-temp.jpg" is not a safe name to use if you use any app that handles wallpaper changing. I think the stock Photos app uses "wallpaper-temp.jpg" just so it doesn't need to go through with the process of deleting the old wallpaper, but I figure most wallpaper changing and/or setting apps will just use the name of the original file. That's certainly the case with my apps Slide RSS, Slide Master, and Wall Switch. I'm pretty sure the same goes for Switcheroo and InterfaceLift.
__________________
Appsotutely's Apps & Patches: Paid: Slide RSS | Multi Pane | Trip Traq BART | Wall Switch | Slide Master Free: Pane Free | Trip Traq HBLR | Nightstand Twitter: @appsotutely Paypal: Tip Jar |
01/06/2012, 02:48 PM
|
#14 (permalink) | |
|
Member
![]() Join Date: Mar 2010
Posts: 291
Likes Received: 2
Thanks: 70
Thanked 39 Times in 31 Posts
|
Quote:
An altternative method would be to set a path to a specific background image and save an image to that path an name. This however would not dynamically change when the background changed. It wold be the same until the user decided to change it manually again. The point of thepatch request was a dynamic background. |
|
01/06/2012, 03:44 PM
|
#15 (permalink) | |
|
Member
![]() ![]() Join Date: Aug 2010
Posts: 628
Likes Received: 22
Thanks: 80
Thanked 153 Times in 122 Posts
|
Quote:
__________________
Appsotutely's Apps & Patches: Paid: Slide RSS | Multi Pane | Trip Traq BART | Wall Switch | Slide Master Free: Pane Free | Trip Traq HBLR | Nightstand Twitter: @appsotutely Paypal: Tip Jar |
|
01/06/2012, 04:02 PM
|
#16 (permalink) | |
|
Member
![]() Join Date: Mar 2010
Posts: 291
Likes Received: 2
Thanks: 70
Thanked 39 Times in 31 Posts
|
Quote:
I would like to understand the "break" aspect of your post. By "break" do you mean: 1. the Screen&Lock background will not reflect the current wallpaper if set by an app other than Photos OR 2. do you suggest that the patch will fail given the above? I agree with #1 but have issue with #2. |
|
01/06/2012, 04:29 PM
|
#17 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
I imagine the patch would simply not set the correct wallpaper, so you'd have whatever the previous wallpaper set through photos or screen/lock was.
|
01/06/2012, 05:08 PM
|
#19 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2010
Posts: 628
Likes Received: 22
Thanks: 80
Thanked 153 Times in 122 Posts
|
Depending upon what other apps set the wallpaper, there might not be the "wallpaper-temp.jpg" in the folder when the app is done. In that case, you'll probably wind up with the missing file pic - a big "X" icon.
I just tried setting via "Screen&Lock" and that also just uses the original file's name, so you'll pretty much be limited to using the stock Photos app.
__________________
Appsotutely's Apps & Patches: Paid: Slide RSS | Multi Pane | Trip Traq BART | Wall Switch | Slide Master Free: Pane Free | Trip Traq HBLR | Nightstand Twitter: @appsotutely Paypal: Tip Jar |
01/09/2012, 06:32 PM
|
#20 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
I had a crack at using SystemService to get the current wallpaper and apply it to the various pin scenes mentioned with JavaScript, but no luck as yet. It returns the current wallpaper's file location, but doesn't seem to want to set the background image
I'll knock together a patch to the CSS using the information palmuse posted tomorrow- I've been hacking at this all day and am a tad exhausted.
|
![]() |
|
| Tags |
| lock screen |
| Thread Tools | |
| Display Modes | |
|
|



