Theming CrunchBang Linux

Note: This page is very much a work in progress, so should be considered incomplete. Please contribute any handy hints, tips and links you have specific to CrunchBang. :-D

You are welcome to edit the wiki page yourself, or just leave some feedback at the forum thread. Thx.

Introduction

This entry is aimed at orienting the aspiring theme designer.

A look at some user customised CrunchBang screenshots from the forums will give you an idea of how much can be done.

Some generally useful links
  • Try box-look.org (and gnome-look.org) for a huge selection of themes, icons, and all the rest
  • deviantART has a fantastic selection of customization resources, inspiration and downloads
  • The font used in the #! CrunchBang Linux official logo is 'FreeSans'.
  • ScrnShots is a great resource when searching for inspiration
  • Iconfinder and IconLook are two good resources for icon designers

Icons & Inkscape

How to change your icon theme

Download your new icon theme and extract the contents to either /usr/share/icons for global (all users) or ~/.icons/ for your own use. Select your new theme from Preferences > User Interface Settings (under the Icon Theme tab, naturally).

To change cursor theme

In the command line, enter:

update-alternatives --config x-cursor-theme

You should be presented with a list of all the cursor themes you have installed. Enter the number of the theme you want, or press enter to stick with what the current cursors. Then logout/restart to apply.

Inkscape

SVG is the W3C standard vector format for icons on Linux. Inkscape is a vector graphics editor, with capabilities similar to Illustrator, CorelDraw, or Xara X.

Links:

Wallpapers, Nitrogen & The GIMP

Nitrogen (Preferences > Choose Wallpaper) is a background browser and setter for X windows. Move any wallpaper images into ~/images/wallpapers, and then select them from Nitrogen. The wallpapers supplied with CrunchBang are stored in /usr/share/backgrounds.

Although you can create wallpaper artwork in any graphics application, GIMP (the GNU Image Manipulation Program) will probably be the key piece of software in your arsenal. It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring.

Links:

GDM (GNOME Display Manager)

GDM is a login manager (the splashscreen) that you use to login in, it starts all the desktop processes.

Links:

OpenBox

OpenBox is the window manager. It draws the windows and their parts like the close button. It also handles the drawing of the dialog boxes. (Ubuntu uses GNOME and MetaCity)

Links:

Configuring OpenBox with ObConf

ObConf (Preferences > Openbox config > GUI Config Tool) installs themes which use the .obt Openbox theme archive format for distribution. Open any .obt theme archive in your file browser, or use the interface provided inside ObConf.

You can also use ObConf to create .obt Openbox theme archives for distributing your own themes.

Links:
  • ObConf guide on the OpenBox wiki

Conky

Conky is an advanced, highly configurable system monitor for X - a widget that draws text information dynamically on the desktop. Read more on the Conky page.

Links:

GTK+ (The GIMP Toolkit)

GTK+ is a cross-platform widget toolkit for creating graphical user interfaces. It is one of the most popular toolkits for the X Window System, along with Qt. (KDE mostly uses Qt)

Changing your GTK+ theme

You can alter your theme quite easily through the User Interface Settings dialog (lxappearance). To alter the root theme (you may want to make it distinct as a visual indication that you have root powers), enter:

gksudo lxappearance

To begin creating your first theme, you can start by copying the CrunchBang theme to your home .themes directory 1), and experimenting from there.

cp -R /usr/share/themes/CrunchBang ~/.themes/new-theme-name
Links:

Qt (The "cute" Toolkit)

Using the same theme as GTK (Beta)

QGtkStyle now included with Qt 4.5 and later.

After installing Qt 4.5 or later, run the QT4Config tool, and change the style to “GTK”

qtconfig-qt4

X Window System

X handles all of the graphics underneath Openbox, or any window manager system (like GNOME, KDE, IceWM) etc. It handles the communication between the kernel and the various peripherals like the monitor, scanner, mouse etc.

From Wikipedia:

The X Window System (commonly X or X11) is a computer software system and network protocol that provides a graphical user interface (GUI) for networked computers. It implements the X display protocol and provides windowing on raster graphics (bitmap) computer displays and manages keyboard and pointing device control functions. In its standard distribution, it is a complete, albeit simple, display and human interface solution, but also delivers a standard toolkit and protocol stack for building graphical user interfaces on most Unix-like operating systems and OpenVMS, and has been ported to many other contemporary general purpose operating systems. All modern GUIs, such as GNOME, KDE, and Xfce, developed for Linux and other UNIX-like system use the X Window System as a foundation.

Panels, taskbars, application launchers, etc.

LXPanel

Lightweight X11 desktop panel. It's the default desktop panel of LXDE project: http://lxde.sourceforge.net/

PyPanel

PyPanel is a lightweight panel/taskbar for X11 window managers. It can be easily customized to match any desktop theme or taste.

tint2

tint2 is a simple panel/taskbar intentionally made for openbox3, but should also work with other window managers.

The goal is to keep a clean and unintrusive look with code lightweight and compliance with freedesktop specifications.

ADeskBar

ADesk Bar is an easy, simple, unobtrusive application launcher.

Wbar

This is an attractive Mac-style animated taskbar, that is easy on the resources.

Other applications

Gwibber

Firefox themes

Possible structure for article:

  • Intro
  • The basics (GUI Config Tool, User Interface Settings, Nitrogen)
  • The different components that make up #!CB, and how to customise them
  • Theming addons, accessories, panels and misc.
  • Designing wallpapers, icons
  • Some links to theory on good icon design, UI design, colour etc.
 
theming.txt · Last modified: 2010/03/18 16:35 by benj1
 

Copyright © 2010 CrunchBang Linux. Some rights reserved.