Convert website launcher icons to work with Universe Browser (homebrew) | webOS Nation

Convert website launcher icons to work with Universe Browser (homebrew)

by Adam Marks Sun, 24 Apr 2011 5:14 pm EDT

So you created a whole launcher page of great looking website browser icons, but then you purchased Universe Browser and realized that those icons still launch the websites in the stock browser.  While Universe does contain the functionality to add icons to your launcher, it currently does not allow you to choose the icon and you probably don’t want to redo all that hard work to add each of your existing icons back to your launcher.  Luckily, there is a relatively easy Homebrew solution that you can use either on the device or on your computer to quickly convert your existing icons from the stock browser to Universe.

The first thing you will need to do is create a new Launcher icon that links to Universe.  From within Universe, navigate to any website, swipe down from the top-left to bring down the Universe Application dropdown, select "Page" then "Add to Launcher".  It does not matter what you name the icon or what site it links to. Note that if you are running webOS 2.0 or higher, you will need to move the icon so that it is anywhere except for after the Voice Dial icon on the first launcher page.

The next thing you will need to do is know how to identify and edit your existing launcher icons.  When these icons get added to your launcher, their details are stored in 8-digit named text files in /var/luna/launchpoints, but in a seemingly random order.  See the bottom of this tip to learn how to identify which file is connected to which icon, as it differs for webOS 1.0 and 2.0. 

Finally, you are now ready to update your existing icons.  You can do this right on-device using Internalz Pro.  Or, if you would prefer doing this on your desktop, you should make sure that you have Save/Restore loaded on your device.  Open up Save/Restore and perform a Save for the Launcher script.  Close Save/Restore, connect the phone to your computer via USB mode and open up the latest ZIP file under "" (in the "saverestore" folder of your USB).  Within that ZIP drive, all of your launcher icon files will show up in the "Launchpoints" directory.  In a text editor program, you should first open up the file for the new launcher icon you created that links to Universe.  You will be able to tell that it’s the right file because the first line will show the "id" as "".  Then, open up one of your existing launcher icons that you want to convert from the stock browser.  The "id" for that should be "".  From within the Universe icon file, highlight the text until just before it says "removable", copy it, switch back to the stock browser icon file, highlight the equivalent text there, and paste in the copied text.  See the screenshots below for an example of a Universe icon file (on left) and a Stock browser icon file (on right), with the relevant text highlighted.



If you are using Internalz Pro, now swipe down from the top-left and choose "Save File".  If you are using your desktop, save the text file, repackage the ZIP file if necessary, eject from USB mode, and then open up Save/Restore again.  This time, choose Restore Applications and restore the Launcher script.

Immediately perform a Luna Restart.  The next time you try the Launcher Icon, it should now load up Universe browser to your saved website. 

If at any time you want to revert your icons back to the stock browser, just follow the same directions as above, but reverse the directions.

To identify your browser icons under webOS 2.0

Either use Internalz Pro to go to the /var/luna/preferences directory, or within the "launcher" folder in a saved Save/Restore ZIP file for "", open up the "launcher-cards.json" file in a text editor.  This contains a listing of all your Launcher Pages and Apps on your launcher.  From here, you can compare the order of your icons on your Launcher to identify the file for each icon.

To identify your browser icons under webOS 1.0

This is a little more complicated than the webOS 2.0 process.  You will need to access the database that saves the order of your launcher icons, which can be found in the saved Save/Restore ZIP file for "", in a file named "paged_launcher_apps".  Open up this file using a database reader such as SQLite and you will find a listing off all your apps, in the order they exist in your launcher.  From here, you can compare the order of your icons on your Launcher to identify the file for each icon.

Another, less efficient option that will work for both webOS 1.0 and 2.0 is to just open up each 8-digit named text file in /var/luna/launchpoints or the "launchpoints" directory of the Save/Restore ZIP file.  Towards the bottom of the each file, you will see both the title and the website address of the icon.  Just look through each file within this folder until you find the one you want.


Your rating: None