Files
window-maker.github.io/themes/theme-HOWTO-tar.html

108 lines
3.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Window Maker: Theme HOWTO - Tar'ing your theme</title>
<meta charset="utf-8">
<link rel="stylesheet" href="/style.css" media="screen">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport"
content="width=device-width, minimumscale=1.0, maximum-scale=1.0">
</head>
<body>
<div id="wrapper">
<header>
<h1>
<a href="/">
<span class="first">Window</span><span class="second">Maker</span>
</a>
</h1>
</header>
<aside>
<nav class="menu">
<ul>
<li id="dock">
<a href="#"></a>
</li>
<li id="home" title="Home">
<a href="/">Home</a>
</li>
<li id="news" title="News">
<a href="/news">News</a>
</li>
<li id="docs" title="Documentation">
<a href="/docs">Documentation</a>
</li>
<li id="mail" title="Mailing lists">
<a href="/lists">Mailing</a>
</li>
<li id="devel" title="Development">
<a href="/dev">Development</a>
</li>
<li id="screenshots" title="Screenshots">
<a href="/screenshots">Screenshots</a>
</li>
<li id="themes" title="Themes">
<a href="/themes">Themes</a>
</li>
<li id="links" title="Links">
<a href="/links">Links</a>
</li>
</ul>
</nav>
</aside>
<article>
<br />
<br />
Here's a quick guide to tar'ing your theme up:<br>
cd to your <tt>~/GNUstep/Library/WindowMaker/</tt> directory, and type something like
the following: (replacing the file names appropriately for your theme)
</font>
<p>
<ol>
<li> <tt>tar -cvf Foo.tar Foo.lsm Backgrounds/FooBG.jpg Pixmaps/FooTile.xpm
Icons/FooIcon.xpm Themes/Foo</tt>
<br><br>
<li> <tt>gzip -9 Foo.tar</tt>
<br><br>
</ol>
This should leave you with a nice new <tt>Foo.tar.gz</tt> theme which includes (in this case),
the theme file (<tt>Themes/Foo</tt>), the background wallpaper (<tt>Backgrounds/FooBG.jpg</tt>),
a tile (<tt>Pixmaps/FooTile.xpm</tt>), an icon for the dock (<tt>Icons/FooIcon.xpm</tt>)
and a readme file (<tt>Foo.lsm</tt>).<br>
LSM files for your themes are a must. The format of the LSM file is
easy. Click <a href="example-lsm.txt">here</a> for an example.
<p>
If you're having trouble, try typing '<tt>man tar</tt>' or ask for help on irc
in the #WindowMaker channel on EFnet. If all else fails, you can
<a href="/lists/wmaker-dev.html">contact us</a> and we'll try and help you out,
but please try the other methods first. Thanks.
<p>
Also, your theme file should NOT include your <tt>~/GNUstep/Defaults/WindowMaker</tt>
file! This will overwrite the person who downloads the theme's keybindings
and other personalized settings.
Also do NOT include any files other those from the directories I mentioned
above. For example, do NOT include your <tt>menu</tt> file or anything from your
<tt>~/GNUstep/Defaults/</tt> directory. ONLY include files from the directories
listed above and the readme.lsm file.
</article>
<div id="titlebar">
<div id="minimize"></div>
<div id="titlebar-inner">Window Maker: Theme HOWTO - Tar'ing your theme</div>
<div id="close"></div>
</div>
<div id="resizebar">
<div id="resizel"></div>
<div id="resizebar-inner">
</div>
<div id="resizer"></div>
</div>
</div>
</body>
</html>