How to Create Custom Frames - Kirocker Music Display

Kirocker Music Display 4.0 introduced themes.
However, there is no graphics way to create or modify frames.
This is omitted in order to save my developing time, and because creating new frames is not so common and not so hard to do by hand.
Here is how to create new frames manually.

Folder Location

The default frames are generally installed in sub-folders here: /usr/share/apps/kirocker/frames/.
To create a new frame, copy one of the folders to your home folder here: ~/.kde/share/apps/kirocker/frames/.
If one or several sub-folders do not exist, create them.
Make sure the folder name of your new frame is different of the original folder and any other existing one.

Image & Configuration File

Provide an image named frame.png.
Then edit the file kirocker-frame.config:
The goal of this file is to let the application always position your frame so that the user do not have to enter any padding pixels. When the user choose your frame, for any part of the screen he wants, the frame should always be well placed as she meant. For that, Kirocker Music Display need to know the following information:

Making the Frame Appear in Kirocker Music Display

To make the frame appear in the theme editor, you need to restart Kirocker Music Display or Kicker.
If you use the applet on your panel, use the command "dcop kicker default restart".
Overwise, simply close Kirocker Music Display and show it again.

Sharing

Your custom frames are automatically exported with themes that use them.
New frames will be installed on computers where they do not exist yet.