WebOS3.0 Launcher Tweaks

From WebOS Internals
Revision as of 20:46, 5 July 2011 by Audemars02 (talk | contribs)
Jump to navigation Jump to search

WebOS3.0 Launcher Tweaks

Included are tweaks that will Add/Rename/Reorder the Touchpad Launcher pages in webOS 3.0

PROCEED WITH CAUTION! SEE ISSUES AT BOTTOM OF PAGE BEFORE PROCEEDING!

File Locations

All files are located in /var/luna/preferences/launcher3/

launcher_fixed.msave - Includes details on the Launcher Page Listing.

page_ReorderablePage_APPS_{6b63679a-9ce6-449b-892f-6b684d9b03c6} - Each launcher page has a file like this, with "APPS" changed to the launcher page name and the seemingly random long string of characters different per page


To Rename a Page

  1. Go into the "page_ReorderablePage_..." file
  2. In the [header] section, you will find a row labeled "pagename="
  3. Change the "pagename" to the name you want.
  4. Reboot your Touchpad.
  5. Interestingly, if you change the name of "APPS" to "NEW", a new file will be created called "page_ReorderablePage_NEW_{6b63679a-9ce6-449b-892f-6b684d9b03c6}" with the same PageID


To Reorder the tabs:

  • Go to the " launcher_fixed.msave" file
  • To rearrange the pages, all you need to do is change the "pageindex" values of the pages.
  • Perform a reboot and the data in same file with automatically be rearranged based on your pageindex values

SAMPLE CODE:

[General]
nul=0
[header]
num_pages=4
save_sys_version=7
simple_name=default
time_created=1309879687727
[pages]
1\filepath=/var/luna/preferences/launcher3//page_ReorderablePage_APPS_{6b63679a-9ce6-449b-892f-6b684d9b03c6}
1\pageindex=0
1\pagetype=ReorderablePage
2\filepath=/var/luna/preferences/launcher3//page_ReorderablePage_DOWNLOADS_{21227633-7ee8-43df-8679-07a13d72fc7b}
2\pageindex=1
2\pagetype=ReorderablePage
3\filepath=/var/luna/preferences/launcher3//page_ReorderablePage_FAVORITES_{0a8f06aa-0b35-4f93-8380-5f9b712e5474}
3\pageindex=2
3\pagetype=ReorderablePage
4\filepath=/var/luna/preferences/launcher3//page_ReorderablePage_SETTINGS_{fd41ac63-451f-4924-ad64-ae8770ee14b9}
4\pageindex=3
4\pagetype=ReorderablePage
size=4


To Add Launcher Tabs:

This was a bit more difficult You can either copy an existing file and edit, or you can create a new file in the directory. Here is an example of the file you should create

  • FILENAME = page_ReorderablePage_NEW_{7b63679a-9ce6-449b-892f-6b684d9b03c6}
  • Make sure you change the PageID listed in the filename. I just took an existing ID and changed the first character

TEXT IN FILE:

[header]
pagedesignator=NEW
pagename=NEW
pagetype=ReorderablePage
pageuid={7b63679a-9ce6-449b-892f-6b684d9b03c6}
[icons]
size=0
  • Save the file.
  • Open launcher_fixed.msave
  • Change the "num_pages" in the [header] section to 5
  • Change the last row of the file from "size=4" to "size=5"
  • Copy the 3 lines of any one of the existing launcher pages and paste it where you want to add the page (in the example below, I added it at the end)
  • Change the number at the beginning of the row to increment the pages correctly
  • Change the "pageindex" values to order the pages correctly
  • Change the "filepath" to the filename of the new file

See changes to the launcher_fixed.msave file below. NEW code is in BOLD, CHANGED code in ITALICS

[General]
nul=0
[header]
num_pages=4
save_sys_version=7
simple_name=default
time_created=1309879687727
[pages]
1\filepath=/var/luna/preferences/launcher3//page_ReorderablePage_APPS_{6b63679a-9ce6-449b-892f-6b684d9b03c6}
1\pageindex=0
1\pagetype=ReorderablePage
2\filepath=/var/luna/preferences/launcher3//page_ReorderablePage_DOWNLOADS_{21227633-7ee8-43df-8679-07a13d72fc7b}
2\pageindex=1
2\pagetype=ReorderablePage
3\filepath=/var/luna/preferences/launcher3//page_ReorderablePage_FAVORITES_{0a8f06aa-0b35-4f93-8380-5f9b712e5474}
3\pageindex=2
3\pagetype=ReorderablePage
4\filepath=/var/luna/preferences/launcher3//page_ReorderablePage_SETTINGS_{fd41ac63-451f-4924-ad64-ae8770ee14b9}
4\pageindex=3
4\pagetype=ReorderablePage
5\filepath=/var/luna/preferences/launcher3/page_ReorderablePage_NEW_{7b63679a-9ce6-449b-892f-6b684d9b03c6}
5\pageindex=4
5\pagetype=ReorderablePage
size=5
  • Perform a reboot


Known Issues:

  1. After apply tweaks, App Icon locations would not stick. I could physically move them from one launcher page to another, but once I reboot the device (Luna or Full restart), all apps returned to their original position