Making themes

Contents

Purpose

This tutorial is to help people make new themes. I have had several people ask me how to make new themes. Creating a theme is very easy; all you need is a image editing program like Photoshop, GIMP, Paintshop Pro, or any other. I prefer one that has Layers and other advance features but any will work. You will also need to download the theme maker from the Garage download page.

Guide

Making a binary package

Step 1 - unzip the folder to your computer. (I keep the Theme maker folder on my desktop since that is where the program creates the theme files and it’s easy to get to).

Step 2 - look into the folder there is an a file called NuvoPearl-template.psd that is the file you will edit to make your new theme. Open it up with your image editor.

Step 3 - Edit this file to look like what ever you want your theme to look like (I wont go into how to edit the file in this document but I normally do layers over the background image this has several advantages over just editing the image.)

Step 4 - save your file twice once in the .psd format and once in the .png format.

Next Open MaemoThemeMaker.jar

Image:Thememaker1.png

Step 5 - Make the theme file.

5.1 Enter Theme Name Max Length 9 Characters.

5.2 Enter Your Name or Screen Name if you wish to use that instead.

5.3 Select Theme Background File.

5.4 Select Theme Source File(Select the .png formatted file.)

5.5 Layout for Theme is Chinook (Still works for Diablo)

5.6 Theme Version ( I normally start with 0.1)

5.7 Top Bar Height need to be at least 45 pixels but I always do 60 so the Top bar is always the same size since home view will always be 60.)

5.8 I normally go with 12 or higher for system font.

5.9 I notice anything over 20 and things start to get misshaped do to font size.

5.10 I normally got with 12 or so on Title font also.

5.11 I don’t use this but it just makes your borders smaller.

Step 6 - Click Build Theme Tab then Build Theme!

Image:Thememaker2.png

Once Progress bar hits 100% (sometimes I get a popup saying its done sometimes I don’t) you will find your theme files in the ThemeMaker Folder you unzip earlier.

Step 7 - Upload that file to your Tablet or Web and Install. Then share with everyone else.

Making a source package

Prerequisites

  • 7zip
  • Filezilla
  • Script to build source deb

Download and Install to (n8x0 tablet):

  • Py2deb
  • Gainroot
  • ssh server

Extract Data File

  • Now right click on your .deb file > 7zip > Extract Here

That will give you two files control.tar and data.tar.

  • Right Click on data.tar.gz > 7zip > Extract Here

That will give you data.tar

  • Right Click on data.tar > 7zip > Extract Here

That will give you a folder called usr

  • Now Create a new folder called src and move folder usr into that folder.
  • Next edit the py2deb script you downloaded earlier


  • Upload source data to tablet
  • Connect to tablet using filezilla
  • Create folder called build in MyDocs Folder
  • Upload src folder and py2deb script to build folder.

Build Source

  • Open xterm on tablet
  • Type the following commands in xterm
sudo gainroot
cd /home/user/MyDocs/build
python build_myapp.py
  • Follow the instructions given in xterm
  • Refresh view on filezilla > View > Refresh

Upload Source to extras-devel

  • Download themename.changes, themename.dsc, and themename.tar.gz files
  • Go to the Extras Assistant
  • Login and follow steps to upload files an add files to builder queue.
  • Wait about 30 minutes then your files will be on extras-devel.

Further information