Update for 0.51.0
[wmaker-crm.git] / FAQ
blobaf233181a99f8a37af352d77ab44969c1faad678
2 WindowMaker FAQ
3 ====================================================================
4 Last modified: Thursday November 26 12:50PM EST 1998 
6 the latest info can be found at
7 http://www.dpo.uab.edu/~grapeape/wmfaq.html or
8 http://wm.current.nu/wmfaq/
9 --------------------------
11 Summary of Contents:
13 1 - Introduction 
14      1.1 What is Window Maker? 
15      1.2 Where can I get Window Maker? 
16      1.3 Where are the mailing list archives? 
17      1.4 Where is more documentation on configuring Window Maker? 
18      1.5 What is an App Icon? 
19      1.6 How can I get a question added to the FAQ? 
20      1.7 How do I report bugs? 
21      1.8 Is there an anomymous cvs server? 
23 2 - Installation 
24      2.1 Where can I get proplist.h? 
25      2.2 Why do no icons show up after installing Window Maker 0.15.0
26          when I've followed all the directions? 
27      2.3 How do I get libtiff to work? 
28      2.4 How do I get libjpeg to work? 
29      2.5 How do I get libpng to work? 
30      2.6 How do I get libgif (or libungif) to work? 
31      2.7 Does wmsound work with 0.1x.x? 
32      2.8 Can I use WindowMaker with KDE or GNOME or CDE? 
33      2.9 How do I get Window Maker working with xdm in Redhat 5.[01]? 
34      2.10 Do I need to rerun wmaker.inst with every new version of
35           Window Maker? 
36      2.11 When I install Window Maker, I've used wmaker.inst correctly
37           and I only get aroot menu with xterm and exit. How do I fix this? 
38      2.12 How do I get Window Maker to use more than 16 colors on my
39           SGI Indy Workstation? 
40      2.13 Using WindowMaker with Solaris 2.6 CDE 
41      2.14 How do I switch CDE's windowmanager to use Window Maker?
42      2.15 When I run wmaker it quits complaing about something
43           "__register_frame_info".
44      2.16 When I run wmaker it complains about something like library is
45           62, caller expects 61
47 3 - Usage 
48      3.1 How do I get new apps on the dock (The line of pixmaps on the
49          right side of the screen by default) 
50      3.2 What is the difference between the Exit and Exit Session Option?
51      3.3 How do I "dock" AppIcons on the Clip? 
52      3.4 Why do none of my Key Bindings work in Window Maker 0.1x.x 
53      3.5 How do I rename workspaces? 
54      3.6 How can I resize a window if the window is larger than my currect
55          desktop? 
56      3.7 How do I "undock" AppIcons? 
57      3.8 I docked an application but when I run it the button is permanently
58          shaded and I can't run new instances.
59      3.9 When I run wmaker it complains about not being able to load any
60          fonts.
61      3.10 When I set the root background with wmsetbg by hand it works,
62          but when I do that from the configuration files it doesnt!
64 4 - Configuration 
65      4.1 What are those files inside my ~/GNUstep directory? 
66      4.2 How do I enable the normal X sloppy focus mode? 
67      4.3 How do I get my auto-arrange icons to work? 
68      4.4 How do I get my Meta-Tab to cycle through windows correctly? 
69      4.5 How can I define my own Icon for a program? (instead of the Icon
70          the Application Supplies?) 
71      4.6 How do I get a pixmap background for my appicons (those things
72          in the dock)? 
73      4.7 How do you dock <insert program here> that doesn't have an
74          appicon in the new version of Window Maker? 
75      4.8 How do I get x11amp to not have a title bar? (or any other
76          program for that matter?) 
77      4.9 How do I set a pixmap background? 
78      4.10 Can I put pixmaps in my root menu and title bars? 
79      4.11 How do I get my Minimize Icon to look like the triangle I see in
80           screenshots? 
81      4.12 How do I get superfluous bells and whistles working? 
82      4.13 How do I get my oldstyle back? 
83      4.14 How do I get the window menu with only a two button mouse? 
84      4.15 How do I edit my root menu? 
85      4.16 How can I set dock/clip to use single click to launch applications,
86           instead of double click?
88 5 - Other Applications 
89      5.1 How do I assign gimp an appicon? 
90      5.2 How do I get an appicon for XEmacs 20.3+? 
91      5.3 Where do you get that clock program I always see on people's
92          desktops? 
93      5.4 How do you dock asclock? 
94      5.5 How do you dock wmload? 
95      5.6 What other apps exist for the dock? 
96      5.7 How do I get an appicon for rxvt so I can dock it? 
97      5.8 How do I get different icons for rxvt's (or xterms) running different
98          programs? 
99      5.9 How do I launch multiple instances of XTerm from one appicon? 
100      5.10 How do I allow Alt+# to work in an rxvt session? (with irc for
101           example) 
102      5.11 Window Maker breaks scilab
104 6 - Programming 
105      6.1 How do I get a normal X application to produce an appicon? 
106      6.2 How do I get my tcl/tk application to produce an appicon? 
107      6.3 What is WINGs? 
108      6.4 Where can I get more information about WINGs? 
110 7 - Miscellaneous Questions 
111      7.1 Is there a pager for Window Maker? 
112      7.2 Can I have folders like in AfterStep? 
113      7.3 How do I use getstyle and setstyle? 
114      7.4 Why don't you distribute {normal diff, xdelta} patches?
115      7.5 Will you add GNOME support?
117 8 - Themes 
118      8.1 What exactly are Themes? 
119      8.2 How do I install a Theme? 
120      8.3 How do I make a Theme? 
123 ========================================================================
127 -=-=-=-=-=-=-
128 Introduction:
129 -=-=-=-=-=-=-
131 1.1 What is Window Maker? 
132 ----------------------------------
133 Window Maker is an elegant X11 window manger that emulates the
134 OpenStep desktop with some noticeable enhancements. Look at
135 http://wm.current.nu/themes/my-themes.html and
136 http://wm.current.nu/themes/screenshots.html
137 here for example screenshots. 
140 1.2 Where can I get Window Maker? 
141 ----------------------------------
142 The official site to get new developmental versions from is
143 ftp://ftp.windowmaker.org/pub/beta/srcs/. 
145 NOTE: Also see http://wm.current.nu/downloads.html for the latest 
146 Stable and Development versions. 
148 The development versions are usually very stable themselves, so if you
149 want to have all the newest features, you can rather safetly go with the
150 development versions. Just remember to save any unsaved data before
151 you go playing around with the config files. Also, remember they are
152 developmental versions, so your mileage may vary, don't get angry if they
153 crash. 
156 1.3 Where are the mailing list archives? 
157 ----------------------------------
158 UPDATE: Ed has moved to Utah to work for Caldera, so the list has
159 moved. The new address is
160 http://www.caldera.com/linuxcenter/forums/wmaker.html 
162 We are currently archiveless after the move. Hopefully this will change in the
163 near future. 
166 1.4 Where is more documentation on configuring Window Maker? 
167 ----------------------------------
168 Besides the mailing list archives, there are nice documents in
169 ftp://ftp.windowmaker.org/pub/docs/, at
170 http://wm.current.nu/downloads.html on my download page and at 
171 http://wm.current.nu/user-guide/index.htm in the online user-guide. 
174 1.5 What is an appicon? 
175 ----------------------------------
176 An appicon is the icon (without the tiny titlebar a minimized application icon
177 has) produced by most applications that initially is in the bottom left corner
178 of the screen while an application is running. For an example, run xterm and
179 notice the icon in the corner. (Make sure that you use xterm and not a
180 default older rxvt because older versions of rxvt do not properly set their
181 window attributes.) 
184 1.6. How can I get a question added to the FAQ? 
185 ----------------------------------
186 Right now, the only method is to mail Chris Green <sprout@dok.org> or
187 myself <largo@current.nu> the question or post it on the Window Maker
188 Mailing list, and see if enough people have the same problem. 
190 If you are a developer and would like to be able to edit the official FAQ on
191 Chris's site, let him know at <sprout@dok.org>
193 He is currently pondering writing a front end that allows everyone to add
194 entries and only require a moderator approval before being posted. 
197 1.7. How do I report bugs? 
198 ----------------------------------
199 You can look at the BUGFORM file in your tarball of Window Maker.
200 Alternatively, you can use the Window Maker Bugtracker at
201 http://windowmaker.org/cgi-bin/bugs. 
204 1.8. Is there an anomymous cvs server? 
205 ----------------------------------
206 Yes there is. To check out from cvs, first 
208             export CVSROOT=":pserver:anoncvs@cvs.net-community.com:/gnustep"
209             cvs login
210           
211 'anoncvs' is the password. 
213 Then issue the command. "wm" is the name of the module. 
215             cvs -z3 checkout -d WindowMaker wm
216           
218 To update your source tree, cd to the WindowMaker directory and type 
220             cvs -z3 update 
221           
222 inside the WindowMaker directory. 
227 -=-=-=-=-=-=-
228 Installation:
229 -=-=-=-=-=-=-
231 2.1 Where can I get proplist.h? 
232 ----------------------------------
233 My first hint would be to look through the documentation a little more
234 closely. libPropList.tar.gz is located in the root of the Window Maker
235 distribution source tree. Untar libproplist, compile and install it so that the it
236 will be available to compile Window Maker. 
239 2.2 Why do no icons show up after installing Window Maker >= 0.15.x 
240     when I've followed all the directions? 
241 ----------------------------------
242 According to Dan Pascu should not happen because Window Maker
243 should detect if libtiff is going to be compiled in and then it will make the
244 default theme based around .xpm instead of .tif. 
246 As of Window Maker version 0.15.0, the default setup includes .tiff icons
247 which require you to have compiled Window Maker with libtiff support. For
248 some help on compiling with libtiff, at the libtiff section of this FAQ. 
251 2.3 How do I get libtiff to work? 
252 ----------------------------------
253 The whole key to getting libtiff working for me was to upgrade to >=
254 tiff-v3.4beta037-tar.gz availible at ftp.sgi.com. 
256 Rerun ./configure and make and it should work. I had previously been using
257 tiff-v3.4-tar.gz instead so the library was there just not working. A note to
258 keep in mind, is that the tiff libs are versioned rather oddly, version
259 tiff-v3.4beta037 is actually newer than tiff-v3.4. 
261 Make sure to rm config.cache and rerun ./configure before attempting to
262 compile again. 
264 Also, make sure to use gnu-make for the Window Maker compile. 
267 2.4 How do I get libjpeg to work? 
268 ----------------------------------
269 The newest jpeg libs are availible at ftp://ftp.uu.net/graphics/jpeg/. 
271 How many of you have seen that darned "lib reports 62 caller expects 61" type of
272 error?
273 Well, I have more than once, and here are some answers to possibly help
274 you out. 
276 First things first. As always, make sure there are not older copies of libjpeg
277 floating around on your system. By default my Slackware distribution came
278 with an old libjpeg.so.1 in the /usr/X11R6/lib/ directory. This can simply be
279 deleted. Or if something complains after you delete it, recompile it if you
280 can to look for the new lib in the right place, or if that fails, as a last resort,
281 you might add a symlink to the new lib like so:
282 ln -s /usr/local/lib/libjpeg.so.6.0.2 libjpeg.so.1 
284 Now on to the error.
285 This is basically caused by your application having been compiled to
286 dynamically use the libjpeg.so shared library. When you install a new lib and
287 then try to run your program again, it expects the lib it was compiled
288 against, in this case the older libjpeg.so.6.0.1 and instead finds libjpeg.so.6.0.2
289 and reports the error. 
291 The fix is actually rather simple. Along with adding a libjpeg.so.6 symlink
292 like so (just in case):
293 ln -s libjpeg.so.6.0.2 libjpeg.so.6
294 where you installed your new lib, you simply need to recompile your app to
295 link it against the new library. :) 
297 Make sure to rm config.cache and rerun ./configure before attempting to
298 compile again. 
300 Also, make sure to use gnu-make for the Window Maker compile. 
303 2.5 How do I get libpng to work? 
304 ----------------------------------
305 The newest png libs are availible at
306 http://www.cdrom.com/pub/png/pngcode.html. 
308 You should also get the newest zlib libs from
309 http://www.cdrom.com/pub/infozip/zlib/. 
311 I had a few problems with this lib as well, basically I had an old libz.so in my
312 /usr/X11R6/lib/ directory which configure was finding first, and which failed the
313 test, being an older lib. 
315 Generally the same applies here as with libjpeg, make sure there are no
316 older versions of the necessary libs floating around on your system, then try
317 and configure and make again. 
319 Make sure to rm config.cache and rerun ./configure before attempting to
320 compile again. 
322 Also, make sure to use gnu-make for the Window Maker compile. 
325 2.6 How do I get libgif (or libungif) to work? 
326 ----------------------------------
327 The newest libgif is availible at
328 ftp://sunsite.unc.edu/pub/Linux/libs/giflib/. 
330 The newest libungif is availible at
331 ftp://sunsite.unc.edu/pub/Linux/libs/graphics/. 
333 I had a few problems with libgif... it seems that the install process didn't
334 install the header file libgif.h, so although the Window Maker configure found
335 the lib (libgif.so.x), when you actually try to compile, it fails when it looks for
336 the header to include the make. I simply copied it from the libgif source
337 directory to the system include directory. (/usr/local/include/ on my system). 
339 Make sure to rm config.cache and rerun ./configure before attempting to
340 compile again. 
342 Also, make sure to use gnu-make for the Window Maker compile. 
345 2.7 Does wmsound work with 0.1x.x? 
346 ----------------------------------
347 As of Window Maker 0.15.x, sound is now included by default but requires
348 the authors sound server. For more information, read the NEWS file in the
349 Window Maker distribution. 
351 The author Anthony Quinn <southgat@frontiernet.net> has released a 
352 version that works with Window Maker >= 0.15.x. It is available from 
353 it's home page at http://www.frontiernet.net/~southgat/wmsound/ 
354 or on my site at http://wm.current.nu/files.html#wmsound 
355 for your convenience. 
358 2.8 Can I use WindowMaker with KDE or GNOME or CDE? 
359 ----------------------------------
360 Contrary to a lot of people thinks, KDE is NOT a window manager. KDE is
361 a suite of various applications that includes a custom window manager.
362 The same is true for CDE. 
364 Now, answering the question: Yes, you can use WindowMaker in these
365 environments. To use Window Maker with GNOME, you don't need to do
366 anything special. To use it with CDE, read the answer for "How do I switch
367 CDE's windowmanager to use Window Maker?" 
369 To use it with KDE, read it's documentation to get rid of kwm (and possibly
370 kpanel) and replace it with wmaker. Then, start WPrefs.app, go to "Mouse
371 Preferences" and set the "Disable mouse actions" check box. You will
372 need to restart Window Maker to make this change take effect. The
373 "Disable mouse actions" change is needed to allow you to use krootwm,
374 wich enables you to use kfm's desktop icons, but will prevent you from
375 accessing Window Maker's Applications and Window List menus with the
376 mouse. 
379 2.9 How do I get Window Maker working with xdm in Redhat 5.[01]? 
380 ----------------------------------
381 After running wmaker.inst and letting it write to .xinitrc, cp .xinitrc .xsession
382 and make sure that /usr/local/bin is in your $PATH for the Xserver. You can
383 make sure of this by including a statement like 
385             export PATH=$PATH:/usr/local/bin 
386           
388 in your .xsession file. 
390 Make sure to chmod +x .xsession so that the Xsession script of xdm can
391 execute it. 
393 This is how the Xsession script is designed: 
395             startup=$HOME/.xsession
397             if [ -x "$startup" ]; then
398                     exec "$startup"
399             elif [ -x "$HOME/.Xclients" ]; then
400                     exec "$HOME/.Xclients"
401             elif [ -x /etc/X11/xinit/Xclients ]; then
402                     exec /etc/X11/xinit/Xclients
403             else
404                     if [ -f "$resources" ]; then
405                             xrdb -load "$resources"
406                     fi
407                     exec xsm
408             fi
409           
411 You could also have a .Xclients file as was mentioned in previous revisions
412 of this question. 
415 2.10 Do I need to rerun wmaker.inst with every new version of
416      Window Maker? 
417 ----------------------------------
418 Dan Pascu reveals the answer: 
420 When the user will need to run wmaker.inst again in a new release of
421 wmaker, we will write that down in the NEWS file.
422 (as I've done in 0.15.0). 
424 The way domain files are read beginning from 0.15.0 makes this
425 redundant. The user config files are merged with the global ones in
426 /usr/local/share/WindowMaker/Defaults.
427 So even if new options are added, they will reflect in the user configuration. 
429 Only if user wishes to change the default behavior, he needs to add that
430 option to the config file. 
433 2.11 When I install Window Maker, I've used wmaker.inst correctly
434      and I only get aroot menu with xterm and exit. How do I fix this? 
435 ----------------------------------
436 Most likely, the problem is that Window Maker can not find a copy of the C
437 pre processor in a directory such as /lib. The file /lib/cpp should be a
438 symbolic link to whatever c compiler's cpp you are using. Mine reads as: 
440             cpp -> ../usr/lib/gcc-lib/i586-pc-linux-gnu/pgcc-2.90.29/cpp*
441           
443 There seems to be another common problem that exhibits this same
444 behavior. If you find another solution that matches this question please
445 email <sprout@dok.org> or <largo@current.nu>. 
448 2.12 How do I get Window Maker to use more than 16 colors on my
449      SGI Indy Workstation? 
450 ----------------------------------
451 Thanks to Peter H. Chou <pchou@leland.Stanford.EDU> for this answer: 
453 By default, the SGI X Server uses 8-bit Pseudocolor mode.
454 To change it, edit (as root) the file /usr/lib/X11/xdm/Xservers.
455 Change it to read: 
457             :0 secure /usr/bin/X11/X -bs -c -class TrueColor -depth 24
458           
463 2.13 Using WindowMaker with Solaris 2.6 CDE 
464 ----------------------------------
465 (thanks to Rob Funk, Unix God of osu.edu) 
467 Assuming you installed Window Maker according to the README's that
468 come with the source, all you need to run Window Maker on a Solaris box
469 is an entry in the .xinitrc. Only 0.17 - 0.19 versions have been tested, but
470 when you run the configure script, let it make changes to the .xinitrc file. It
471 should look something like this: 
473             #!/bin/sh
474             # Window Maker Default .xinitrc
475             exec /usr/local/bin/wmaker
476           
478 Believe it or not, that's all that it takes. This, in fact, runs WindowMaker
479 instead of OpenWindows. In order to choose WindowMaker, you simply
480 choose "OpenWindows Desktop" in the "Options - Session" Menus.
481 Choose "CDE Desktop" if you want CDE. 
483 The Color schemes and settings for Window Maker are seperate from
484 CDE. Tested on a SPARC 10, Solaris x86 should work also. (better,
485 hopefully) 
488 2.14 How do I switch CDE's window-manager to use Window Maker? 
489 ----------------------------------
490 Method 1: 
492 Peter Ilberg <peter.ilberg@natinst.com> gives us this answer: 
494 Install WM wherever you want it, mine is in /opt/WindowMaker-0.16.0
495 (eg. use ./configure --prefix=/opt/WindowMaker-0.16.0).
496 Run the install script wmaker.inst in your home directory. 
498 Add the following two lines to .dtprofile in your home directory: 
500 SESSIONTYPE=xdm; export SESSIONTYPE
501 PATH=:/usr/contrib/bin/X11:$PATH:.; export PATH 
503 This tells CDE to go looking for an .xinitrc/.xsession instead of using the
504 default environment. 
506 Make your .xsession/.xinitrc executable (VERY IMPORTANT, wmaker.inst did
507 NOT do this automatically for me) using eg. 
509 chmod ugo+x .xsession 
511 Your .xsession/.xinitrc should look something like this: 
513 #!/bin/sh
514 <some other init stuff that you want/need>
515 exec wmaker 
517 Things to try if it doesn't work: (somewhat fuzzy and random) 
519 This should do it although I did have problems sometimes initially which I
520 fixed by randomly trying absolute pathes for wmaker in .xsession/.xinitrc and/or
521 making the dtprofile/.xinitrc/etc executable. It helps logging in on the console
522 (select from CDE login screen) and start X manually using 'X'.
523 If it works that way it should work when logging into the CDE environment.
524 Remember to Check your paths! 
526 If it doesn't work, you can also substitute some other window manager for
527 wmaker in the .xinitrc and see if that works. If it does you know at least that
528 .xinitrc is getting called/executed, so your WM path is wrong or not set. 
531 Method 2: 
533 Thomas Hanselman gave this alternative answer (via Peter Ilberg): 
535 Build and install WM wherever you want, as described in Method 1. You
536 can install and run WM just fine from your home directory. That's what I'm
537 doing, since I don't have root access at work :(. Then, in your .Xdefaults file in
538 your home directory, add the following line: 
540 Dtsession*wmStartupCommand: <path to Window Maker executable> 
542 Then, log out, and log back in, and, unless I've forgotten a step (or this is a
543 custom Nortel thing), you should be in Window Maker heaven ;). 
545 Difference between the methods: (according to Thomas) 
547 I've been told that the difference between setting the resource and Peter's
548 method is that if you override the window manager with the resouce, you
549 still get the CDE resources read into the resource database (so you still
550 have your color settings & such from CDE), whereas with Peter's, the CDE
551 resource don't get read into the database. I don't know if this is true or not,
552 however. Also, another thing to note with Window Maker and HP-UX 10.20
553 -- if you select "Exit Session" from the WM root menu, Window Maker and
554 all of your applications are killed, but you may not be logged out. Again, this
555 might be an artifact from my work environment, or the way I start Window
556 Maker. 
558 Owen Stenseth <iplenergy.com> adds: 
560 When using this method it is possible to exit Window Maker cleanly by
561 using the dtaction command. I use the following in my Window Maker menu: 
563 "Exit Session"      EXEC dtaction ExitSession 
565 The only problem I have at the moment is I seem to get multiple copies of
566 asclock running when I log in again. 
568 You can also use the normal "Exit Session" command from the WM root
569 menu and place additional commands required to shutdown CDE in
570 ~/GNUstep/Library/WindowMaker/exitscript 
572 So, if you add "dtaction ExitSession" in that file, the command to shutdown
573 CDE will be automatically executed when you exit WindowMaker. 
576 2.15 When I run wmaker it quits complaing about something
577      __register_frame_info. 
578 ----------------------------------
579 This seems to be related to pgcc, gcc-2.8.0 or something. Try using gcc
580 2.7.x to compile wmaker. 
583 2.16 When I run wmaker it complains about something like expected
584      libjpeg 61 got 62.
585 ----------------------------------
586 Upgrade your libjpeg library and/or recompile Window Maker.
589 -=-=-=-
590 Usage:
591 -=-=-=-
593 3.1 How do I get new apps on the dock (The icon or line of icons on
594     the right side of the screen by default) 
595 ----------------------------------
596 Launch an application. If there is a little icon that pops up in the bottom
597 corner of the screen, drag it over to the dock icon(s). You should see a
598 whiteish square indicating when it is close enough to dock, and where it will
599 be placed. To make sure this application will be there next time you start up
600 windowmaker, exit windowmaker with the "exit session" option. 
603 3.2 What is the difference between the 'Exit' and 'Exit Session' Options? 
604 ----------------------------------
605 Another Answer from Dan Pascu: 
607 "'Exit' exits wmaker, but leaves the other apps running, and if wmaker was
608 not the last app launched in the .xinitrc the X server is not closed, until the
609 last app started by .xinitrc is closed.
610 'Exit session' will exit wmaker, but also will close all running apps, thus the
611 X server will be closed." 
614 3.3 How do I "dock" AppIcons on the Clip? 
615 ----------------------------------
616 Just drag icons near it like you would for the dock. If you are having a
617 problem docking icons, you should try moving the Clip away from the dock. 
620 3.4 Why do none of my Key Bindings (ie: Alt+#) work in Window Maker 0.1x.x 
621 ----------------------------------
622 If you are using XFree86, make sure scroll lock and numlock are off or no
623 bindings will work (XFree bug). You can try using the XFree86 Numlock
624 Hack by editing the line #undef NUMLOCK_HACK in $WindowMakerdir/src/wconfig.h
625 and changing it to #define NUMLOCK_HACK. 
626 Note that this is not yet fully functional (if at all). 
629 3.5 How do I rename workspaces? 
630 ----------------------------------
631 Right click on the "desktop" (root window) to show the menu (don't hold the
632 button down). Go to the workspaces menu and hold the Control key down
633 and click on the workspace you would like to rename and type the name. 
635 If you use the clip, use the "Rename Workspace" command in the clip
636 menu. 
639 3.6 How can I resize a window if the window is larger than my
640     currect desktop? 
641 ----------------------------------
642 David Reviejo <dreviejo@arrakis.es> best summed up this answer: 
644      "Maybe you know:
645      Alt+Left click and drag
646      to move the window. 
648      Try this:
649      Alt+Right click and drag
650      to resize (by moving the nearest window corner) 
652      Another move/resize tip: while you are moving or resizing a window,
653      you
654      can change the move/resize mode by pressing the SHIFT key." 
659 3.7 How do I "undock" AppIcons? 
660 ----------------------------------
661 If the program is not running, just drag the icon to the middle of your
662 desktop (away from the dock and clip) and watch it disappear. 
664 If the program is running, hold down Meta (usually CTRL) and drag the icon
665 off the dock. You can also right click on it and choose 'Kill', then undock as
666 usual. 
669 3.8 I docked an application but when I run it the button is permanently
670     shaded and I can't run new instances.
671 ----------------------------------
672 You probably docked the application with dockit. To fix it
673 remove the icon and use the "Emulate Application Icon" checkbox in
674 the Advanced Options section of the Attributes panel for the window.
675 Then restart the application to get the application icon you
676 must use to dock the application. 
677 It can also mean that you did something you shouldn't, which is
678 changing the program that is ran from the docked icon. For example,
679 if you docked rxvt you must NOT change it to xterm, for example.
680 You also can't do any changes that might alter the contents of
681 the WM_CLASS hint for the window, like the -name parameter for
682 xterm, rxvt and other programs.
686 3.9 When I run wmaker it complains about not being able to load any fonts.
687 ----------------------------------
688 Check if the locale settings are correct. If you're not sure what to
689 do, unset the LANG environment variable before running wmaker.
691 TODO: give complete explanation
695 3.10 When I set the root background with wmsetbg by hand it works,
696      but when I do that from the configuration files it doesnt!
697 ----------------------------------
699 DOH! If you set the root background with wmsetbg by hand, it will obviously
700 find the image, since you have explicitly specified it by hand. But if you
701 simply put it in ~/GNUstep/Defaults/WindowMaker in some option like
702 WorkspaceBack, it will not find the image because Window Maker can't read
703 your mind to figure where you put the image. So, to fix it, you have to
704 either place the full path for the image in the texture specification or put
705 the path for the directory you put your background images in the PixmapPath
706 option. You can also put all your background images in places like
707 ~/GNUstep/Library/WindowMaker/Backgrounds or
708 /usr/local/share/WindowMaker/Backgrounds
712 -=-=-=-=-=-=-=-
713 Configuration:
714 -=-=-=-=-=-=-=-
716 4.1 What are those files inside my ~/GNUstep directory? 
717 ----------------------------------
718 ~/GNUstep/WindowMaker/WindowMaker 
720      The main config file. This file controls options such as keybindings,
721      fonts, pixmaps, and focus modes. 
724 ~/GNUstep/WindowMaker/WMWindowAttributes 
726      The Controls "attributes" for individual applications and appicons.
727      Options such as what icon to use are set here. For the most part, this
728      is now best accessed via a right click on a title bar of an application
729      and selecting "Attributes" 
732 ~/GNUstep/Defaults/WMState 
734      This is the file that is automatically generated and contains the current
735      dock settings. It is not recommended to edit this file by hand. 
738 ~/GNUstep/Defaults/WMRootMenu 
740      This file specifies what file to use as the root menu. 
743 ~/GNUstep/Library/WindowMaker/menu 
745      This is the file to edit to change your root menu. 
750 4.2 How do I enable the normal X sloppy focus mode? 
751 ----------------------------------
752 In the ~/GNUstep/Defaults/WindowMaker, change the following: 
754 FocusMode = sloppy; 
757 4.3 How do I get my auto-arrange icons to work? 
758 ----------------------------------
759 In ~/GNUstep/Defaults/WindowMaker set AutoArrangeIcons=Yes; and the icons
760 should now auto-arrange. 
763 4.4 How do I get my Meta-Tab to cycle through windows correctly? 
764 ----------------------------------
765 Make sure that these settings are true in your ~/GNUstep/Defaults/WindowMaker
766 file: 
768 CirculateRaise = Yes;
769 RaiseDelay = 1; 
771 This will not give you MS Windows(tm) style application switching where
772 alt-tab is changes context. 
774 Paul Warren <<pdw@ferret.lmh.ox.ac.uk>> has released a patch that will
775 give this style of Context Switching to Window Maker. 
777 It is availible from http://www.warrenx.demon.co.uk/patches 
780 4.5 How can I define my own Icon for a program? (instead of the
781     Icon the Application Supplies?) 
782 ----------------------------------
783 You can right click on the titlebar of the running app and choose the
784 "Attributes..." option, then click on the "Ignore client supplied icon"
785 checkbox. Click "Apply", "Save" and close the Attributes Editor. 
787 Another method is to edit ~/GNUstep/Defaults/WMWindowAttributes by hand and
788 use the AlwaysUserIcon=YES; option for the app. For example: 
790 xmcd = { Icon = "Radio.xpm";
791 AlwaysUserIcon=Yes;
792 }; 
795 4.6 How do I get a Tile background for my AppIcons (those things in
796     the dock)? 
797 ----------------------------------
798 You need to change 1 line to your ~/GNUstep/Defaults/WindowMaker file. 
800 IconBack = (spixmap, tile.black.xpm, white);
802 IconBack = (tpixmap, tile.black.xpm, white); 
804 spixmap will scale the pixmap to fit the tile, tpixmap will tile it as is. 
806 As Random@efnet says, The last parameter is the color that fills in any
807 Transparent parts of your icon. 
810 4.7 How do you dock <insert program here> that doesn't have an
811     appicon in the new version of Window Maker? 
812 ----------------------------------
813 There is now an option available to emulate appicons so that Window
814 Maker can dock just about anything now. 
816 To dock a misbehaving application, right click on the title bar and select the
817 attributes menu. Next, select the pull down menu's "Advanced Options"
818 item. Under the ``Advanced Options'' menu, select the ``Emulate
819 Application Icon'' Option then Save, Apply and close the dialog. 
821 This should allow you do dock the program normally. 
824 4.8 How do I get x11amp to not have a title bar? (or any other
825     program for that matter?) 
826 ----------------------------------
827 Right Click on the title bar and choose "Attributes". Click on Panel 2 and
828 click the the "Disable titlebar" and "Disable resizebar" options. Click
829 "Save", "Apply" and then close the Attributes panel. 
831 By Default, to get back to the attributes menu once you've removed the
832 titlebar, hit the key F10 while the window is focused. 
834 Here is an example entry in ~/GNUstep/WMWindowAttributes for x11amp. 
836 x11amp={
837 Icon="x11amp.xpm";
838 NoTitlebar=Yes;
839 NoResizebar=Yes;
840 NoAppIcon=Yes;
841 }; 
844 4.9 How do I set a pixmap background? 
845 ----------------------------------
846 Here is the in depth explanation straight from the NEWS file: 
848 wmsetbg now accepts the following options: 
849 usage: wmsetbg [-options] image 
850 options: 
851 -d 
852               dither image
853 -m 
854               match colors
855 -t 
856               tile image
857 -s 
858               scale image (default)
859 -u 
860               update Window Maker domain database
861 -D <domain> 
862               update <domain> database
863 -c <cpc> 
864               colors per channel to use
868 By default, it will try to guess if dithering is needed or not and proceed
869 accordingly.
870 Using -d or -m will force it to dither or match colors. 
872 Dithering for more than 15bpp is generally not needed, and will only result
873 in a slower processing.
874 Don't use dithering except when needed, because it is slower. Else rely on
875 wmsetbg which will detect if dithering is needed and use it. 
877 -u 
878    will update the WorkspaceBack in the default database
879    domain file in ~/GNUstep/Defaults/WindowMaker, and let Window
880    Maker refresh the screen. Please note that this option only
881    works under Window Maker, and will have no effect under
882    other window managers, since it rely on Window Maker to
883    update the image after it reads the updated defaults
884    database.
886 -D 
887    <domain> is same as above, but will update the domain
888    <domain> instead of the default Window Maker domain.
890 -c 
891    <cpc> will set the color per channel to use. Only needed for
892    PseudoColor visuals. Window Maker will automatically pass
893    the value read from the Window Maker domain database.
897 The following line is straight from your WindowMaker-0.15.x
898 ~/GNUstep/Library/WindowMaker/menu file and should all be on one line. 
900 "Images" OPEN_MENU BACKGROUNDS_DIR
901 ~/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t 
903 This should give you an idea on how to add other entries for different image
904 directories. See the help info at the top of the
905 ~/GNUstep/Library/WindowMaker/menu file for more information. 
907 If you for some reason would like to set your background image with XV, for
908 instance to use an image format not yet supported by wmsetbg or to use one
909 of XV's special modes, edit the file ~/GNUstep/Library/WindowMaker/autostart
910 and insert the line 
912 xv -root -quit -maxpect ~/background.jpg
914 xv -root -quit -max ~/background.jpg 
916 you can also try variations of this to get different tiling and other effects
917 (where X is a number 1-9 I believe):
918 'xv -root -quit -rmodeX ~/background.jpg' 
920 If you would like xv functionality in your menu, heres a nice little tip from
921 Alfredo: 
923 Add the following line to your ~/GNUstep/Library/WindowMaker/menu file. (all on
924 one line) 
926 "More Backgrounds" OPEN_MENU /home/whoever/backgrounds xv -root -maxpect -quit 
929 4.10 Can I put pixmaps in my root menu and title bars? 
930 ----------------------------------
931 With the release of WindowMaker-0.14.1, you can now put pixmaps
932 anywhere you would have either a gradient or a color. This means now that 
934 MenuTextBack=(tpixmap, foo.xpm, acolor); 
936 in ~/GNUstep/Defaults/WindowMaker will put the correct pixmap tiled in your
937 menu. 
939 FTitleBack = (spixmap, foo.xpm, black); 
941 Would have the effect of streching a pixmap to fit the titlebar of the active
942 window.
943 You can use png, gif, ppm, tiff, jpeg and xpm images interchangeably in
944 Window Maker if you have compiled in support for those formats. 
947 4.11 How do I get my Minimize Icon to look like the triangle I see in
948      screenshots? 
949 ----------------------------------
950 This involves a minor source tweak. Instructions are available at
951 http://wm.current.nu/tips.html#titlebar_icons
953 Example screenshot at 
954 http://wm.current.nu/themes/images/screenshots/Midnight3.jpg
957 4.12 How do I get superfluous bells and whistles working? 
958 ----------------------------------
959 Add Superfluous=YES; to your ~/GNUstep/Defaults/Windowmaker file. 
961 This option was added as a runtime option in Window Maker >= 0.16.1. 
964 4.13 How do I get the classic NeXT(tm)-like style back? 
965 ----------------------------------
966 Add NewStyle=NO; to your ~/GNUstep/Defaults/Windowmaker file. 
968 This option was added as a runtime option in Window Maker >= 0.16.1 
971 4.14 How do I get the window menu with only a two button mouse? 
972 ----------------------------------
973 Jim Noble <jmknoble@ntrnet.net> writes: 
975 If you've got a two-button mouse under some versions of Solaris x86,
976 there's no way (that i'm aware of) to emulate a 3-button mouse. The right
977 button can be either MB2 or MB3, but chording doesn't work. 
979             ApplicationMenuMouseButton = Left;
981 and 
983             WindowListMouseButton = Right; 
984           
986 in ~/GNUstep/Defaults/WindowMaker ought to allow the left button to
987 activate the root menu, and the right button (as MB2) to activate the
988 windows menu. 
991 4.15 How do I edit my root menu? 
992 ----------------------------------
993 You can now use WPrefs.app 
994 (see http://wm.current.nu/features/configuration.html for more info) 
995 if you have the new PropList style menu, or you can manually edit the 
996 oldstyle menu file 
998             ~/GNUstep/Library/WindowMaker/menu
1000 (or you can also manually edit the newstyle menu file) 
1002             ~/GNUstep/Defaults/WMRootMenu
1004 and save your changes. Window Maker should detect the change and
1005 automatically update. If you are having a problem getting it to reload the
1006 menu, try 
1008             touch ~/GNUstep/Library/WindowMaker/menu
1010             (or 'touch ~/GNUstep/Defaults/WMRootMenu' for the newstyle menu)
1012 to force the modification time into the future. 
1015 4.16 How can I set dock/clip to use single click to launch
1016      applications, instead of double click?
1017 ----------------------------------
1018 You cannot do this. This is because single click is used to select app-icons,
1019 or to raise/lower the app-icon or the dock/clip.
1020 If this is impelmented then you will be unable to select or raise/lower
1021 dock/clip or app-icons, without also launching the application it represents.
1023 So don't ask for this to be implemented, because it will not be. Double
1024 click is used for a reason, is not just some weird idea we got in a morning
1025 when we wake up too early.
1028 -=-=-=-=-=-=-=-=-=-
1029 Other Applications:
1030 -=-=-=-=-=-=-=-=-=-
1032 5.1 How do I assign gimp an appicon? 
1033 ----------------------------------
1034 Window Maker now can assign Icons from within the windowmanager, to
1035 do so, right click on the title bar of an app or hit F10 while the desired app
1036 is focused, choose "Attributes...", click on the "4" Button, enter the icon file
1037 name (make sure this is in your pixmap path, or you can type in the full path
1038 without using ~/ type path names), click "Update", "Apply", "Save" and then
1039 close the Attributes Editor. 
1041 You can also enter the following line in
1042 ~/GNUstep/Library/WindowMaker/WMWindowAttributes: 
1044 gimp={Icon="gimp.xpm";}; 
1047 5.2 How do I get an appicon for XEmacs 20.3+? 
1048 ----------------------------------
1049 Thanks to Michael Hafner <hayfi@rz.fh-augsburg.de> for this answer. 
1051 You don't need to patch the XEmacs code, just run 
1053 ./configure --with-session=yes (in addition to any other options you use) 
1055 in your XEmacs 20.3+ sourcedir and rebuild it. Then XEmacs shows an
1056 appicon when running and you can easily dock it. 
1059 5.3 Where do you get that clock program I always see on people's
1060     desktops? 
1061 ----------------------------------
1062 Its called asclock. It was included with each version of Window
1063 Maker until version 0.17.5, and was no longer included in
1064 0.18.0 and above.
1065 You could find it in ./WindowMaker-0.xx.x/misc/asclock.tgz and it was
1066 prepatched to be able to dock. Some other (older) versions you might find
1067 on the net don't dock. 
1069 Since it was pulled from the distribution (probably to save space), I've
1070 included it at http://wm.current.nu/files.html#asclock for your convenience. 
1073 5.4 How do you dock asclock? 
1074 ----------------------------------
1075 asclock -shape -iconic -12 & 
1077 Drag it from the top right corner of the clock to the dock. Right click on the
1078 icon and select autolaunch.
1079 You have to drag the appicon by clicking on the edge of the icon, because
1080 the actual pixmap belongs to the app itself, and any clicks on the pixmap
1081 are interpreted by the app rather than X or the window manager. Therefor,
1082 you need to click somewhere on the appicon where the background tile
1083 shows through (usually the edges), and drag it that way. 
1086 5.5 How do you dock wmload? 
1087 ----------------------------------
1088 wmload -withdrawn -shape & 
1090 Then dock it similar to asclock. 
1093 5.6 What other apps exist for the dock? 
1094 ----------------------------------
1095 Several Nice applications are available: 
1097      wmmixer and wmcd and wmmount
1098      http://www.geocities.com/SiliconValley/Vista/2471/linux.htm#xapps 
1100      ascd,WMRack,asmixer,asmodem, and others
1101      ftp://ftp.windowmaker.org/pub/wmaker/contrib/srcs/apps/ 
1103      wmavgload, wmmount, and wmload
1104      ftp://ftp.windowmaker.org/pub/wmaker/contrib/srcs/utils/ 
1106      wmppp-wmifs, wmtime, wmmon and other nifty apps
1107      http://windowmaker.mezaway.org/ 
1112 5.7 How do I get an appicon for rxvt so I can dock it? 
1113 ----------------------------------
1114 The default rxvt that comes with most distribtions is an outdated version of
1115 rxvt. The newest development version of rxvt is availible from
1116 ftp://ftp.math.fu-berlin.de/pub/rxvt/devel/. As of the time of this writing, the
1117 version is 2.4.7 and it natively produces an appicon without a patch. 
1119 John Eikenberry has also created an rpm which is available from
1120 ftp://ftp.coe.uga.edu/users/jae/windowmaker/ 
1122 For your convenience, I have rxvt-2.4.7.tar.gz at
1123 http://wm.current.nu/files/rxvt-2.4.7.tar.gz for download. As of
1124 version 2.4.7, rxvt includes Window Maker support as well as John
1125 Eikenberry's NeXT scrollbar hack. 
1128 5.8 How do I get different icons for rxvt's (or xterms) running
1129     different programs? 
1130 ----------------------------------
1131 The simplest way is to run each rxvt with a different -name parameter. 
1133 For example, I want to run an rxvt for irc and one for mail. This is an
1134 example of what I'd do: 
1136 for the irc rxvt:
1137 rxvt -name "irc" -e "irc" 
1139 for the mail rxvt:
1140 rxvt -name "mail" -e "pine" 
1142 This would result in each rxvt now having the instance and class of irc.Xterm
1143 and mail.Xterm respectively, so that Window Maker can now set Attributes
1144 for them individually. 
1147 5.9 How do I launch multiple instances of XTerm from one appicon?
1148 ----------------------------------
1149 The easiest way to accomplish this is to dock XTerm as normal. Then Go
1150 to the 'Attributes menu' -> 'Application Specific' and select 'no application
1151 icon' for XTerm. 
1153 You can also right-click on the docked appicon and select settings. Change
1154 the 'Application Path with arguments' section to 
1156             foo.sh
1158 where foo.sh is the following script 
1160             #!/bin/sh
1161             exec xterm
1163 This should allow unlimited XTerms without appicon clutter. 
1166 5.10 How do I allow Alt+# to work in an rxvt session? (with irc for
1167      example) 
1168 ----------------------------------
1169 First, Launch a unique instance of rxvt or xterm.
1170 This can be done using the -name option of rxvt.
1171 For example: 
1173 rxvt -name foo -e irc 
1175 Then, go to the Attributes menu (right click on titlebar (or hit F10) and
1176 choose 'Attributes...')
1177 Then choose 'Advanced Options' from the listbox and enable 'Don't Bind
1178 Keyboard shortcuts'.
1179 Click 'Save' and 'Apply' and you should be able to run your session without
1180 the shortcuts. 
1183 5.11 Window Maker breaks scilab
1184 ----------------------------------
1186 If you refer to the problem of the "graphics" window of scilab not showing
1187 up in Window Maker, this is caused by a bug in scilab. You can see the
1188 cause of the problem by yourself, by running xprop on the graphic window:
1189 WM_NORMAL_HINTS(WM_SIZE_HINTS):
1190                 user specified location: 136679205, 1074468360
1191                 user specified size: 400 by 300
1192                 program specified minimum size: 400 by 300
1194 Now, when scilab opens it's window, Window Maker nicely does exactly what it
1195 is told, that is, map the window at position 136679205, 1074468360 which
1196 obviously falls outside the screen no matter how big is your monitor ;) 
1198 Meanwhile, the workaround for this is to open the window list menu
1199 (click on the root window with the middle mouse button) and click 
1200 on the ScilabGraphic entry. The window should be brought to your
1201 reach. Then, open the window commands menu (right click on window's
1202 titlebar) and open the Attributes panel. Go to the "Advanced Options"
1203 section, check the "Keep inside screen" option and save.
1205 If you can recompile Scilab, this came from a Scilab developer:
1207 replace 
1208  size_hints.flags = USPosition | USSize | PMinSize;
1209 with
1210  size_hints.flags = /** USPosition |**/ USSize | PMinSize;
1212 in routines/xsci/jpc_SGraph.c
1216 -=-=-=-=-=-=-
1217 Programming:
1218 -=-=-=-=-=-=-
1220 6.1 How do I get a normal X application to produce an appicon? 
1221 ----------------------------------
1222 Another insightful answer from who else but Dan Pascu. 
1224 "You must define the WM_CLASS (XSetClassHint()) and the
1225 CLIENT_LEADER or XWMHints.window_group properties, which are
1226 automatically set by most applications that use Xt (Motif, Athena ...), but if
1227 you use plain Xlib you must set them by hand. 
1229 Also you must make a call to XSetCommand(dpy, leader, argv, argc); 
1231 Take a look at Window Maker-0.1x.x/test/test.c that is an example for
1232 writing such an app (which also have an app menu)." 
1235 6.2 How do I get my tcl/tk application to produce an appicon? 
1236 ----------------------------------
1237 Oliver Graf <ograf@fga.de> writes: 
1239 The main window (normally this is called '.' [dot] in tk) should use the
1240 following lines: 
1242 wm command . [concat $argv0 $argv] 
1243 wm group . . 
1245 All child windows attached to the same app-icon should use: 
1247 toplevel .child
1248 wm group .child . 
1250 where .child should be replaced by the actual window path. 
1252 Replace '.' with the actual main-window path and 'wm group .child .' should
1253 be added for each 'toplevel .child' call. 
1256 6.3 What is WINGs? 
1257 ----------------------------------
1258 WINGs Is Not GNUstep. ;) 
1260 It is the Widget Library written for the widgets in Window Maker. 
1262 It is currently under heavy development but several people have started
1263 writing applications in it. Its goal is to emulate the NeXT(tm)-style widgets. 
1265 http://www.ozemail.com.au/~crn/wm/wings.html is the closest thing to an
1266 information center about WINGs by <crn@ozemail.com.au>. 
1269 6.4 Where can I get more information about WINGs? 
1270 ----------------------------------
1271 Nic Berstein <nic@postilion.org> has created a WINGs Developement list. 
1273 The purpose of this list is to provide a forum for support, ideas,
1274 suggestions, bug reports etc. for the WINGs widget set library. 
1276 To subscribe to this list, send a message with the word ``subscribe'' in the
1277 _BODY_ of the message to: <wings-request@postilion.org>. 
1281 -=-=-=-=-=-=-=-=-=-=-=-=-
1282 Miscellaneous Questions:
1283 -=-=-=-=-=-=-=-=-=-=-=-=-
1285 7.1 Is there a pager for Window Maker? 
1286 ----------------------------------
1287 Not at the moment because there is not a pressing need for a pager. The
1288 concept of multiple desktops does exist and there are currently 3 ways to
1289 switch between them. 
1291 First, the Alt+Number combination will switch between desktops. The
1292 Workspaces menu will also let you switch workspaces. Lastly, the Clip will
1293 also scroll one through workspaces. 
1295 For those that would like to send an application to a specific workspace,
1296 either drag it to an edge of the desktop onto the next workspace or you can
1297 right click on the titlebar, choose "Move to..." and choose the appropriate
1298 workspace. 
1300 BUT, Window Maker does support KDE and GNOME protocols, including the
1301 workspace management stuff, so you can use Window Maker in these
1302 environments and use their pagers.
1306 7.2 Can I have folders like in AfterStep? 
1307 ----------------------------------
1308 No. Window Maker does however support the collapsable Clip per desktop
1309 for a similar functionality. 
1312 7.3 How do I use getstyle and setstyle? 
1313 ----------------------------------
1314 To capture the current Window Maker style, use the command 
1316             getstyle > current.style 
1317           
1319 To replace the current style, use the command 
1321             setstyle filename.style
1324 7.4 Why don't you distribute {normal diff, xdelta} patches? 
1325 ----------------------------------
1326 Whenever possible plain diff patches are distributed. If the new version has
1327 new binary files, normal diff won't be able to handle them, so a patch
1328 package is distributed, instead. We don't use xdelta because: - most
1329 systems do not have xdelta installed; - xdelta is picky and require the file to
1330 be patched to be exactly the same as the one used to make the patch. The
1331 patch package scheme used is much more flexible. 
1333 We do not distribute a simple diff with the binary files separately (and
1334 variations, like uuencoding the binary files) because: - it is more
1335 complicated and error prone to require the user to manually move the files
1336 to the correct places; - the current patch package scheme *does* distribute
1337 the binary files and diff files separately. If the user wants to install everything
1338 by hand, nobody will object to that; - sooner or later someone will certainly
1339 ask for a script to automate the file moving stuff. 
1341 So we hacked a script (mkpatch) that automatically creates a patch
1342 package with the normal text diff file, a list of removed files and the binary
1343 files that have changed or been added, plus a script that does the patching
1344 automatically. If you don't like the script, you can apply the patch and move
1345 the files manually. Or download the whole distribution. 
1348 7.5 Will you add GNOME support?
1349 ----------------------------------
1351 Yes. But don't ask me when.
1354 -=-=-=-=-
1355 Themes:
1356 -=-=-=-=-
1358 8.1 What exactly are themes? 
1359 ----------------------------------
1360 Themes are a great aspect of Window Maker allowing a user to simply
1361 save the entire 'look' of their desktop in a Archive to distribute freely among
1362 friends, fellow users and/or the whole net in general. :) 
1364 See the theme-HOWTO at http://wm.current.nu/themes/theme-HOWTO.html 
1365 for an in-depth walk-through on making a Theme archive. 
1368 8.2 How do I install a Theme? 
1369 ----------------------------------
1370 This should be as simple as untarring the Theme.tar.gz into one of two
1371 places. You can untar it to the global /usr/local/share/WindowMaker/* directory,
1372 and have it be accessable to all users, or you can untar it to your own
1373 ~/GNUstep/Library/WindowMaker/ directory for your own personal use. 
1375 Use your favorite variation of the following: 
1377 gzip -dc "Theme.tar.gz" | tar xvf - 
1379 *(directory may differ on some systems) 
1382 8.3 How do I make a Theme? 
1383 ----------------------------------
1384 Please see the theme-HOWTO at http://wm.current.nu/themes/theme-HOWTO.html
1385 for details, here is a short summary.  Also, read the README.themes file
1386 included with the Window Maker distribution in the WindowMaker/ directory.
1388 In this walk-through when I use WindowMaker/, it can refer to the global
1389 /usr/local/share/WindowMaker/ directory or the users own
1390 ~/GNUstep/Library/WindowMaker/ directory. 
1392 To make a Theme.tar.gz, these are the steps I take: 
1394   1.Optionally create a README for your theme in WindowMaker/, call it
1395      something like "ThemeName.txt"
1397   2.Use the following command to add the Theme files to your .tar file. 
1399      tar cvf ThemeName.tar ThemeName.txt Themes/ThemeName
1400      Backgrounds/ThemeNameBG.jpg Backgrounds/ThemeNameTile.xpm 
1402      You can add as many more images as you need from the
1403      appropriate directories under WindowMaker/ following that general
1404      idea. You can even optionally add an IconSets/ThemeName.iconset and
1405      it's associated icons to your theme in the same manner. This should
1406      be stated in your README if you decide to include these.
1408   3.Then gzip your .tar file to make your ThemeName.tar.gz file with this
1409      command: 
1411      gzip -9 ThemeName.tar
1413   4.Now give it to your friends!
1416 ====================================================================
1417 and they lived happily ever after.
1418 ====================================================================
1419 (The End.)