Theming

As you probably know, CTWM is a highly configurable window manager. Spending hours configuring CTWM is among the most fun one can have, if you ask me. But it's always nice to have something to start from. Thus, this section contains "themes" from CTWM.

Themes are a well-known concept with most window managers, but not really with CTWM. What I refer to as a theme in this section is the following: a .ctwmrc file (of course), an .xinitrc file (if needed to make the right impression) and the pixmaps one might need to get the right look. If you supply a theme for this site, you should also supply a screenshot in jpeg- or png-format.

(Instead of the rudimentary theme-system introduced below, you might want to use the "CTWM Themes System" by Reivax. Follow the link on the links page.)

A good idea if you want to use many different themes on your computer is to make ctwm-themes a subdirectory of your $HOME and to put your themes in subdirectories according to their name. Put all relevant files in there. Example:

ctwm-themes/win98:
totalt 79
drwxr-xr-x   2 dali     101          1024 Sep  6 09:05 .
drwxr-xr-x   4 dali     101          1024 Sep  6 07:49 ..
-rw-r--r--   1 dali     101         24747 Sep  6 09:01 .ctwmrc
-rwxr-xr-x   1 dali     101          1549 Sep  3 13:00 .xinitrc
-rw-r--r--   1 dali     101         44972 Sep  6 09:05 blue4.xpm
-rw-r--r--   1 dali     101           478 Sep  6 09:00 kill.xpm
-rw-r--r--   1 dali     101           485 Sep  6 09:00 winmaximize.xpm
-rw-r--r--   1 dali     101           485 Sep  6 09:00 winminimize.xpm
-rw-r--r--   1 dali     101           475 Sep  6 09:00 x.xpm

Available themes

Name Screenshot(s) Download .ctwmrc Notes Update
Clearblue clearblue.tar.gz .ctwmrc Configured for 1152x864, requires xclock, xlogo and xload. (1.1)
Gnome gnome.tar.gz .ctwmrc Configured for 1152x864, requires Gnome. (1.1)
Window 98 win98.tar.gz .ctwmrc Configured for 1152x864. (1.0)
CTDesk ctdesk.tar.gz .ctwmrc Configured for 1152x864, requires xclock, xlogo and xload. (1.0)
Noir noir.tar.gz .ctwmrc Configured for 1152x864, good keybindings, requires eterm, xload and xclock (1.1)
Du du.tar.gz .ctwmrc Configured for 1152x864, even better keybindings, requires eterm, xload, asclock, xlogo and xv (1.0)
Marco marco.tar.bz2 .ctwmrc Configured for 1024x768, requires Emiclock. (Thanks Marco) (1.1)
Neo-Classic neo-classic.tar.gz .ctwmrc Barebones ctwmrc. (Thanks to Mikael Cardell) (1.0)
MC .ctwmrc Barebones ctwmrc. (Thanks to Mikael Cardell) 2003-01-29
Tabular tabular_ctwm.tar.bz2 .ctwmrc (Thanks to Michael George) 2003-06-04

Theme install script

To avoid having to move and link to the right .ctwmrc and .xinitrc every time you want to change theme, put this script in your path (suggested name ctwmtheme):

#!/bin/sh
mv .ctwmrc .ctwmrc.old
mv .xinitrc .xinitrc.old
ln -s ctwm-themes/$1/.ctwmrc .
ln -s ctwm-themes/$1/.xinitrc .

The script takes a theme name as its only argument. Example:

# ctwmtheme win98

(this would make win98 become the theme next time I start ctwm.)