Changing the #PalmPre dialer background from the meh green to a nice grey... (re: #WebOS Internals)
From WebOS Internals
Editing the Dialer Background
This section is for info about changing the background of the Dialer Application
It is still in development, so please correct any errors.
We can change that green background of the dialer screen pretty easily. We just need to change three files and reboot the Pre.
Since this is a simple change that several people may want to accomplish, I'm going to be very granular about how to perform this task.
This does require access to the Pre's operating system. Please follow these steps first. Then open a SSH window to the Pre (either using "ssh -p 222 LOGIN_NAME@PALM_PRE_IP" or use a tool like PuTTY in Windows) You can find more information about this in the accessing linux page or by searching Google.
I started with a simple change because I don't have the Photoshop skills needed, I just made the current images black and white using Paint.net. Here are the steps I took:
Procedure
Open the SSH session and we'll open this directory (cd - change directory) and look at it's contents (ls - listing).
cd /usr/palm/applications/com.palm.app.phone/images/ lsYou'll see a long list of files that are in this directory, we'll only use three today, but more editing may come in the future. We'll backup the current image first incase we need to revert back to them (cp - copy).
cp backdrop-phone.png backdrop-phone.png.old cp backdrop-phone-scroll-fade.png backdrop-phone-scroll-fade.png.old cp list-section-line.png list-section-line.png.oldIf we do another listing (ls) we'll see the three files we just copied to make backups.
Next we'll need to copy (cp) the files to the location of the USB drive so that we'll be able to edit these files:
cp /usr/palm/applications/com.palm.app.phone/images/backdrop-phone.png /media/internal/ cp /usr/palm/applications/com.palm.app.phone/images/backdrop-phone-scroll-fade.png /media/internal/ cp /usr/palm/applications/com.palm.app.phone/images/list-section-line.png /media/internal/Now click on the USB icon on the Pre's notification area, switch to USB Storage mode.
You can now copy the files off of the Pre and edit them any way you want, just make sure they have the same properties as the orig (transparency, size, file extention, etc). I didn't create these image below, they are just edited from the Palm Pre. You can use any 360 x 420 PNG to achieve these results.
Once they are edit to your liking, copy the files back to the Pre in USB mode with the same file name.
Eject your Pre from your computer, wait for Wifi to log back into your network, and SSH into the Pre again. Your old window probably timed out by now so you can close it.
Last step
Now we'll need to get the files (all 3 if you edited them) back to the correct location, so we'll use the copy (cp) command to do this.
cp /media/internal/backdrop-phone.png /usr/palm/applications/com.palm.app.phone/images/ cp /media/internal/backdrop-phone-scroll-fade.png /usr/palm/applications/com.palm.app.phone/images/ cp /media/internal/list-section-line.png /usr/palm/applications/com.palm.app.phone/images/Once this is done exit the SSH session (type exit) and reboot the Pre from the Device Info menu. When it comes back up you should see your new background on the dialpad screen.
If you are going to use the files I edited you'll just need to copy them to the USB drive, and then complete the last step.
Here are my edits:
Thanks to desairs at the PreCentral forums for pointing me in the correct direction.
If you want to use these modified images, you can download them directly to the directory and replace the files you backed up with cp.
wget-O /usr/palm/applications/com.palm.app.phone/images/backdrop-phone.png wget-O /usr/palm/applications/com.palm.app.phone/images/backdrop-phone-scroll-fade.png wget-O /usr/palm/applications/com.palm.app.phone/images/list-section-line.pngThen to reload you can try the following command instead of a reboot:
pkill LunaSysMgrRetrieved from "http://www.webos-internals.org/wiki/Patch_Phone_Edit_Dialer_Theme"

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License
.



