Difference between revisions of "Application:ThemeManager"

From WebOS Internals
Jump to navigation Jump to search
m
 
(28 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
{{application
 
{{application
 
|name=Theme Manager
 
|name=Theme Manager
|version=0.2.0
+
|version=1.0.0
 
|type=webOS
 
|type=webOS
|tag=System Utilities
+
|tag=Utilities
 
|screenshot=theme_manager.png
 
|screenshot=theme_manager.png
 
|description=<div style='position: absolute; bottom: 0; right: 0; padding-right: 28px; padding-bottom: 16px'>{{SconixDonation}}</div>
 
|description=<div style='position: absolute; bottom: 0; right: 0; padding-right: 28px; padding-bottom: 16px'>{{SconixDonation}}</div>
Line 12: Line 12:
 
== Overview ==  
 
== Overview ==  
 
[[image:Icon_Theme-Manager.png|frameless|left]]
 
[[image:Icon_Theme-Manager.png|frameless|left]]
Theme Manager is a webOS ''(2.1+ w/Enyo installed)'' application that brings theme support to your device. Using Theme Manager, you will be able to browse locally downloaded themes and apply them the device.<br /><br />
+
Theme Manager is a webOS ''(2.1+ w/Enyo installed)'' application that brings theme support to your device. Using Theme Manager, you will be able to browse locally downloaded themes and apply them to your device.<br /><br />
  
  
Line 61: Line 61:
 
<blockquote>
 
<blockquote>
 
===== <span style="color:#8a0002">webOS OTA Updates</span> =====
 
===== <span style="color:#8a0002">webOS OTA Updates</span> =====
Since Theme Manager is an app, it is OTA (over-the-air) update safe. When there is an OTA update to a newer version of webOS from your carrier/HP, you do not need to remove the app before updating. Themes applied with Theme Manager are also OTA safe. After an OTA update, you must re-apply the theme. Before updating to a new OTA, you might want to make sure that the themes you use are supported on the new webOS version.
+
Since Theme Manager is an app, it is OTA (over-the-air) update safe. When there is an OTA update to a newer version of webOS from your carrier/HP, you do not need to remove the app before updating. Themes applied with Theme Manager are also OTA safe. After an OTA update, you must re-apply the theme. '''Before applying a new OTA update, you might want to make sure that the themes you use are supported on the new webOS version.'''
  
  
Line 70: Line 70:
  
 
== Usage ==
 
== Usage ==
usage notes here.
+
 
 +
==== Adding Themes to your Device ====
 +
Theme Manager compatible themes come in two types: ZIP and IPK. Themes need to be added to your device before they can be accessed in Theme Manager.
 +
 
 +
<blockquote>
 +
<span style="color:#8a0002">'''ZIP Compatible Themes'''</span>
 +
<br />
 +
To add a ZIP theme to your device, save the ZIP package to the Downloads folder on the USB partition of your device.
 +
<br /><br />
 +
 
 +
<span style="color:#8a0002">'''IPK Compatible Themes'''</span>
 +
<br />
 +
To add an IPK theme to your device, save the IPK package to the USB partition of your device.
 +
</blockquote>
 +
 
 +
 
 +
==== Installing Themes to the Theme Library ====
 +
Once themes are added to your device, they must be installed into the Theme Library so they can be accessed in Theme Manager.
 +
 
 +
<blockquote>
 +
<span style="color:#8a0002">'''ZIP Compatible Themes'''</span>
 +
<br />
 +
#Tap or Swipe down the Application Menu (left of the screen/top bar)
 +
#Tap Theme Library
 +
#Tap Install New Themes
 +
#Tap one or multiple ZIP themes in the file picker
 +
#Tap Ok
 +
<br /><br />
 +
 
 +
<span style="color:#8a0002">'''IPK Compatible Themes'''</span>
 +
<br />
 +
#Install the IPK package with Preware
 +
::''Note: If you have Theme Manager already open, you'll need to rescan for the newly installed theme(s).''
 +
::#Tap or Swipe down the Application Menu (left of the screen/top bar)
 +
::#Tap Theme Library
 +
::#Tap Re-Scan All Themes
 +
</blockquote>
 +
 
 +
 
 +
====Applying your Theme(s) ====
 +
Now that you have your theme(s) added to your device and installed in the Theme Library, you can start applying the themes or various components from many themes to your device. '''''(NOTE: Be sure to remove any previous "non supported/non Theme Manager" themes prior to applying new themes with Theme Manager!)'''''
 +
 
 +
<blockquote>
 +
<span style="color:#8a0002">'''Applying A Complete Theme'''</span>
 +
<br />
 +
# Browse (swipe) to the theme you wish to apply.
 +
# Tap the Select This Theme button
 +
# Tap the Apply Current Theme button
 +
<br /><br />
 +
 
 +
<span style="color:#8a0002">'''Selecting Various Components From Many Themes'''</span>
 +
<br />
 +
# Browse (swipe) to the theme you wish you select components from
 +
# Scroll down to and tap the Theme Components section
 +
# Tap the checkbox to select the components you wish to apply
 +
# Tap the Select Components button ''(Note: Repeat the above steps to select components from other themes before you apply the custom theme.)''
 +
# Tap the Apply Current Theme button
 +
</blockquote>
 +
 
 +
 
 +
== Making Themes ==
 +
 
 +
<blockquote>
 +
First you should create a directory for your theme and you should name it in the following style to avoid any conflict with other themes: com.domain.theme-name (e.g. org.webosinternals.simple-test-theme). Even the theme can be set to support different devices you should make separate theme for different types of devices, i.e. most likely nobody wants to have files for TouchPad installed in his phone for example.<br>
 +
<br>
 +
The hierarchy inside of that directory is free but the example below uses following hierarchy (the theme.json file is the only one required and has to be named as theme.json):<br>
 +
<br>
 +
<pre>
 +
org.webosinternals.simple-test-theme/
 +
  data/
 +
  images/
 +
  patches/
 +
  sounds/
 +
  theme.json
 +
</pre>
 +
<br>
 +
Then the contents of the theme.json file is as below. The optional stuff if not used can be left out. You should make sure that the file contains valid json, i.e. don't use tabs or make typos :). Also you should leave out the comments.<br>
 +
<br>
 +
<pre>
 +
{
 +
  "name": "Theme Name", // Mandatory
 +
  "version": "1.0.0", // Mandatory
 +
 
 +
  "description": "Description for the theme.", // Mandatory
 +
 
 +
  "creator": "Authors Name", // Mandatory
 +
  "website": "", // Mandatory but can be left empty
 +
 
 +
  "donations": "", // Optional donation link
 +
 
 +
  "devices": [
 +
    // Mandatory list of supported devices, valid devices are
 +
    // emulator, touchpad, veer, pre3, pre (= pre,pre+,pre2)
 +
   
 +
    "emulator",
 +
    "touchpad"
 +
  ],
 +
 
 +
  "screenshots": [
 +
    // Mandatory, at least one screenshot is required
 +
   
 +
    "data/default-view.png"
 +
  ],
 +
 
 +
  "themedata": {
 +
    // Mandatory, different data can be set for different webOS versions,
 +
    // every supported version must be listed, the components that does
 +
    // not exist in the theme should be removed. Components can contain
 +
    // images, sounds and patches.
 +
 
 +
    // Allowed files at the moment are, images: jpg/png, sounds: mp3/wav
 +
    // and only files that can be patched are css files.
 +
 
 +
    "3.0.0": {
 +
      // You can refer to other version with alias if the version is
 +
      // compatible. At the moment if they differ even the slightest
 +
      // amount you need to create new set, i.e. after alias you can
 +
      // not set any "overrides" at the moment.
 +
   
 +
      "alias": "3.0.2"
 +
    },
 +
    "3.0.2": {
 +
      // Path is always the path in the device and the file path to
 +
      // to the file inside the theme directory.
 +
   
 +
      "app_icons": {
 +
        "images": [
 +
          {
 +
            "path": "/usr/palm/applications/com.palm.app.phone/icon.png",
 +
            "file": "images/icon-phone.png"
 +
          }
 +
        ]
 +
      },
 +
      "app_launcher": {
 +
        "images": [
 +
          {
 +
            "path": "/usr/lib/luna/system/luna-applauncher/images/bg.png",
 +
            "file": "images/search-bg.png"
 +
          }
 +
        ]
 +
      },
 +
      "applications": {
 +
        "sounds": [
 +
          {
 +
            "path": "/media/internal/ringtones/Silent.mp3",
 +
            "file": "sounds/silent.mp3"
 +
          }
 +
        ],
 +
        "patches": [
 +
          {
 +
            "path": "/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css",
 +
            "file": "patches/messaging-css.patch"
 +
          }
 +
        ]
 +
      },
 +
     
 +
      // If the component does not have images, sounds or patches then it can
 +
      // be left out, but these are listed here just as an example what components
 +
      // are supported.
 +
     
 +
      "enyo_widgets": {
 +
      },
 +
      "exhibition": {
 +
      },
 +
      "just_type": {
 +
      },
 +
      "keyboard": {
 +
      },
 +
      "lock_screen": {
 +
      },
 +
      "quick_launcher": {
 +
      },
 +
      "status_bar": {
 +
      },
 +
      "system_menus": {
 +
      },
 +
      "wallpapers": {
 +
        "images": [
 +
          {
 +
            "path": "/media/internal/wallpapers/wallpaper.jpg",
 +
            "file": "images/wallpaper.jpg"
 +
          }
 +
        ]
 +
      }
 +
    }
 +
  }
 +
}
 +
</pre>
 +
<br>
 +
Once the theme is ready you should zip the directory with the directory name, e.g. com.mydomain.test-theme.zip. Its good practice also to include the device type in the zip name as well, e.g. com.mydomain.test-theme-tablet.zip / com.mydomain.test-theme-phone.zip. <br>
 +
<br>
 +
The zip file can be then installed with Theme Manager. Theme Manager unpacks the theme into /media/internal/.themes/ directory where you can even unpack your theme manually while in USB mode or edit/view the already installed themes (when in USB mode you should see .themes directory if you have installed themes).
 +
 
 +
</blockquote>
  
  
Line 77: Line 270:
 
'''Q: What webOS version or device is Theme Manager compatible with?'''
 
'''Q: What webOS version or device is Theme Manager compatible with?'''
 
<br />
 
<br />
A: Theme Manager is available for any device running webOS 2.1 and later. (NOTE: Enyo must be installed for Theme Manager to work. This can be done on older devices by installing the updated Maps app available in the App Catalog.)
+
A: Theme Manager is available for any device running webOS 2.1 and later. '''(NOTE: Enyo must be installed for Theme Manager to work. This can be done on older devices by installing the updated Maps app available in the App Catalog.)'''
 +
</blockquote>
 +
<blockquote>
 +
'''Q: Where can a person find theme's compatible with Theme Manager?'''
 +
<br />
 +
A: While in the application is in beta, themes are being distributed independently. In the future, when the app is stable, a method, such as a preware and/or webosnation feed, will be in place.  '''Some themes that are working with theme manager can be found below.'''
 
</blockquote>
 
</blockquote>
 
  
 
== Resources ==
 
== Resources ==
Line 104: Line 301:
 
</blockquote>
 
</blockquote>
  
 +
== Current Compatible Themes ==
 +
===== Black & White by Sconix and Pink Forever by Sconix =====
 +
<blockquote>
 +
'''Devices:''' Legacy(pre, pre+, Pre2 running 2.1.0), Pre2 (running 2.2.4) Pre3, TouchPad<br />
 +
'''Download:''' [http://rantsis.dyndns.info/public/themes/ Index of Public Themes]
 +
</blockquote>
 +
===== Dark Glass by Michote =====
 +
<blockquote>
 +
'''Devices:''' Legacy(pre, pre+, Pre2 running 2.1.0), Pre2 (running 2.2.4) Pre3, TouchPad, Veer<br />
 +
'''Forum Thread:''' [http://forums.webosnation.com/webos-themes/305424-dark-glass-tm.html WebosNation]
 +
</blockquote>
 +
 +
===== Glass Themes by Garrett =====
 +
<blockquote>
 +
'''Devices:''' Pre3, TouchPad<br />
 +
'''Forum Thread:'''[http://forums.webosnation.com/webos-themes/286646-touchpad-glass-effect-suite-new-post.html Touchpad on WebosNation]<br>
 +
'''Forum Thread:'''[http://forums.webosnation.com/webos-themes/309225-pre3-glass-effect-suite-new-post.html Pre3 on WebNation]
 +
</blockquote>
 +
 +
===== Classic PalmOS by Sketch42 =====
 +
<blockquote>
 +
'''Devices:''' Pre3, TouchPad<br />
 +
[http://dl.dropbox.com/u/19486634/com.sketch42.palmos-tribute.zip PalmOS-TouchPad] [http://dl.dropbox.com/u/19486634/com.sketch42.palmos.pre3.zip PalmOS-Pre3]
 +
</blockquote>
  
 
== Status ==
 
== Status ==
Line 109: Line 330:
 
:'''Changelog'''
 
:'''Changelog'''
 
<blockquote>
 
<blockquote>
:'''0.2.0 - Current Alpha Release''' - (''Oct. 19th, 2011'')
+
:'''1.0.0 - Current Release''' - (''Feb. 5th, 2012'')
:* Added support for phones with enyo
+
:* First public release of Theme Manager
<br />
 
:'''0.1.2''' - (''Oct. 17th 2011'')
 
:* Initial alpha release
 

Latest revision as of 09:48, 5 February 2012

Theme manager.png

Overview

Icon Theme-Manager.png

Theme Manager is a webOS (2.1+ w/Enyo installed) application that brings theme support to your device. Using Theme Manager, you will be able to browse locally downloaded themes and apply them to your device.


Installation

The following information will help you install Theme Manager.


Overview

Stable Releases
The stable releases of Theme Manager can be found in the WebOS-Internals feed and are recommended for general public use.

Alpha/Beta Releases
The alpha/beta releases of Theme Manager can be found in the the WebOS-Internals Alpha or Beta feeds WebOS-Internals Testing Feed.


Method

The following method can be used to install Theme Manager.


Preware
  1. Open Preware
  2. Start typing “Theme Manager” (no quotes)
  3. Tap the Theme Manager from the list
  4. Tap the Install button
  5. Restart your device (optional, but recommended)

Or

  1. Open Preware
  2. Tap Available Packages
  3. Tap Application > System Utilities > Theme Manager
  4. Tap the Install button
  5. Tap the Ok button to restart Luna


Updating

webOS OTA Updates

Since Theme Manager is an app, it is OTA (over-the-air) update safe. When there is an OTA update to a newer version of webOS from your carrier/HP, you do not need to remove the app before updating. Themes applied with Theme Manager are also OTA safe. After an OTA update, you must re-apply the theme. Before applying a new OTA update, you might want to make sure that the themes you use are supported on the new webOS version.


Application Updates

Updated versions of Theme Manager can be applied via Preware.


Usage

Adding Themes to your Device

Theme Manager compatible themes come in two types: ZIP and IPK. Themes need to be added to your device before they can be accessed in Theme Manager.

ZIP Compatible Themes
To add a ZIP theme to your device, save the ZIP package to the Downloads folder on the USB partition of your device.

IPK Compatible Themes
To add an IPK theme to your device, save the IPK package to the USB partition of your device.


Installing Themes to the Theme Library

Once themes are added to your device, they must be installed into the Theme Library so they can be accessed in Theme Manager.

ZIP Compatible Themes

  1. Tap or Swipe down the Application Menu (left of the screen/top bar)
  2. Tap Theme Library
  3. Tap Install New Themes
  4. Tap one or multiple ZIP themes in the file picker
  5. Tap Ok



IPK Compatible Themes

  1. Install the IPK package with Preware
Note: If you have Theme Manager already open, you'll need to rescan for the newly installed theme(s).
  1. Tap or Swipe down the Application Menu (left of the screen/top bar)
  2. Tap Theme Library
  3. Tap Re-Scan All Themes


Applying your Theme(s)

Now that you have your theme(s) added to your device and installed in the Theme Library, you can start applying the themes or various components from many themes to your device. (NOTE: Be sure to remove any previous "non supported/non Theme Manager" themes prior to applying new themes with Theme Manager!)

Applying A Complete Theme

  1. Browse (swipe) to the theme you wish to apply.
  2. Tap the Select This Theme button
  3. Tap the Apply Current Theme button



Selecting Various Components From Many Themes

  1. Browse (swipe) to the theme you wish you select components from
  2. Scroll down to and tap the Theme Components section
  3. Tap the checkbox to select the components you wish to apply
  4. Tap the Select Components button (Note: Repeat the above steps to select components from other themes before you apply the custom theme.)
  5. Tap the Apply Current Theme button


Making Themes

First you should create a directory for your theme and you should name it in the following style to avoid any conflict with other themes: com.domain.theme-name (e.g. org.webosinternals.simple-test-theme). Even the theme can be set to support different devices you should make separate theme for different types of devices, i.e. most likely nobody wants to have files for TouchPad installed in his phone for example.

The hierarchy inside of that directory is free but the example below uses following hierarchy (the theme.json file is the only one required and has to be named as theme.json):

org.webosinternals.simple-test-theme/
  data/
  images/
  patches/
  sounds/
  theme.json


Then the contents of the theme.json file is as below. The optional stuff if not used can be left out. You should make sure that the file contains valid json, i.e. don't use tabs or make typos :). Also you should leave out the comments.

{
  "name": "Theme Name", // Mandatory
  "version": "1.0.0", // Mandatory
  
  "description": "Description for the theme.", // Mandatory

  "creator": "Authors Name", // Mandatory
  "website": "", // Mandatory but can be left empty

  "donations": "", // Optional donation link

  "devices": [
    // Mandatory list of supported devices, valid devices are
    // emulator, touchpad, veer, pre3, pre (= pre,pre+,pre2)
    
    "emulator",
    "touchpad"
  ],

  "screenshots": [ 
    // Mandatory, at least one screenshot is required
    
    "data/default-view.png"
  ],

  "themedata": { 
    // Mandatory, different data can be set for different webOS versions, 
    // every supported version must be listed, the components that does 
    // not exist in the theme should be removed. Components can contain 
    // images, sounds and patches.

    // Allowed files at the moment are, images: jpg/png, sounds: mp3/wav 
    // and only files that can be patched are css files.
  
    "3.0.0": {
      // You can refer to other version with alias if the version is 
      // compatible. At the moment if they differ even the slightest
      // amount you need to create new set, i.e. after alias you can
      // not set any "overrides" at the moment.
    
      "alias": "3.0.2"
    },
    "3.0.2": {
      // Path is always the path in the device and the file path to
      // to the file inside the theme directory.
    
      "app_icons": {
        "images": [
          {
            "path": "/usr/palm/applications/com.palm.app.phone/icon.png",
            "file": "images/icon-phone.png"
          }
        ]
      },
      "app_launcher": {
        "images": [
          {
            "path": "/usr/lib/luna/system/luna-applauncher/images/bg.png",
            "file": "images/search-bg.png"
          }
        ]
      },
      "applications": {
        "sounds": [
          {
            "path": "/media/internal/ringtones/Silent.mp3",
            "file": "sounds/silent.mp3"
          }
        ],
        "patches": [
          {
            "path": "/usr/palm/applications/com.palm.app.messaging/stylesheets/messaging.css",
            "file": "patches/messaging-css.patch"
          }
        ]
      },
      
      // If the component does not have images, sounds or patches then it can
      // be left out, but these are listed here just as an example what components
      // are supported.
      
      "enyo_widgets": {
      },
      "exhibition": {
      },
      "just_type": {
      },
      "keyboard": {
      },
      "lock_screen": {
      },
      "quick_launcher": {
      },
      "status_bar": {
      },
      "system_menus": {
      },
      "wallpapers": {
        "images": [
          {
            "path": "/media/internal/wallpapers/wallpaper.jpg",
            "file": "images/wallpaper.jpg"
          }
        ]
      }
    }
  }
}


Once the theme is ready you should zip the directory with the directory name, e.g. com.mydomain.test-theme.zip. Its good practice also to include the device type in the zip name as well, e.g. com.mydomain.test-theme-tablet.zip / com.mydomain.test-theme-phone.zip.

The zip file can be then installed with Theme Manager. Theme Manager unpacks the theme into /media/internal/.themes/ directory where you can even unpack your theme manually while in USB mode or edit/view the already installed themes (when in USB mode you should see .themes directory if you have installed themes).


Troubleshooting/FAQs

Q: What webOS version or device is Theme Manager compatible with?
A: Theme Manager is available for any device running webOS 2.1 and later. (NOTE: Enyo must be installed for Theme Manager to work. This can be done on older devices by installing the updated Maps app available in the App Catalog.)

Q: Where can a person find theme's compatible with Theme Manager?
A: While in the application is in beta, themes are being distributed independently. In the future, when the app is stable, a method, such as a preware and/or webosnation feed, will be in place. Some themes that are working with theme manager can be found below.

Resources

Supporting Development

Btn donateCC LG.gif

Official Developer Project Page
Official Forum
Official Twitter Account

Current Compatible Themes

Black & White by Sconix and Pink Forever by Sconix

Devices: Legacy(pre, pre+, Pre2 running 2.1.0), Pre2 (running 2.2.4) Pre3, TouchPad
Download: Index of Public Themes

Dark Glass by Michote

Devices: Legacy(pre, pre+, Pre2 running 2.1.0), Pre2 (running 2.2.4) Pre3, TouchPad, Veer
Forum Thread: WebosNation

Glass Themes by Garrett

Devices: Pre3, TouchPad
Forum Thread:Touchpad on WebosNation
Forum Thread:Pre3 on WebNation

Classic PalmOS by Sketch42

Devices: Pre3, TouchPad
PalmOS-TouchPad PalmOS-Pre3

Status

Changelog
1.0.0 - Current Release - (Feb. 5th, 2012)
  • First public release of Theme Manager