webOS Nation Forums > Homebrew > webOS themes > How To: Theme Your Pre - Icons
1 2 
Member: sarah peterman
at: 09:22 PM 08/07/2009
Here is the tutorial in an easy to find thread. At the bottom are other tutorials on theming other aspects of your Pre.

Changing Icons

Upload your themed icons to your favorite storage or photo site.

In terminal navigate to the first application that is on your bar. Mine is the browser so we'll start off with that.

Code:

[CODE] cd /usr/palm/applications/com.palm.app.browser/[/CODE]

Then type:

Code:

[CODE]sudo mv icon.png icon.png.backup[/CODE]

<--if you plan on theming your Pre a lot I would recommend that after the first backup you ignore this step and from then on use this command-->

Code:

[CODE]sudo rm icon.png[/CODE]

This way, your original Palm Pre icons will remain as backup and each time you theme you aren't wasting space by keeping old themed icons.

Next:

Code:
[CODE]
sudo wget (url of where your browser icon is located)
[/CODE]
Now let's say your next icon on your quick launch bar is the camera.

Type:

Code:

[CODE]sudo cd /usr/palm/applications/com.palm.app.camera/[/CODE]

Code:

[CODE]sudo mv icon.png icon.png.backup[/CODE]

Code:

[CODE]sudo wget (url of where your browser icon is located)[/CODE]

Continue on with the next app by changing directory (cd), making backups (mv), and downloading your icon (wget). The only deviation from the above would be with the calendar. The icons (all 31 of them) can be found here: "/usr/palm/applications/com.palm.app.calendar/images/launcher".

Launcher icons can be found here: "/usr/lib/luna/system/luna-applauncher".

All icons have to be named icon.png, unless you are changing the calendar icons. They have to be in named as such icon-1.png, icon-2.png.

If you've downloaded an icon that has a different filename type this:

Code:

[CODE]sudo mv faultyfilenamehere.png icon.png[/CODE]

Also, just a quick rundown on what some of these commands mean.

cd =change directory
mv = rename
rm = remove
wget = download

Also wanted to add that if you come back with this error "Read-only file system" type this

Code:

[CODE]sudo mount -o remount,rw /[/CODE]


How To Get Your Avatar In The Chat & Change the Color of the Chat Balloons


How to make bookmark icon look cooool

How to Change Stored Bookmark Icons

Modify Your Signal Strength Wifi Ev 1x Icons
Reply
Member: Niris777
at: 08:19 AM 08/08/2009
umm, sorry for the newb question, but how do I make that first backup?
Reply
Member: Niris777
at: 08:24 AM 08/08/2009
oh jeez! sorry I think I understood it now....

sudo mv icon.png icon.png.backup

That's the first backup, right?

So I do that for every icon once and then after that I can use the:

sudo rm icon.png

???
Reply
Member: sarah peterman
at: 08:47 AM 08/08/2009
Originally Posted by Niris777:
oh jeez! sorry I think I understood it now....

sudo mv icon.png icon.png.backup

That's the first backup, right?

So I do that for every icon once and then after that I can use the:

sudo rm icon.png

???
Yup, you got it!
Reply
Member: Niris777
at: 08:59 AM 08/08/2009
ok, so (bear with me) I do that and my icons will be changed automatically? I don't have to then go and do the whole:

cp /media/internal/red-rssi-1.png /usr/lib/luna/system/luna-systemui/images/rssi-1.png

I've done that to change my signal bars, it took me a bit to get it though.... but this seems so much simpler, I still can't believe it.....
Reply
Member: Niris777
at: 10:09 AM 08/08/2009
How do I go back to the original icon???
Reply
Member: sarah peterman
at: 10:27 AM 08/08/2009
You will always have to move your icon from the download directory to the folder you want your icon in. Best way to get around that is upload your images to website, then go to the directory you want the icon in and "sudo wget url".

To get your original icon (if you followed my tutorial then the filename should be icon.png.backup) you'll have to type this in

[code] sudo mv icon.png.backup icon.png [/code]

You are as root (sudo) moving (mv) current file (in above example it would be) icon.png.backup and are renaming it to icon.png
Reply
Member: Niris777
at: 10:36 AM 08/08/2009
I followed the steps like indicated.......
Reply
Member: Niris777
at: 10:47 AM 08/08/2009

Reply
Member: sarah peterman
at: 02:08 PM 08/08/2009
You need to be in the directory of where the icon is located. I had to go to your flickr site to look at the picture, so if I'm looking at the right picture, you are in the wrong directory.
Reply
Member: LexPreUser
at: 11:32 AM 08/20/2009
Is there a gui interface for this? Or only txt based?
Reply
Member: Kaif
at: 09:06 AM 08/29/2009
How do I navigate to the terminal?

I am a noob and never have used Linux and all of the walk throughs are written for people how are familiar with Linux. Can anyone point me to a site that might have instructions for someone who has never worked with Linux?


Never mind I found this Link
Reply
Member: lyncha
at: 11:53 AM 08/29/2009
Sarah,

Can you please upload the original .png files for the quick launch icons. I kinda sorta deleted mines by accident.

Thanks in advance
Reply
Member: OneDeep
at: 01:41 PM 08/31/2009
Can someone upload ALL the default icons?
Reply
Member: srlake314
at: 02:07 AM 09/03/2009
Here's a question, what if the icons are on your photo? What's the url then or way to just upolad them from the computeR?
Reply
Member: IVIacGyver
at: 05:08 PM 09/04/2009
thanks
Reply
Member: IVIacGyver
at: 05:08 PM 09/04/2009
this was very helpful
Reply
Member: Jaime313
at: 01:10 PM 09/06/2009
Anyone heard of it?
Reply
Member: marshall_634
at: 03:07 PM 09/06/2009
also instead of typing sudo before every line. once you ssh into ur pre, just type


[CODE]sudo -i[/CODE]

then is will ask for password again, but you wont have to keep typing sudo before every line. Just to save time.
Reply
Member: jblake1030
at: 09:37 PM 09/06/2009
Nice tutorial
Reply
1 2 
webOS Nation Forums > Homebrew > webOS themes > How To: Theme Your Pre - Icons