-
Notifications
You must be signed in to change notification settings - Fork 19
/
FAQ
1510 lines (1080 loc) · 54.6 KB
/
FAQ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
WindowMaker FAQ
====================================================================
Last modified: Tue Apr 20 20:15:17 EST 1999
the latest info can be found at
http://www.dpo.uab.edu/~grapeape/wmfaq.html or
http://wm.current.nu/wmfaq/
--------------------------
Summary of Contents:
1 - Introduction
1.1 What is Window Maker?
1.2 Where can I get Window Maker?
1.3 Where are the mailing list archives?
1.4 Where is more documentation on configuring Window Maker?
1.5 What is an App Icon?
1.6 How can I get a question added to the FAQ?
1.7 How do I report bugs?
1.8 Is there an anonymous cvs server?
2 - Installation
2.1 Where can I get proplist.h?
2.2 Why do no icons show up after installing Window Maker 0.15.0
when I've followed all the directions?
2.3 How do I get libtiff to work?
2.4 How do I get libjpeg to work?
2.5 How do I get libpng to work?
2.6 How do I get libgif (or libungif) to work?
2.7 Does wmsound work with 0.1x.x?
2.8 Can I use WindowMaker with KDE or GNOME or CDE?
2.9 How do I get Window Maker working with xdm in Redhat 5.[01]?
2.10 Do I need to rerun wmaker.inst with every new version of
Window Maker?
2.11 When I install Window Maker, I've used wmaker.inst correctly
and I only get a root menu with xterm and exit. How do I fix this?
2.12 How do I get Window Maker to use more than 16 colors on my
SGI Indy Workstation?
2.13 Using WindowMaker with Solaris 2.6 CDE
2.14 How do I switch CDE's window manager to use Window Maker?
2.15 When I run wmaker it quits complaining about something
"__register_frame_info".
2.16 When I run wmaker it complains about something like library is
62, caller expects 61
3 - Usage
3.1 How do I get new apps on the dock (The line of pixmaps on the
right side of the screen by default)
3.2 What is the difference between the Exit and Exit Session Option?
3.3 How do I "dock" AppIcons on the Clip?
3.4 Why do none of my Key Bindings work in Window Maker 0.1x.x
3.5 How do I rename workspaces?
3.6 How can I resize a window if the window is larger than my current
desktop?
3.7 How do I "undock" AppIcons?
3.8 I docked an application but when I run it the button is permanently
shaded and I can't run new instances.
3.9 When I run wmaker it complains about not being able to load any
fonts.
3.10 When I set the root background with wmsetbg by hand it works,
but when I do that from the configuration files it doesn't!
3.11 When I run GNOME application they have no title bar.
4 - Configuration
4.1 What are those files inside my ~/GNUstep directory?
4.2 How do I enable the normal X sloppy focus mode?
4.3 How do I get my auto-arrange icons to work?
4.4 How do I get my Meta-Tab to cycle through windows correctly?
4.5 How can I define my own Icon for a program? (instead of the Icon
the Application Supplies?)
4.6 How do I get a pixmap background for my appicons (those things
in the dock)?
4.7 How do you dock <insert program here> that doesn't have an
appicon in the new version of Window Maker?
4.8 How do I get x11amp to not have a title bar? (or any other
program for that matter?)
4.9 How do I set a pixmap background?
4.10 Can I put pixmaps in my root menu and title bars?
4.11 How do I get my Minimize Icon to look like the triangle I see in
screenshots?
4.12 How do I get superfluous bells and whistles working?
4.13 How do I get my old style back?
4.14 How do I get the window menu with only a two button mouse?
4.15 How do I edit my root menu?
4.16 How can I set dock/clip to use single click to launch applications,
instead of double click?
5 - Other Applications
5.1 How do I assign gimp an appicon?
5.2 How do I get an appicon for XEmacs 20.3+?
5.3 Where do you get that clock program I always see on people's
desktops?
5.4 How do you dock asclock?
5.5 How do you dock wmload?
5.6 What other apps exist for the dock?
5.7 How do I get an appicon for rxvt so I can dock it?
5.8 How do I get different icons for rxvt's (or xterms) running different
programs?
5.9 How do I launch multiple instances of XTerm from one appicon?
5.10 How do I allow Alt+# to work in an rxvt session? (with irc for
example)
5.11 Window Maker breaks scilab
5.12 Netscape icons show up in black and white
5.13 Snow flakes from xsnow don't accumulate on title bars!
5.14 I'm using RedHat 6.0 and Netscape dies without reason.
6 - Programming
6.1 How do I get a normal X application to produce an appicon?
6.2 How do I get my tcl/tk application to produce an appicon?
6.3 What is WINGs?
6.4 Where can I get more information about WINGs?
7 - Miscellaneous Questions
7.1 Is there a pager for Window Maker?
7.2 Can I have folders like in AfterStep?
7.3 How do I use getstyle and setstyle?
7.4 Why don't you distribute {normal diff, xdelta} patches?
7.5 Will you add GNOME support?
8 - Themes
8.1 What exactly are Themes?
8.2 How do I install a Theme?
8.3 How do I make a Theme?
========================================================================
-=-=-=-=-=-=-
Introduction:
-=-=-=-=-=-=-
1.1 What is Window Maker?
----------------------------------
Window Maker is an elegant X11 window manger that emulates the
OpenStep desktop with some noticeable enhancements. Look at
http://wm.current.nu/themes/my-themes.html and
http://wm.current.nu/themes/screenshots.html
here for example screenshots.
1.2 Where can I get Window Maker?
----------------------------------
The official site to get new developmental versions from is
http://windowmaker.org/pub/source/beta/
The mercurial repository is available at https://hg.windowmaker.org/wmaker
The development versions are usually very stable themselves, so if you
want to have all the newest features, you can rather safely go with the
development versions. Just remember to save any unsaved data before
you go playing around with the config files. Also, remember they are
developmental versions, so your mileage may vary, don't get angry if they
crash.
1.3 Where are the mailing list archives?
----------------------------------------
Please read the information on the web pages at http://lists.windowmaker.org/
for information on how to subscribe, the posting guidelines, and how to access
the web archives.
1.4 Where is more documentation on configuring Window Maker?
----------------------------------
Besides the mailing list archives, there are nice documents in
http://windowmaker.org/documentation.php
1.5 What is an appicon?
----------------------------------
An appicon is the icon (without the tiny title bar a minimized application icon
has) produced by most applications that initially is in the bottom left corner
of the screen while an application is running. For an example, run xterm and
notice the icon in the corner.
1.6. How can I get a question added to the FAQ?
----------------------------------
Ask on the mailing list, or send your request to faqs@windowmaker.org
Other avenues are the Window Maker wiki
http://bugs.windowmaker.org/projects/wmaker/wiki
and the forums
http://bugs.windowmaker.org/projects/wmaker/boards
1.7. How do I report bugs?
----------------------------------
You can look at the BUGFORM file in your tarball of Window Maker.
Alternatively, you can use the Window Maker Bugtracker at
http://bugs.windowmaker.org/projects/wmaker/issues
1.8. Is there a public source code repository?
----------------------------------
Yes there is. To check out from mercurial use:
hg clone http://hg.windowmaker.org/wmaker wmaker
To update your source tree, cd to the wmaker directory and type
hg pull
-=-=-=-=-=-=-
Installation:
-=-=-=-=-=-=-
2.1 Where can I get libPropList/proplist.h?
-------------------------------------------
starting with Window Maker 0.70.0, libPropList is no longer needed.
It was obsoleted by adding property list handling code to the WINGs library.
2.2 Why do no icons show up after installing Window Maker >= 0.15.x
when I've followed all the directions?
-------------------------------------------------------------------
Under normal circumstances, this should not happen because Window Maker
should detect if libtiff is going to be compiled in and then it will make the
default theme use .tiff or .xpm icons, depending if TIFF support is compiled
in or not.
As of Window Maker version 0.15.0, the default setup includes .tiff icons
which require you to have compiled Window Maker with libtiff support, if you
want them to be used. If you are happy with the .xpm icons, then you don't
need libtiff. Window Maker will detect that TIFF support is not available and
use .xpm icons instead. For some help on compiling with libtiff, look at the
libtiff section of this FAQ.
2.3 How do I get libtiff to work?
----------------------------------
The whole key to getting libtiff working for me was to upgrade to >=
tiff-v3.4beta037-tar.gz available at ftp.sgi.com.
Rerun ./configure and make and it should work. I had previously been using
tiff-v3.4-tar.gz instead so the library was there just not working. A note to
keep in mind, is that the tiff libs are versioned rather oddly, version
tiff-v3.4beta037 is actually newer than tiff-v3.4.
Make sure to rm config.cache and rerun ./configure before attempting to
compile again.
Also, make sure to use gnu-make for the Window Maker compile.
2.4 How do I get libjpeg to work?
----------------------------------
The newest jpeg libs are available at ftp://ftp.uu.net/graphics/jpeg/.
How many of you have seen that darned "lib reports 62 caller expects 61" type of
error?
Well, I have more than once, and here are some answers to possibly help
you out.
First things first. As always, make sure there are not older copies of libjpeg
floating around on your system. By default my Slackware distribution came
with an old libjpeg.so.1 in the /usr/X11R6/lib/ directory. This can simply be
deleted. Or if something complains after you delete it, recompile it if you
can to look for the new lib in the right place, or if that fails, as a last resort,
you might add a symlink to the new lib like so:
ln -s /usr/local/lib/libjpeg.so.6.0.2 libjpeg.so.1
Now on to the error.
This is basically caused by your application having been compiled to
dynamically use the libjpeg.so shared library. When you install a new lib and
then try to run your program again, it expects the lib it was compiled
against, in this case the older libjpeg.so.6.0.1 and instead finds libjpeg.so.6.0.2
and reports the error.
The fix is actually rather simple. Along with adding a libjpeg.so.6 symlink
like so (just in case):
ln -s libjpeg.so.6.0.2 libjpeg.so.6
where you installed your new lib, you simply need to recompile your app to
link it against the new library. :)
Make sure to rm config.cache and rerun ./configure before attempting to
compile again.
Also, make sure to use gnu-make for the Window Maker compile.
2.5 How do I get libpng to work?
----------------------------------
The newest png libs are available at
http://www.cdrom.com/pub/png/pngcode.html.
You should also get the newest zlib libs from
http://www.cdrom.com/pub/infozip/zlib/.
I had a few problems with this lib as well, basically I had an old libz.so in my
/usr/X11R6/lib/ directory which configure was finding first, and which failed the
test, being an older lib.
Generally the same applies here as with libjpeg, make sure there are no
older versions of the necessary libs floating around on your system, then try
and configure and make again.
Make sure to rm config.cache and rerun ./configure before attempting to
compile again.
Also, make sure to use gnu-make for the Window Maker compile.
2.6 How do I get libgif (or libungif) to work?
----------------------------------
The newest libgif is available at
ftp://sunsite.unc.edu/pub/Linux/libs/giflib/.
The newest libungif is available at
ftp://sunsite.unc.edu/pub/Linux/libs/graphics/.
I had a few problems with libgif... it seems that the install process didn't
install the header file libgif.h, so although the Window Maker configure found
the lib (libgif.so.x), when you actually try to compile, it fails when it looks for
the header to include the make. I simply copied it from the libgif source
directory to the system include directory. (/usr/local/include/ on my system).
Make sure to rm config.cache and rerun ./configure before attempting to
compile again.
Also, make sure to use gnu-make for the Window Maker compile.
2.7 Does wmsound work with 0.1x.x?
----------------------------------
As of Window Maker 0.15.x, sound is now included by default but requires
the authors sound server. For more information, read the NEWS file in the
Window Maker distribution.
The author Anthony Quinn <southgat@frontiernet.net> has released a
version that works with Window Maker >= 0.15.x. It is available from
its home page at http://www.frontiernet.net/~southgat/wmsound/
or on Largo's site at http://wm.current.nu/files.html#wmsound
for your convenience.
2.8 Can I use WindowMaker with KDE or GNOME or CDE?
---------------------------------------------------
Contrary to what a lot of people think, KDE is NOT a window manager. KDE is
a suite of various applications that includes a custom window manager (kwm).
The same is true for CDE.
Now, answering the question: Yes, you can use WindowMaker in these
environments. To use Window Maker with GNOME, you don't need to do
anything special, although you may want to look at the "When I run
GNOME application they have no title bar" below.
To use it with CDE, read the answer for "How do I switch
CDE's window manager to use Window Maker?"
To use it with KDE, read its documentation to get rid of kwm (and possibly
kpanel) and replace it with wmaker. Then, start WPrefs.app, go to "Mouse
Preferences" and set the "Disable mouse actions" check box. You will
need to restart Window Maker to make this change take effect. The
"Disable mouse actions" change is needed to allow you to use krootwm,
which enables you to use kfm's desktop icons, but will prevent you from
accessing Window Maker's Applications and Window List menus with the
mouse.
2.9 How do I get Window Maker working with xdm in Redhat 5.[01]?
----------------------------------------------------------------
After running wmaker.inst and letting it write to .xinitrc,
cp .xinitrc .xsession
and make sure that /usr/local/bin is in your $PATH for the Xserver. You can
make sure of this by including a statement like
export PATH=$PATH:/usr/local/bin
in your .xsession file.
Make sure to chmod +x .xsession so that the Xsession script of xdm can
execute it.
This is how the Xsession script is designed:
startup=$HOME/.xsession
if [ -x "$startup" ]; then
exec "$startup"
elif [ -x "$HOME/.Xclients" ]; then
exec "$HOME/.Xclients"
elif [ -x /etc/X11/xinit/Xclients ]; then
exec /etc/X11/xinit/Xclients
else
if [ -f "$resources" ]; then
xrdb -load "$resources"
fi
exec xsm
fi
You could also have a .Xclients file as was mentioned in previous revisions
of this question.
2.10 Do I need to rerun wmaker.inst with every new version of
Window Maker?
----------------------------------
There is no need to do this. You can do it, but keep in mind, that all your
preferences will be lost, overwritten by the defaults. You can update the
files and add the changes yourself if you need to, but else in most cases is
sufficient to rely on WPrefs and it will update for you the new missing
options if they differ from the default ones.
The way domain files are read beginning from 0.15.0 makes the need for update
almost redundant. The user config files are merged with the global ones in
/usr/local/share/WindowMaker/Defaults.
So even if new options are added, they will be reflected in the user
configuration.
Only if user wishes to change the default behavior, he needs to add that
option to the config file.
If there ever happens to be a need for all users to rerun wmaker.inst in a
future version, this will be noted in the NEWS file.
2.11 When I install Window Maker, I've used wmaker.inst correctly
and I only get a root menu with xterm and exit. How do I fix this?
----------------------------------
Most likely, the problem is that Window Maker can not find a copy of the C
pre processor in a directory such as /lib. The file /lib/cpp should be a
symbolic link to whatever c compiler's cpp you are using. Mine reads as:
cpp -> ../usr/lib/gcc-lib/i586-pc-linux-gnu/pgcc-2.90.29/cpp*
There seems to be another common problem that exhibits this same
behavior. If you find another solution that matches this question please
email <sprout@dok.org> or <largo@current.nu>.
2.12 How do I get Window Maker to use more than 16 colors on my
SGI Indy Workstation?
----------------------------------
Thanks to Peter H. Chou <pchou@leland.Stanford.EDU> for this answer:
By default, the SGI X Server uses 8-bit Pseudocolor mode.
To change it, edit (as root) the file /usr/lib/X11/xdm/Xservers.
Change it to read:
:0 secure /usr/bin/X11/X -bs -c -class TrueColor -depth 24
2.13 Using WindowMaker with Solaris 2.6 CDE
----------------------------------
(thanks to Rob Funk, Unix God of osu.edu)
Assuming you installed Window Maker according to the README's that
come with the source, all you need to run Window Maker on a Solaris box
is an entry in the .xinitrc. Only 0.17 - 0.19 versions have been tested, but
when you run the configure script, let it make changes to the .xinitrc file. It
should look something like this:
#!/bin/sh
# Window Maker Default .xinitrc
exec /usr/local/bin/wmaker
Believe it or not, that's all that it takes. This, in fact, runs WindowMaker
instead of OpenWindows. In order to choose WindowMaker, you simply
choose "OpenWindows Desktop" in the "Options - Session" Menus.
Choose "CDE Desktop" if you want CDE.
The Color schemes and settings for Window Maker are separate from
CDE. Tested on a SPARC 10, Solaris x86 should work also. (better,
hopefully)
2.14 How do I switch CDE's window-manager to use Window Maker?
----------------------------------
Method 1:
Peter Ilberg <peter.ilberg@natinst.com> gives us this answer:
Install WM wherever you want it, mine is in /opt/WindowMaker-0.16.0
(eg. use ./configure --prefix=/opt/WindowMaker-0.16.0).
Run the install script wmaker.inst in your home directory.
Add the following two lines to .dtprofile in your home directory:
SESSIONTYPE=xdm; export SESSIONTYPE
PATH=:/usr/contrib/bin/X11:$PATH:.; export PATH
This tells CDE to go looking for an .xinitrc/.xsession instead of using the
default environment.
Make your .xsession/.xinitrc executable (VERY IMPORTANT, wmaker.inst did
NOT do this automatically for me) using eg.
chmod ugo+x .xsession
Your .xsession/.xinitrc should look something like this:
#!/bin/sh
<some other init stuff that you want/need>
exec wmaker
Things to try if it doesn't work: (somewhat fuzzy and random)
This should do it although I did have problems sometimes initially which I
fixed by randomly trying absolute pathes for wmaker in .xsession/.xinitrc and/or
making the dtprofile/.xinitrc/etc executable. It helps logging in on the console
(select from CDE login screen) and start X manually using 'X'.
If it works that way it should work when logging into the CDE environment.
Remember to Check your paths!
If it doesn't work, you can also substitute some other window manager for
wmaker in the .xinitrc and see if that works. If it does you know at least that
.xinitrc is getting called/executed, so your WM path is wrong or not set.
Method 2:
Thomas Hanselman gave this alternative answer (via Peter Ilberg):
Build and install WM wherever you want, as described in Method 1. You
can install and run WM just fine from your home directory. That's what I'm
doing, since I don't have root access at work :(. Then, in your .Xdefaults file in
your home directory, add the following line:
Dtsession*wmStartupCommand: <path to Window Maker executable>
Then, log out, and log back in, and, unless I've forgotten a step (or this is a
custom Nortel thing), you should be in Window Maker heaven ;).
Difference between the methods: (according to Thomas)
I've been told that the difference between setting the resource and Peter's
method is that if you override the window manager with the resource, you
still get the CDE resources read into the resource database (so you still
have your color settings & such from CDE), whereas with Peter's, the CDE
resource don't get read into the database. I don't know if this is true or not,
however. Also, another thing to note with Window Maker and HP-UX 10.20
-- if you select "Exit Session" from the WM root menu, Window Maker and
all of your applications are killed, but you may not be logged out. Again, this
might be an artifact from my work environment, or the way I start Window
Maker.
Owen Stenseth <iplenergy.com> adds:
When using this method it is possible to exit Window Maker cleanly by
using the dtaction command. I use the following in my Window Maker menu:
"Exit Session" EXEC dtaction ExitSession
The only problem I have at the moment is I seem to get multiple copies of
asclock running when I log in again.
You can also use the normal "Exit Session" command from the WM root
menu and place additional commands required to shutdown CDE in
~/GNUstep/Library/WindowMaker/exitscript
So, if you add "dtaction ExitSession" in that file, the command to shutdown
CDE will be automatically executed when you exit WindowMaker.
2.15 When I run wmaker it quits complaining about something
__register_frame_info.
----------------------------------
This is due to using gcc >= 2.8.0 or egcs to compile Window Maker or a
library it uses, then running these precompiled binaries on a system using
libraries compiled with gcc 2.7.2.x
You will have to compile Window Maker yourself on this system. Please read
the INSTALL file for the instructions on how to do so.
2.16 When I run wmaker it complains about something like expected
libjpeg 61 got 62.
----------------------------------
Upgrade your libjpeg library and/or recompile Window Maker.
2.17 How do I fix an error such as "libwraster.so.1: cannot open shared
object file" ?
----------------------------------
Like most software using GNU autoconf, Window Maker by default will install
under the /usr/local prefix. This has the repercussion on many systems that
the libraries that are part of Window Maker will be installed in
/usr/local/lib, which is usually not in the default system LD_LIBRARY_PATH.
This is why the library cannot be found.
Under Linux, you will need to list this directory in /etc/ld.so.conf and
run /sbin/ldconfig. Both these operations will need to be performed as the
superuser.
Under BSD, as the superuser you will need to run
ldconfig -m /usr/local/lib
which will merge this directory into the system library path.
If the problem persists, you may be able to use "ldd" to track down why the
library cannot be loaded (it will print a list of dynamic objects used by
the executable or library listed on the command line, and where it is
expecting to find it).
-=-=-=-
Usage:
-=-=-=-
3.1 How do I get new apps on the dock (The icon or line of icons on
the right side of the screen by default)
----------------------------------
Launch an application. If there is a little icon that pops up in the bottom
corner of the screen, drag it over to the dock icon(s). You should see a
whitish square indicating when it is close enough to dock, and where it will
be placed. To make sure this application will be there next time you start up
WindowMaker, exit WindowMaker with the "exit session" option.
3.2 What is the difference between the 'Exit' and 'Exit Session' Options?
----------------------------------
'Exit' exits wmaker, but leaves the other apps running, and if wmaker was
not the last app launched in the .xinitrc the X server is not closed, until
the last app started by .xinitrc is closed.
'Exit session' will exit wmaker, but also will close all running apps, thus
the X server will be closed, and your session will end.
3.3 How do I "dock" AppIcons on the Clip?
-----------------------------------------
Just drag icons near it like you would for the dock. Note that if you place
the clip near the dock, you may have problems docking appicons in either.
Move the clip away first.
3.4 Why do none of my Key Bindings (ie: Alt+#) work in Window Maker 0.1x.x
----------------------------------
If you are using XFree86, make sure scroll lock and numlock are off or no
bindings will work (XFree bug). You can try using the XFree86 Numlock
Hack by editing the line #undef NUMLOCK_HACK in $WindowMakerdir/src/wconfig.h
and changing it to #define NUMLOCK_HACK.
As of 0.18.0, this hack functions properly.
3.5 How do I rename workspaces?
----------------------------------
Right click on the "desktop" (root window) to show the menu (don't hold the
button down). Go to the workspaces menu and hold the Control key down
and click on the workspace you would like to rename and type the name.
If you use the clip, use the "Rename Workspace" command in the clip
menu.
3.6 How can I resize a window if the window is larger than my
current desktop?
----------------------------------
David Reviejo <dreviejo@arrakis.es> best summed up this answer:
"Maybe you know:
Alt+Left click and drag
to move the window.
Try this:
Alt+Right click and drag
to resize (by moving the nearest window corner)
Another move/resize tip: while you are moving or resizing a window,
you
can change the move/resize mode by pressing the SHIFT key."
3.7 How do I "undock" AppIcons?
----------------------------------
If the program is not running, just drag the icon to the middle of your
desktop (away from the dock and clip) and watch it disappear.
If the program is running, hold down Meta (usually CTRL) and drag the icon
off the dock. You can also right click on it and choose 'Kill', then undock as
usual.
3.8 I docked an application but when I run it the button is permanently
shaded and I can't run new instances.
----------------------------------
You probably docked the application with dockit. To fix it
remove the icon and use the "Emulate Application Icon" checkbox in
the Advanced Options section of the Attributes panel for the window.
Then restart the application to get the application icon you
must use to dock the application.
It can also mean that you did something you shouldn't, which is
changing the program that is ran from the docked icon. For example,
if you docked rxvt you must NOT change it to xterm, for example.
You also can't do any changes that might alter the contents of
the WM_CLASS hint for the window, like the -name parameter for
xterm, rxvt and other programs.
3.9 When I run wmaker it complains about not being able to load any fonts.
----------------------------------
Check if the locale settings are correct. If you're not sure what to
do, unset the LANG environment variable before running wmaker.
TODO: give complete explanation
3.10 When I set the root background with wmsetbg by hand it works,
but when I do that from the configuration files it doesn't!
----------------------------------
DOH! If you set the root background with wmsetbg by hand, it will obviously
find the image, since you have explicitly specified it by hand. But if you
simply put it in ~/GNUstep/Defaults/WindowMaker in some option like
WorkspaceBack, it will not find the image because Window Maker can't read
your mind to figure where you put the image. So, to fix it, you have to
either place the full path for the image in the texture specification or put
the path for the directory you put your background images in the PixmapPath
option. You can also put all your background images in places like
~/GNUstep/Library/WindowMaker/Backgrounds or
/usr/local/share/WindowMaker/Backgrounds
These directories will be listed under the "Search Path" section of WPrefs.
3.11 When I run GNOME application they have no title bar.
----------------------------------
The GNOME toolkit decided to behave his own way, so it draws its own title bar
with buttons, and asks Window Maker to not draw anything (title bar, resize bar,
close and miniaturise button, ...).
The workaround is, for each application, to ask for Window Maker's window menu
(that is likely <Ctrl>+<Escape> if you did not change it), get the Attributes,
and click on the greyed "Disable titlebar" until it is white (the same can be
done for other decoration attributes).
If you use a lot of GNOME applications, you may want to ask Window Maker to just
ignore the no-titlebar-and-all for all windows at once, which is done from
WPrefs by going to the "Expert" panel and checking the "Ignore decoration hints
for GTK applications" button.
-=-=-=-=-=-=-=-
Configuration:
-=-=-=-=-=-=-=-
4.1 What are those files inside my ~/GNUstep directory?
----------------------------------
~/GNUstep/WindowMaker/WindowMaker
The main config file. This file controls options such as key bindings,
fonts, pixmaps, and focus modes.
~/GNUstep/WindowMaker/WMWindowAttributes
The Controls "attributes" for individual applications and appicons.
Options such as what icon to use are set here. For the most part, this
is now best accessed via a right click on a title bar of an application
and selecting "Attributes"
~/GNUstep/Defaults/WMState
This is the file that is automatically generated and contains the current
dock settings. It is not recommended to edit this file by hand.
~/GNUstep/Defaults/WMRootMenu
This file specifies what file to use as the root menu. In Window Maker
0.19.0 and higher, you can replace this file with the one called plmenu
in ~/GNUstep/Defaults/WindowMaker, and you can then use WPrefs to edit
the menu.
~/GNUstep/Library/WindowMaker/menu
This is the file to edit to change your root menu.
~/GNUstep/Library/WindowMaker/plmenu
This is the same menu file, in property list format - WPrefs needs a
menu in this format if you wish to edit it using WPrefs.
4.2 How do I enable the normal X sloppy focus mode?
----------------------------------
In the ~/GNUstep/Defaults/WindowMaker, change the following:
FocusMode = sloppy;
4.3 How do I get my auto-arrange icons to work?
----------------------------------
In ~/GNUstep/Defaults/WindowMaker set AutoArrangeIcons=Yes; and the icons
should now auto-arrange.
4.4 How do I get my Meta-Tab to cycle through windows correctly?
----------------------------------
Make sure that these settings are true in your ~/GNUstep/Defaults/WindowMaker
file:
CirculateRaise = Yes;
RaiseDelay = 1;
This will not give you MS Windows(tm) style application switching where
alt-tab is changes context.
Paul Warren <<pdw@ferret.lmh.ox.ac.uk>> has released a patch that will
give this style of Context Switching to Window Maker.
It is available from http://ferret.lmh.ox.ac.uk/~pdw/patches/
4.5 How can I define my own Icon for a program? (instead of the
Icon the Application Supplies?)
----------------------------------
You can right click on the title bar of the running app and choose the
"Attributes..." option, then click on the "Ignore client supplied icon"
checkbox. Click "Apply", "Save" and close the Attributes Editor.
Another method is to edit ~/GNUstep/Defaults/WMWindowAttributes by hand and
use the AlwaysUserIcon=YES; option for the app. For example:
xmcd = { Icon = "Radio.xpm";
AlwaysUserIcon=Yes;
};
4.6 How do I get a Tile background for my AppIcons (those things in
the dock)?
----------------------------------
You need to change 1 line to your ~/GNUstep/Defaults/WindowMaker file.
IconBack = (spixmap, tile.black.xpm, white);
or
IconBack = (tpixmap, tile.black.xpm, white);
spixmap will scale the pixmap to fit the tile, tpixmap will tile it as is.
As Random@efnet says, The last parameter is the color that fills in any
Transparent parts of your icon.
IconBack takes other options too, search the NEWS file.
4.7 How do you dock <insert program here> that doesn't have an
appicon in the new version of Window Maker?
----------------------------------
There is now an option available to emulate appicons so that Window
Maker can dock just about anything now.
To dock a misbehaving application, right click on the title bar and select the
attributes menu. Next, select the pull down menu's "Advanced Options"
item. Under the ``Advanced Options'' menu, select the ``Emulate
Application Icon'' Option then Save, Apply and close the dialog.
This should allow you do dock the program normally.
Emulate Appicon does exactly the same thing as dockit, a small app
distributed with ancient versions of Window Maker before the Attribute
Editor existed (now deprecated for the obvious reason). If Emulate Appicon
does not work, dockit will not work either. Such applications violate the
ICCCM (Inter-Client Communication Conventions Manual) and are considered
badly coded for not setting the instance.class hints.
4.8 How do I get x11amp to not have a title bar? (or any other
program for that matter?)
----------------------------------
Right Click on the title bar and choose "Attributes". Click on Panel 2 and
click the "Disable titlebar" and "Disable resizebar" options. Click
"Save", "Apply" and then close the Attributes panel.
By Default, to get back to the attributes menu once you've removed the
titlebar, hit the key F10 while the window is focused.
Here is an example entry in ~/GNUstep/WMWindowAttributes for x11amp.
x11amp={
Icon="x11amp.xpm";
NoTitlebar=Yes;
NoResizebar=Yes;
NoAppIcon=Yes;
};
4.9 How do I set a pixmap background?
----------------------------------
Here is the in depth explanation straight from the NEWS file:
wmsetbg now accepts the following options:
usage: wmsetbg [-options] image
options:
-d
dither image
-m
match colors
-t
tile image
-s
scale image (default)
-u
update Window Maker domain database
-D <domain>
update <domain> database
-c <cpc>
colors per channel to use
By default, it will try to guess if dithering is needed or not and proceed
accordingly.
Using -d or -m will force it to dither or match colors.
Dithering for more than 15bpp is generally not needed, and will only result
in a slower processing.
Don't use dithering except when needed, because it is slower. Else rely on
wmsetbg which will detect if dithering is needed and use it.
-u
will update the WorkspaceBack in the default database
domain file in ~/GNUstep/Defaults/WindowMaker, and let Window
Maker refresh the screen. Please note that this option only
works under Window Maker, and will have no effect under
other window managers, since it rely on Window Maker to
update the image after it reads the updated defaults
database.
-D
<domain> is same as above, but will update the domain
<domain> instead of the default Window Maker domain.
-c
<cpc> will set the color per channel to use. Only needed for
PseudoColor visuals. Window Maker will automatically pass
the value read from the Window Maker domain database.
The following line is straight from your WindowMaker-0.15.x
~/GNUstep/Library/WindowMaker/menu file and should all be on one line.
"Images" OPEN_MENU BACKGROUNDS_DIR
~/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
This should give you an idea on how to add other entries for different image
directories. See the help info at the top of the
~/GNUstep/Library/WindowMaker/menu file for more information.
If you for some reason would like to set your background image with XV, for
instance to use an image format not yet supported by wmsetbg or to use one
of XV's special modes, edit the file ~/GNUstep/Library/WindowMaker/autostart
and insert the line
xv -root -quit -maxpect ~/background.jpg
or
xv -root -quit -max ~/background.jpg
you can also try variations of this to get different tiling and other effects
(where X is a number 1-9 I believe):
'xv -root -quit -rmodeX ~/background.jpg'
If you would like xv functionality in your menu, here's a nice little tip from
Alfredo:
Add the following line to your ~/GNUstep/Library/WindowMaker/menu file. (all on
one line)
"More Backgrounds" OPEN_MENU /home/whoever/backgrounds xv -root -maxpect -quit
4.10 Can I put pixmaps in my root menu and title bars?
----------------------------------
With the release of WindowMaker-0.14.1, you can now put pixmaps
anywhere you would have either a gradient or a color. This means now that
MenuTextBack=(tpixmap, foo.xpm, acolor);
in ~/GNUstep/Defaults/WindowMaker will put the correct pixmap tiled in your
menu.
FTitleBack = (spixmap, foo.xpm, black);
Would have the effect of stretching a pixmap to fit the title bar of the active
window.
You can use png, gif, ppm, tiff, jpeg and xpm images interchangeably in
Window Maker if you have compiled in support for those formats.