Compilation Instructions

The code can be found here: https://codeberg.org/x11cp/x11cp.git

git clone https://codeberg.org/x11cp/x11cp.git && cd x11cp/src/xtartan

Direct compilation

To compile this application, the following command should be used:

xmkmf -a && make

Toplevel Makefile

There is also a wrapper command in the top-level `Makefile` of the repository where this is can be run as:

make xtartan

The following libraries/dependencies are also required. The names of these will vary from each Linux distribution/BSD, hence the names of these libraries are generically specified:


xtartan is a program written to display Scottish tartan patterns.

Pressing the Space bar will cycle through the different tartans.

From the README:

Gif file support, using the GD library (recommend version 1.2).  Files
created are named just like the Xpm files, but with ".gif" for a suffix.

XTartan can now install tartans onto the root window during interactive
mode.  At present, this can only happen once due to the mysterious
relationship between X Windows and Pixmaps.  I'm working on making it more

App-Default file "XTartan" does not need to be installed.  Tartans are now
embedded in as Fallback resources.  This option can be turned off in the
Imakefile.  Note, if using this feature, any OLD xtartan installation will
need to be removed.

New Tartans:
Wallace_Hunting (green), Wallace_Blue, "Mine" (based on a cotton flanel
blanket I use for a great kilt in SCA events).