Initial revision
[wmaker-crm.git] / FAQ
blobf6418f49f3b7c565111caab14fb6a65582bbf02f
1 WindowMaker FAQ
2 ====================================================================
3 the latest info can be found at
4 http://www.dpo.uab.edu/~grapeape/wmfaq.html or
5 http://wm.gnu.net/wmfaq/
6 --------------------------
9 Summary of Contents:
10 Introduction 
11  - What is WindowMaker? 
12  - Where can I get WindowMaker? 
13  - Where are the mailing list archives? 
14  - Where is there more documentation on configuring WindowMaker? 
16 Installation 
17  - Where can I get proplist.h? 
18  - Why do no icons show up after installing WindowMaker 0.15.0 when I've
19    followed all the directions? 
20  - How do I get libtiff to work? 
21  - How do I get libjpeg to work? 
22  - How do I get libpng to work? 
23  - Does wmsound work with 0.1x.x? 
24  - How do I switch CDE's windowmanager to use WindowMaker? 
25  - Do I need to rerun wmaker.inst with every new version of WindowMaker? 
27 Usage 
28  - What is an appicon? 
29  - How do I get new apps on the dock (The line of pixmaps on the right side
30    of the screen by default) 
31  - What is the button in the middle of the Clip? 
32  - What is the difference between the Exit and Exit Session Option? 
33  - How do I "dock" Icons on the Clip? 
34  - Why do none of my Key Bindings work in WindowMaker 0.1x.x 
35  - How do I rename workspaces? 
36  - How can I resize a window if the window is larger than my currect
37    desktop?
38  - When I run xyz (xyz usually = rxvt) from the dock and later quit, the
39    3 dots don't come back and I can't run it again.
41 Configuration 
42  - What are those files inside my ~/GNUstep directory? 
43  - How do I enable the normal X sloppy focus mode? 
44  - How do I get my auto-arrange icons to work? 
45  - How do I get my Meta-Tab to cycle through windows correctly? 
46  - How can I define my own Icon for a program? (instead of the Icon the
47    Application Supplies?) 
48  - How do I get a pixmap background for my appicons (those things in the
49    dock)? 
50  - How do you dock <insert program here> that doesn't have an appicon in
51    the new version of WindowMaker? 
52  - How do I get x11amp to not have a title bar? (or any other program for that
53    matter?) 
54  - How do I set a pixmap background? 
55  - Can I put pixmaps in my root menu and title bars? 
56  - How do I get my Minimize Icon to look like the triangle I see in
57    screenshots? 
58  - How do I get superfluous bells and whistles working? 
59  - How do I get my oldstyle back? 
61 Other Applications 
62  - How do I assign gimp an appicon? 
63  - How do I get an appicon for XEmacs 20.3+? 
64  - Where do you get that clock program I always see on people's desktops?
65  - How do you dock asclock? 
66  - How do you dock wmload? 
67  - What other apps exist for the dock? 
68  - How do I get an appicon for rxvt so I can dock it? 
69  - How do I get different icons for rxvt's (or xterms) running different
70    programs? 
71  - How do I allow Alt+# to work in an rxvt session? (with irc for example) 
73 Programming 
74  - How do I get a normal X application to produce an appicon? 
75  - How do I get my tcl/tk application to produce an appicon? 
77 Miscellaneous Questions 
78  - Is there a pager for WindowMaker? 
79  - Can I have folders like in AfterStep? 
80  - What exactly are Themes? 
81  - How do I install a Theme? 
82  - How do I make a Theme? 
84 ========================================================================
86 -=-=-=-=-=-=-
87 Introduction:
88 -=-=-=-=-=-=-
90 What is WindowMaker? 
91 ----------------------------------
92 WindowMaker is an elegant X11 window manger that emulates the OpenStep
93 desktop with some noticeable enhancements. Look at
94 http://wm.gnu.net/screenshots.html for example screenshots. 
97 Where can I get WindowMaker? 
98 ----------------------------------
99 The official site to get new developmental versions from is
100 ftp://ftp.windowmaker.org/pub/beta/srcs/. 
102 NOTE: WindowMaker-0.16.1.tar.gz is the newest stable release, for some
103 reason it has not been moved into the release directory. You should
104 DEFINATELY go with 0.16.1 rather than 0.6.3. 
106 WindowMaker-0.17.5 is the newest development release. This will be the last
107 release with new features until 1.0 is released. Work from now until 1.0 will
108 focus on bug fixes, so keep testing and report those bugs! 
110 The development versions are usually very stable themselves, so if you want to
111 have all the newest features, you can rather safetly go with the development
112 versions. Just remember to save any unsaved data before you go playing
113 around with the config files. Also, remember they are developmental versions,
114 so your mileage may vary, don't get angry if they crash. 
117 Where are the mailing list archives? 
118 ----------------------------------
119 UPDATE: Ed has moved to Utah to work for Caldera, so the list has moved.
120 The new address is http://www.caldera.com/linuxcenter/forums/wmaker.html 
122 The archives should come online again when Ed gets all moved in and comfy in
123 about 2 weeks or so. (around mid-august or so) Please be patient until then.
124 Thanks! 
127 Where is there more documentation on configuring WindowMaker? 
128 ----------------------------------
129 Besides the mailing list archives, there are nice documents in
130 ftp://ftp.windowmaker.org/pub/docs/ 
134 -=-=-=-=-=-=-
135 Installation:
136 -=-=-=-=-=-=-
138 Where can I get proplist.h? 
139 ----------------------------------
140 My first hint would be to look through the documentation a little more closely.
141 libPropList.tar.gz is located in the root of the WindowMaker distribution source
142 tree. Untar libproplist, compile and install it so that the it will be available to
143 compile WindowMaker. 
146 Why do no icons show up after installing WindowMaker >= 0.15.x when
147 I've followed all the directions? 
148 ----------------------------------
149 According to Dan Pascu should not happen because WindowMaker should
150 detect if libtiff is going to be compiled in and then it will make the default theme
151 based around .xpm instead of .tif. 
153 As of WindowMaker version 0.15.0, the default setup includes .tiff icons which
154 require you to have compiled WindowMaker with libtiff support. For some help
155 on compiling with libtiff, at the libtiff section of this FAQ. 
158 How do I get libtiff to work? 
159 ----------------------------------
160 The whole key to getting libtiff working for me was to upgrade to >=
161 tiff-v3.4beta037-tar.gz availible at ftp.sgi.com. 
163 Rerun ./configure and make and it should work. I had previously been using
164 tiff-v3.4-tar.gz instead so the library was there just not working. A note to keep in
165 mind, is that the tiff libs are versioned rather oddly, version tiff-v3.4beta037 is
166 actually newer than tiff-v3.4. 
168 Make sure to rm config.cache and rerun ./configure before attempting to compile
169 again. 
171 Also, make sure to use gnu-make for the WindowMaker compile. 
174 How do I get libjpeg to work? 
175 ----------------------------------
176 The newest jpeg libs are availible at ftp://ftp.uu.net/graphics/jpeg/. 
178 How many of you have seen that darned "lib reports 62 caller expects 61" type of
179 error?
180 Well, I have more than once, and here are some answers to possibly help you
181 out. 
183 First things first. As always, make sure there are not older copies of libjpeg
184 floating around on your system. By default my Slackware distribution came with
185 an old libjpeg.so.1 in the /usr/X11R6/lib/ directory. This can simply be deleted. Or
186 if something complains after you delete it, recompile it if you can to look for the
187 new lib in the right place, or if that fails, as a last resort, you might add a symlink
188 to the new lib like so:
189 ln -s /usr/local/lib/libjpeg.so.6.0.2 libjpeg.so.1 
191 Now on to the error.
192 This is basically caused by your application having been compiled to
193 dynamically use the libjpeg.so shared library. When you install a new lib and then
194 try to run your program again, it expects the lib it was compiled against, in this
195 case the older libjpeg.so.6.0.1 and instead finds libjpeg.so.6.0.2 and reports the
196 error. 
198 The fix is actually rather simple. Along with adding a libjpeg.so.6 symlink like so
199 (just in case):
200 ln -s libjpeg.so.6.0.2 libjpeg.so.6
201 where you installed your new lib, you simply need to recompile your app to link it
202 against the new library. :) 
204 Make sure to rm config.cache and rerun ./configure before attempting to compile
205 again. 
207 Also, make sure to use gnu-make for the WindowMaker compile. 
210 How do I get libpng to work? 
211 ----------------------------------
212 The newest png libs are availible at
213 http://www.cdrom.com/pub/png/pngcode.html.
214 You should also get the newest zlib libs from
215 http://www.cdrom.com/pub/infozip/zlib/. 
217 I had a few problems with this lib as well, basically I had an old libz.so in my
218 /usr/X11R6/lib/ directory which configure was finding first, and which failed the test,
219 being an older lib. 
221 Generally the same applies here as with libjpeg, make sure there are no older
222 versions of the necessary libs floating around on your system, then try and
223 configure and make again. 
225 Make sure to rm config.cache and rerun ./configure before attempting to compile
226 again. 
228 Also, make sure to use gnu-make for the WindowMaker compile. 
231 Does wmsound work with 0.1x.x? 
232 ----------------------------------
233 As of WindowMaker 0.15.x, sound is now included by default but requires the
234 authors sound server. For more information, read the NEWS file in the
235 WindowMaker distribution. 
237 The author Anthony Quinn has released a version that works with
238 WindowMaker >= 0.15.x. It is available from it's home page at
239 http://www.frontiernet.net/~southgat/wmsound/ 
240 or at
241 http://wm.gnu.net/files.html#wmsound 
244 How do I switch CDE's window-manager to use WindowMaker? 
245 ----------------------------------
246 Method 1: 
248 Peter Ilberg <peter.ilberg@natinst.com> gives us this answer: 
250 Install WM wherever you want it, mine is in /opt/WindowMaker-0.16.0
251 (eg. use ./configure --prefix=/opt/WindowMaker-0.16.0).
252 Run the install script wmaker.inst in your home directory. 
254 Add the following two lines to .dtprofile in your home directory: 
256 SESSIONTYPE=xdm; export SESSIONTYPE
257 PATH=:/usr/contrib/bin/X11:$PATH:.; export PATH 
259 This tells CDE to go looking for an .xinitrc/.xsession instead of using the default
260 environment. 
262 Make your .xsession/.xinitrc executable (VERY IMPORTANT, wmaker.inst did NOT
263 do this automatically for me) using eg. 
265 chmod ugo+x .xsession 
267 Your .xsession/.xinitrc should look something like this: 
269 #!/bin/sh
270 <some other init stuff that you want/need>
271 exec wmaker 
273 Things to try if it doesn't work: (somewhat fuzzy and random) 
275 This should do it although I did have problems sometimes initially which I fixed
276 by randomly trying absolute pathes for wmaker in .xsession/.xinitrc and/or making
277 the dtprofile/.xinitrc/etc executable. It helps logging in on the console (select from
278 CDE login screen) and start X manually using 'X'.
279 If it works that way it should work when logging into the CDE environment.
280 Remember to Check your paths! 
282 If it doesn't work, you can also substitute some other window manager for
283 wmaker in the .xinitrc and see if that works. If it does you know at least that .xinitrc
284 is getting called/executed, so your WM path is wrong or not set. 
287 Method 2: 
289 Thomas Hanselman gave this alternative answer (via Peter Ilberg): 
291 Build and install WM wherever you want, as described in Method 1. You can
292 install and run WM just fine from your home directory. That's what I'm doing,
293 since I don't have root access at work :(. Then, in your .Xdefaults file in your
294 home directory, add the following line: 
296 Dtsession*wmStartupCommand: <path to WindowMaker executable> 
298 Then, log out, and log back in, and, unless I've forgotten a step (or this is a
299 custom Nortel thing), you should be in WindowMaker heaven ;). 
301 Difference between the methods: (according to Thomas) 
303 I've been told that the difference between setting the resource and Peter's
304 method is that if you override the window manager with the resouce, you still get
305 the CDE resources read into the resource database (so you still have your color
306 settings & such from CDE), whereas with Peter's, the CDE resource don't get
307 read into the database. I don't know if this is true or not, however. Also, another
308 thing to note with WindowMaker and HP-UX 10.20 -- if you select "Exit Session"
309 from the WM root menu, WindowMaker and all of your applications are killed,
310 but you may not be logged out. Again, this might be an artifact from my work
311 environment, or the way I start WindowMaker. 
313 Owen Stenseth <iplenergy.com> adds: 
315 When using this method it is possible to exit WindowMaker cleanly by using the
316 dtaction command. I use the following in my WindowMaker menu: 
318 "Exit Session"      EXEC dtaction ExitSession 
320 The only problem I have at the moment is I seem to get multiple copies of
321 asclock running when I log in again. 
324 Do I need to rerun wmaker.inst with every new version of WindowMaker?
325 ----------------------------------
326 Dan Pascu reveals the answer: 
328 When the user will need to run wmaker.inst again in a new release of wmaker,
329 we will write that down in the NEWS file.
330 (as I've done in 0.15.0). 
332 The way domain files are read beginning from 0.15.0 makes this redundant. The
333 user config files are merged with the global ones in
334 /usr/local/share/WindowMaker/Defaults.
335 So even if new options are added, they will reflect in the user configuration. 
337 Only if user wishes to change the default behavior, he needs to add that option
338 to the config file. 
342 -=-=-=-
343 Usage:
344 -=-=-=-
346 What is an appicon? 
347 ----------------------------------
348 An appicon is the icon (without the tiny titlebar a minimized application icon has)
349 produced by most applications that initially is in the bottom left corner of the
350 screen while an application is running. For an example, run xterm and notice the
351 icon in the corner. (Make sure that you use xterm and not a default older rxvt
352 because older versions of rxvt do not properly set their window attributes.) 
355 How do I get new apps on the dock (The icon or line of icons on the right
356 side of the screen by default) 
357 ----------------------------------
358 Launch an application. If there is a little icon that pops up in the bottom corner of
359 the screen, drag it over to the dock icon(s). You should see a whiteish square
360 indicating when it is close enough to dock, and where it will be placed. To make
361 sure this application will be there next time you start up windowmaker, exit
362 windowmaker with the "exit session" option. 
365 What is the button in the middle of the Clip? 
366 ----------------------------------
367 Dan Pascu gives this insightful answer: 
369 "Well, it's the power on indicator. To be sure that Clip is working ;)" 
371 In 0.15.x, the light now means that the Clip is in its expanded stateto show any
372 appicons attached to it. When collapsed, it expands when you drag an appicon
373 near it to dock. 
376 What is the difference between the 'Exit' and 'Exit Session' Options? 
377 ----------------------------------
378 Another Answer from Dan Pascu: 
380 "'Exit' exits wmaker, but leaves the other apps running, and if wmaker was not
381 the last app launched in the .xinitrc the X server is not closed, until the last app
382 started by .xinitrc is closed.
383 'Exit session' will exit wmaker, but also will close all running apps, thus the X
384 server will be closed." 
387 How do I "dock" Icons on the Clip? 
388 ----------------------------------
389 Just drag icons near it like you would for the dock. If you are having a problem
390 docking icons, you should try moving the Clip away from the dock. 
393 Why do none of my Key Bindings (ie: Alt+#) work in WindowMaker 0.1x.x 
394 ----------------------------------
395 If you are using XFree86, make sure scroll lock and numlock are off or no
396 bindings will work (XFree bug). You can try using the XFree86 Numlock Hack by
397 editing the line #undef NUMLOCK_HACK in $WindowMakerdir/src/wconfig.h and
398 changing it to #define NUMLOCK_HACK. 
401 How do I rename workspaces? 
402 ----------------------------------
403 Right click on the "desktop" (root window) to show the menu (don't hold the
404 button down). Go to the workspaces menu and hold the Control key down and
405 click on the workspace you would like to rename and type the name. 
408 How can I resize a window if the window is larger than my currect
409 desktop? 
410 ----------------------------------
411 David Reviejo <dreviejo@arrakis.es> best summed up this answer: 
413      "Maybe you know:
414      Alt+Left click and drag
415      to move the window. 
417      Try this:
418      Alt+Right click and drag
419      to resize (by moving the nearest window corner) 
421      Another move/resize tip: while you are moving or resizing a window, you
422      can change the move/resize mode by pressing the SHIFT key." 
425 When I run xyz (xyz usually = rxvt) from the dock and later quit, the
426 3 dots don't come back and I can't run it again.
427 ----------------------------------
429 You docked xyz using dockit. Dockit does not generate correct application
430 icons most of the time. The only way to get around it is to edit
431 ~/GNUstep/Defaults/WMState and set ForcedDock = YES; in the entry for xyz.
432 If you use rxvt, upgrade to rxvt 2.4.6 or newer.
435 -=-=-=-=-=-=-=-
436 Configuration:
437 -=-=-=-=-=-=-=-
439 What are those files inside my ~/GNUstep directory? 
440 ----------------------------------
441 ~/GNUstep/WindowMaker/WindowMaker 
443      The main config file. This file controls options such as keybindings, fonts,
444      pixmaps, and focus modes. 
447 ~/GNUstep/WindowMaker/WMWindowAttributes 
449      The Controls "attributes" for individual applications and appicons. Options
450      such as what icon to use are set here. For the most part, this is now best
451      accessed via a right click on a title bar of an application and selecting
452      "Attributes" 
455 ~/GNUstep/Defaults/WMState 
457      This is the file that is automatically generated and contains the current
458      dock settings. It is not recommended to edit this file by hand. 
461 ~/GNUstep/Defaults/WMRootMenu 
463      This file specifies what file to use as the root menu. 
466 ~/GNUstep/Library/WindowMaker/menu 
468      This is the file to edit to change your root menu. 
471 How do I enable the normal X sloppy focus mode? 
472 ----------------------------------
473 In the ~/GNUstep/Defaults/WindowMaker, change the following: 
475 FocusMode = sloppy; 
478 How do I get my auto-arrange icons to work? 
479 ----------------------------------
480 In ~/GNUstep/Defaults/WindowMaker set AutoArrangeIcons=Yes; and the icons
481 should now auto-arrange. 
484 How do I get my Meta-Tab to cycle through windows correctly? 
485 ----------------------------------
486 Make sure that these settings are true in your ~/GNUstep/Defaults/WindowMaker
487 file: 
489 CirculateRaise = Yes;
490 RaiseDelay = 1;
493 How can I define my own Icon for a program? (instead of the Icon the
494 Application Supplies?) 
495 ----------------------------------
496 You can right click on the titlebar of the running app and choose the
497 "Attributes..." option, then click on the "Ignore client supplied icon" checkbox.
498 Click "Apply", "Save" and close the Attributes Editor. 
500 Another method is to edit ~/GNUstep/Defaults/WMWindowAttributes by hand and
501 use the AlwaysUserIcon=YES; option for the app. For example: 
503 xmcd = { Icon = "Radio.xpm";
504 AlwaysUserIcon=Yes;
505 }; 
508 How do I get a pixmap background for my appicons (those things in the
509 dock)? 
510 ----------------------------------
511 You need to change 1 line to your ~/GNUstep/Defaults/WindowMakerfile. 
513 IconBack = (spixmap, tile.black.xpm, white);
515 IconBack = (tpixmap, tile.black.xpm, white); 
517 spixmap will scale the pixmap to fit the tile, tpixmap will tile it as is. 
519 As Random@efnet says, The last parameter is the color that fills in any
520 transparent parts of your icon. 
523 How do you dock <insert program here> that doesn't have an appicon in
524 the new version of WindowMaker? 
525 ----------------------------------
526 Use the tcl script dockit which is included with WindowMaker 0.15.x. By default
527 you can run it by double clicking on the main dock icon. Note that dockit
528 can generate problematic appicons.
531 How do I get x11amp to not have a title bar? (or any other program for
532 that matter?) 
533 ----------------------------------
534 Right Click on the title bar and choose "Attributes". Click on Panel 2 and click
535 the the "Disable titlebar" and "Disable resizebar" options. Click "Save", "Apply"
536 and then close the Attributes panel. 
538 By Default, to get back to the attributes menu once you've removed the titlebar,
539 hit the key F10 while the window is focused. 
541 Here is an example entry in ~/GNUstep/WMWindowAttributes for x11amp. 
543 x11amp={
544 Icon="x11amp.xpm";
545 NoTitlebar=Yes;
546 NoResizebar=Yes;
547 NoAppIcon=Yes;
548 }; 
551 How do I set a pixmap background? 
552 ----------------------------------
553 Here is the in depth explanation straight from the NEWS file: 
555 wmsetbg now accepts the following options: 
556 usage: wmsetbg [-options] image 
557 options: 
558 -d                dither image
559 -m                match colors
560 -t                tile image
561 -s                scale image (default)
562 -u                update WindowMaker domain database
563 -D <domain>       update <domain> database
564 -c <cpc>          colors per channel to use
566 By default, it will try to guess if dithering is needed or not and proceed
567 accordingly.
568 Using -d or -m will force it to dither or match colors. 
570 Dithering for more than 15bpp is generally not needed, and will only result in a
571 slower processing.
572 Don't use dithering except when needed, because it is slower. Else rely on
573 wmsetbg which will detect if dithering is needed and use it. 
575 -u will update the WorkspaceBack in the default database domain
576    file in ~/GNUstep/Defaults/WindowMaker, and let WindowMaker
577    refresh the screen. Please note that this option only works under
578    WindowMaker, and will have no effect under other window
579    managers, since it rely on WindowMaker to update the image
580    after it reads the updated defaults database.
582 -D <domain> is same as above, but will update the domain
583    <domain> instead of the default WindowMaker domain.
585 -c <cpc> will set the color per channel to use. Only needed for
586    PseudoColor visuals. WindowMaker will automatically pass the
587    value read from the WindowMaker domain database.
590 The following line is straight from your WindowMaker-0.15.x
591 ~/GNUstep/Library/WindowMaker/menu file and should all be on one line. 
593 "Images" OPEN_MENU BACKGROUNDS_DIR
594 ~/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t 
596 This should give you an idea on how to add other entries for different image
597 directories. See the help info at the top of the
598 ~/GNUstep/Library/WindowMaker/menu file for more information. 
600 If you for some reason would like to set your background image with XV, for
601 instance to use an image format not yet supported by wmsetbg or to use one of
602 XV's special modes, edit the file ~/GNUstep/Library/WindowMaker/autostart and
603 insert the line 
605 xv -root -quit -maxpect ~/background.jpg
607 xv -root -quit -max ~/background.jpg 
609 you can also try variations of this to get different tiling and other effects (where X
610 is a number 1-9 I believe):
611 'xv -root -quit -rmodeX ~/background.jpg' 
613 If you would like xv functionality in your menu, heres a nice little tip from Alfredo: 
615 Add the following line to your ~/GNUstep/Library/WindowMaker/menu file. (all on one
616 line) 
618 "More Backgrounds" OPEN_MENU /home/whoever/backgrounds xv -root -maxpect -quit 
621 Can I put pixmaps in my root menu and title bars? 
622 ----------------------------------
623 With the release of WindowMaker-0.14.1, you can now put pixmaps anywhere
624 you would have either a gradient or a color. This means now that 
626 MenuTextBack=(tpixmap, foo.xpm, acolor); 
628 in ~/GNUstep/Defaults/WindowMaker will put the correct pixmap tiled in your menu. 
630 FTitleBack = (spixmap, foo.xpm, black); 
632 Would have the effect of streching a pixmap to fit the titlebar of the active
633 window.
634 You can use png, tiff, jpeg and xpm images interchangeably in WindowMaker if
635 you have compiled in support for those formats. 
638 How do I get my Minimize Icon to look like the triangle I see in
639 screenshots? 
640 ----------------------------------
641 This involves a minor source tweak. Instructions are available at 
642 http://wm.gnu.net/tips.html#titlebar_icons. 
643 Example screenshot can be seen at 
644 http://wm.gnu.net/images/screenshots/Midnight3.jpg. 
647 How do I get superfluous bells and whistles working? 
648 ----------------------------------
649 Add Superfluous=YES; to your ~/GNUstep/Defaults/Windowmaker file. 
651 This option was added as a runtime option in WindowMaker >= 0.16.1. 
654 How do I get the classic NeXT(tm)-like style back? 
655 ----------------------------------
656 Add NewStyle=NO; to your ~/GNUstep/Defaults/Windowmaker file. 
658 This option was added as a runtime option in WindowMaker >= 0.16.1 
662 -=-=-=-=-=-=-=-=-=-
663 Other Applications:
664 -=-=-=-=-=-=-=-=-=-
666 How do I assign gimp an appicon? 
667 ----------------------------------
668 WindowMaker now can assign Icons from within the windowmanager, to do so,
669 right click on the title bar of an app or hit F10 while the desired app is focused,
670 choose "Attributes...", click on the "4" Button, enter the icon file name (make
671 sure this is in your pixmap path, or you can type in the full path without using ~/
672 type path names), click "Update", "Apply", "Save" and then close the Attributes
673 Editor. 
675 You can also enter the following line in
676 ~/GNUstep/Library/WindowMaker/WMWindowAttributes: 
678 gimp={Icon="gimp.xpm";}; 
681 How do I get an appicon for XEmacs 20.3+? 
682 ----------------------------------
683 Thanks to Michael Hafner <hayfi@rz.fh-augsburg.de> for this answer. 
685 You don't need to patch the XEmacs code, just run 
687 ./configure --with-session=yes (in addition to any other options you use) 
689 in your XEmacs 20.3+ sourcedir and rebuild it. Then XEmacs shows an
690 appicon when running and you can easily dock it. 
693 Where do you get that clock program I always see on people's desktops? 
694 ----------------------------------
695 Its called asclock. It has been included with every version I've downloaded.
696 Currently it resides in ./WindowMaker-0.xx.x/misc/asclock.tgz and is prepatched to
697 be able to dock. Some other (older) versions you might find on the net don't
698 dock. 
701 How do you dock asclock? 
702 ----------------------------------
703 asclock -shape -iconic -12 & 
705 Drag it from the top right corner of the clock to the dock. Right click on the icon
706 and select autolaunch.
707 You have to drag the appicon by clicking on the edge of the icon, because the
708 actual pixmap belongs to the app itself, and any clicks on the pixmap are
709 interpreted by the app rather than X or the window manager. Therefor, you need
710 to click somewhere on the appicon where the background tile shows through
711 (usually the edges), and drag it that way. 
714 How do you dock wmload? 
715 ----------------------------------
716 wmload -withdrawn -shape & 
718 Then dock it similar to asclock. 
721 What other apps exist for the dock? 
722 ----------------------------------
723 Several Nice applications are available: 
725      wmmixer and wmcd and wmmount
726        http://www.geocities.com/SiliconValley/Vista/2471/linux.htm#xapps
728      ascd,WMRack,asmixer,asmodem, and others
729        ftp://ftp.windowmaker.org/pub/wmaker/contrib/srcs/apps/
731      wmavgload, wmmount, and wmload
732        ftp://ftp.windowmaker.org/pub/wmaker/contrib/srcs/utils/
734      wmppp-wmifs, wmtime, wmmon and other nifty apps 
735        http://windowmaker.mezaway.org/
738 How do I get an appicon for rxvt so I can dock it? 
739 ----------------------------------
740 The default rxvt that comes with most distribtions is an outdated version of rxvt.
741 The newest development version of rxvt is availible from
742 ftp://ftp.math.fu-berlin.de/pub/rxvt/devel/. As of the time of this writing, the
743 version is 2.4.6 and it natively produces an appicon without a patch. 
745 John Eikenberry has also created an rpm which is available from
746 ftp://ftp.coe.uga.edu/users/jae/windowmaker/ 
748 As of version 2.4.6, rxvt includes WindowMaker support as well as 
749 John Eikenberry's NeXT scrollbar hack. 
752 How do I get different icons for rxvt's (or xterms) running different
753 programs? 
754 ----------------------------------
755 The simplest way is to run each rxvt with a different -name parameter. 
757 For example, I want to run an rxvt for irc and one for mail. This is an example of
758 what I'd do: 
760 for the irc rxvt:
761 rxvt -name "irc" -e "irc" 
763 for the mail rxvt:
764 rxvt -name "mail" -e "pine" 
766 This would result in each rxvt now having the instance and class of irc.Xterm and
767 mail.Xterm respectively, so that WindowMaker can now set Attributes for them
768 individually. 
771 How do I allow Alt+# to work in an rxvt session? (with irc for example) 
772 ----------------------------------
773 First, Launch a unique instance of rxvt or xterm.
774 This can be done using the -name option of rxvt.
775 For example: 
777 rxvt -name foo -e irc 
779 Then, go to the Attributes menu (right click on titlebar (or hit F10) and choose
780 'Attributes...')
781 Then choose 'Advanced Options' from the listbox and enable 'Don't Bind
782 Keyboard shortcuts'.
783 Click 'Save' and 'Apply' and you should be able to run your session without the
784 shortcuts. 
788 -=-=-=-=-=-=-
789 Programming:
790 -=-=-=-=-=-=-
792 How do I get a normal X application to produce an appicon? 
793 ----------------------------------
794 Another insightful answer from who else but Dan Pascu. 
796 "You must define the WM_CLASS (XSetClassHint()) and the CLIENT_LEADER
797 or XWMHints.window_group properties, which are automatically set by most
798 applications that use Xt (Motif, Athena ...), but if you use plain Xlib you must set
799 them by hand. 
801 Also you must make a call to XSetCommand(dpy, leader, argv, argc); 
803 Take a look at WindowMaker-0.1x.x/test/test.c that is an example for writing
804 such an app (which also have an app menu)." 
807 How do I get my tcl/tk application to produce an appicon? 
808 ----------------------------------
809 Oliver Graf writes: 
811 The main window (normally this is called '.' [dot] in tk) should use the following
812 lines: 
814 wm command . [concat $argv0 $argv] 
815 wm group . . 
817 All child windows attached to the same app-icon should use: 
819 toplevel .child
820 wm group .child . 
822 where .child should be replaced by the actual window path. 
824 Replace '.' with the actual main-window path and 'wm group .child .' should be
825 added for each 'toplevel .child' call. 
829 -=-=-=-=-=-=-=-=-=-=-=-=-
830 Miscellaneous Questions:
831 -=-=-=-=-=-=-=-=-=-=-=-=-
833 Is there a pager for WindowMaker? 
834 ----------------------------------
835 Not at the moment because there is not a pressing need for a pager. The
836 concept of multiple desktops does exist and there are currently 3 ways to
837 switch between them. 
839 First, the Alt+Number combination will switch between desktops. The
840 Workspaces menu will also let you switch workspaces. Lastly, the Clip will also
841 scroll one through workspaces. 
843 For those that would like to send an application to a specific workspace, either
844 drag it to an edge of the desktop onto the next workspace or you can right click
845 on the titlebar, choose "Move to..." and choose the appropriate workspace. 
848 Can I have folders like in AfterStep? 
849 ----------------------------------
850 No. WindowMaker does however support the collapsable Clip per desktop for a
851 similar functionality. 
854 What exactly are themes? 
855 ----------------------------------
856 Themes are a great aspect of WindowMaker allowing a user to simply save the
857 entire 'look' of their desktop in a Archive to distribute freely among friends, fellow
858 users and/or the whole net in general. :) 
860 See the topic "How do I make a Theme?" below for an in-depth walk-through on 
861 making a Theme archive. 
864 How do I install a Theme? 
865 ----------------------------------
866 This should be as simple as untarring the Theme.tar.gz into one of two places.
867 You can untar it to the global /usr/local/share/WindowMaker/* directory, and have it
868 be accessable to all users, or you can untar it to your own
869 ~/GNUstep/Library/WindowMaker/ directory for your own personal use. 
871 Use your favorite variation of the following: 
873 gzip -dc "Theme.tar.gz" | tar xvf - 
875 *(directory may differ on some systems) 
878 How do I make a Theme? 
879 ----------------------------------
880 In this walk-through when I use WindowMaker/, it can refer to the global
881 /usr/local/share/WindowMaker/ directory or the users own
882 ~/GNUstep/Library/WindowMaker/ directory. 
884 To make a Theme.tar.gz, these are the steps I take: 
886   1.Optionally create a README for your theme in WindowMaker/, call it
887      something like "ThemeName.txt"
889   2.Use the following command to add the Theme files to your .tar file. 
891      tar cvf ThemeName.tar ThemeName.txt Themes/ThemeName
892      Backgrounds/ThemeNameBG.jpg Backgrounds/ThemeNameTile.xpm 
894      You can add as many more images as you need from the appropriate
895      directories under WindowMaker/ following that general idea. You can even
896      optionally add an IconSets/ThemeName.iconset and it's associated icons to
897      your theme in the same manner. This should be stated in your README
898      if you decide to include these.
900   3.Then gzip your .tar file to make your ThemeName.tar.gz file with this
901      command: 
903      gzip -9 ThemeName.tar
905   4.Now give it to your friends!