1 <html xmlns
="http://www.w3.org/1999/xhtml">
3 <meta name
="generator" content
="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org" />
5 <title
>Window Maker
: Themes
</title
>
6 <meta http
-equiv
="Content-Type" content
="text/html; charset=us-ascii" />
7 <link href
="title.css" rel
="stylesheet" type
="text/css" />
11 <?php
include("dock.php"); ?
>
12 <?php
include("header.php"); ?
>
14 <table
class="inner" border
="0" cellpadding
="1" cellspacing
="1">
16 <td content
="content" colspan
="2" valign
="top">
21 <h1
>ThemePacks HOWTO
</h1
>
23 <h2
>Themes (Theme Packs
) For Window Maker
</h2
>
25 <b
>Note
:</b
> the information contained in this file is only valid
for themes
26 in the
<tt
>.themed
</tt
> (for theme directory
) format
, supported in
27 Window Maker
0.50.0 or newer
. See
<a href
="theme-HOWTO.php">here
</a
> for
28 information on themes
for WindowMaker
-0.20.3 and earlier
.
32 <h2
>How To Install a Theme Pack
</h2
>
34 To install a theme
, unpack your theme into your
<tt
>WindowMaker
</tt
> directory
35 (the same
as old
-style themes
), usually
<tt
>~
/GNUstep
/Library
/WindowMaker
</tt
>
37 <tt
>cd ~
/GNUstep
/Library
/WindowMaker
</tt
><br
>
38 <tt
>gzip
-dc
"xyztheme.tar.gz" | tar xvf
-</tt
>
40 You can also
do this in your system
-wide
<tt
>WindowMaker
</tt
> directory (usually
41 <tt
>/usr
/local
/share
/WindowMaker
</tt
>) to have the themes be available to all
42 your users
. This will probably need to be done with root access
.
46 <h2
>How To Load a Theme
</h2
>
47 After installing a theme
, it will automatically show up in your menu under
<b
>Appearance
-> Themes
-> ThemeName
</b
>.
48 (unless of course you have manually changed your menu to remove this
) If you have your Themes menu already opened
and
49 pinned to your desktop
, you may need to close it
and reopen it to have it show the
new theme
.
51 To manually load the
new theme from the command line
, use the
<tt
>setstyle
</tt
> command
. Example
:
53 <tt
>setstyle xyztheme
.themed
</tt
>
55 Note that
if you move the directory of the
theme (for example
, from
56 <tt
>~
/GNUstep
/Library
/WindowMaker
/Themes
</tt
> to
<tt
>/usr
/local
/share
/WindowMaker
/Themes
</tt
>)
57 you will have to reload that theme so that path information is updated
.
61 <h2
>How To Make a Theme Pack
</h2
>
62 To create a theme pack from your current configuration
, use the
<tt
>getstyle
</tt
>
63 utility with the
<tt
>-p
</tt
> flag
. Example
:
65 <tt
>getstyle
-p ~
/GNUstep
/Library
/WindowMaker
/Themes
/MyTheme
</tt
>
67 This will create a theme
pack (a
new directory in either the current
68 directory
or a directory you specify
) named
<tt
>MyTheme
.themed
</tt
>, containing
69 everything it requires
, including all pixmap files
. In this example
,
70 the
new theme pack would be made in your
<tt
>themes
</tt
> directory
and be
71 immediately available in your
"Themes" menu
.
73 Additionally
, you can put a text file named
<tt
>MyTheme
.lsm
</tt
> in the
<tt
>MyTheme
.themed
</tt
>
74 directory
. This file can contain info like copyrights
, credits
or whatever
.
76 To distribute your theme
, just make a
<tt
>.tar
.gz
</tt
> of the
<tt
>.themed
</tt
> directory
.
77 This is preferably done from the same directory that you unpack the themes
78 from to maintain consistancy with the old theme format
.
82 <tt
>cd ~
/GNUstep
/Library
/WindowMaker
</tt
><br
>
83 <tt
>tar cvf MyTheme
.tar Themes
/MyTheme
.themed
</tt
><br
>
84 <tt
>gzip MyTheme
.tar
</tt
>
88 <h2
>How To Delete a Theme Pack
</h2
>
89 Just remove the
<tt
>.themed
</tt
> directory
. Example
:
91 <tt
>cd ~
/GNUstep
/Library
/WindowMaker
/Themes
</tt
><br
>
92 <tt
>rm
-fr themename
.themed
</tt
>
96 <h2
>How To Save Disk Space
</h2
>
97 If you have more than
1 theme that
use the same huge background image
,
98 you can delete all the duplicated files
and then create hard links in
99 place of them
. For example
, if you have
:
101 <tt
>theme1
.themed
/back
.jpg
</tt
>
103 <tt
>theme2
.themed
/backimage
.jpg
</tt
>
105 <tt
>theme3
.themed
/back
.jpg
</tt
>
107 and all three files contain the same image
, you can
do:
109 <tt
>rm theme2
.themed
/backimage
.jpg
</tt
><br
>
110 <tt
>rm theme3
.themed
/back
.jpg
</tt
><br
>
111 <tt
>ln theme1
.themed
/back
.jpg theme2
.themed
/backimage
.jpg
</tt
><br
>
112 <tt
>ln theme1
.themed
/back
.jpg theme3
.themed
/back
.jpg
</tt
>
121 <?php
include("footer.php"); ?
>