K3b - The CD/DVD Kreator for Linux - optimized for KDE - licensed under the GPL
Caution: This documentation refers to K3b version 1.0pre2 and above.
How to create a Theme for K3b

K3b is themeable in a restricted way. A theme consists of a bunch of pixmaps in png format used in certain places in K3b as described below and a background and foreground color.

A good starting point is to take a look at the crystal theme that comes with K3b.

Following a list of the pixmaps that need to be created for a theme.

The Media info pixmaps:
All media info pixmaps should have the same size.

  • media_none.png
    A pixmap used in the media info header when no media is inserted.
  • media_empty.png
    A pixmap used in the media info header when an empty media is inserted.
  • media_audio.png (Example)
    A pixmap used in the media info header when an audio CD is inserted.
  • media_data.png
    A pixmap used in the media info header when a data CD or DVD is inserted.
  • media_mixed.png
    A pixmap used in the media info header when a mixed mode CD is inserted.
  • media_video.png
    A pixmap used in the media info header when a Video DVD is inserted.
  • media_left.png
    A pixmap used in the media info header on the left side.

Progress Dialog pixmaps:

  • progress_working.png (Example)
    A pixmap shown in the top right of the progress dialog while K3b is working.
  • progress_success.png
    A pixmap shown in the progress dialog in case of progress_working.png when the process succeeded. This pixmap should have the same size as progress_working.png.
  • progress_fail.png
    A pixmap shown in the progress dialog in case of progress_working.png when the process failed. This pixmap should have the same size as progress_working.png.
  • progress_right.png (Example)
    A pixmap shown in the progress dialog on the right side.

Project header pixmaps:

  • project_left.png
    A pixmap shown on the left side of the project header.
  • project_right.png
    A pixmap shown on the right side of the project header. This pixmap should have the same size as project_left.png.

Action Dialog pixmaps:
(In the themes that come with K3b these are the same as media_left and media_none.)

  • dialog_left.png (Example)
    A pixmap shown in the upper left of every K3b action dialog (for example the CD Copy dialog).
  • dialog_right.png (Example)
    A pixmap shown in the upper right of every K3b action dialog.

Miscellenous pixmaps:

  • splash.png
    The K3b splash screen. The splash screen's size will be adjusted according to the pixmaps's size.
  • welcome_bg.png
    A pixmap used as background for the welcome window. This pixmap can have an arbitrary size as it is used to tile the background of the welcome window.

Every theme needs a k3b.theme file which allows K3b to properly detect the theme. A k3b.theme file looks as follows:

Author=Everaldo
Backgroundcolor=139,153,222
Foregroundcolor=255,255,255
Comment=The cool crystal theme
Version=1.0

Tip: If you want K3b to use the window decoration colors from the current KDE color scheme simply remove the color entries from the theme file. This can be combined with transparent images to create a theme that adjusts to the current KDE color scheme.

All the pixmaps together with the k3b.theme file need to be put in a folder (and then for example be packaged as a tar.bz2 archive). The name of the folder will be used as an internal name for the theme in K3b.

K3b is developed by:

Michał Małek
Developer (Current Maintainer)

Sebastian Trueg
Developer (Project Creator)

Christian Kvasny
Developer

Gianluca Varisco
Package Manager

Website powered by:

Get K3b - The CD Creator for KDE at SourceForge.net. Fast, secure and Free Open Source software downloads

WebGUI

Want more Tux by Ayo, it's here ;)

Supported by:

Mandriva

All-Freeware

Fileheap

Download Junction

Please support K3b:

PayPal - The safer, easier way to pay online!

Page Login:




Click here to register.

Listed at ABC

Supershareware

Copyright (C) 2006-2009 Sebastian Trüg