File: jwm.1.in

package info (click to toggle)
jwm 1.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,212 kB
  • ctags: 1,758
  • sloc: ansic: 14,975; sh: 2,704; makefile: 183
file content (977 lines) | stat: -rw-r--r-- 22,373 bytes parent folder | download
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
./"
./" groff -man -Tascii jwm.1
./"

.TH jwm 1 "@DATE@" "v@VERSION@"
.SH NAME
JWM - Joe's Window Manager

.SH SYNOPSIS
.BR jwm " [options]"
.SH DESCRIPTION
JWM is a window manager for the X11 Window System.

.SH OPTIONS
\fB\-display\fP \fIdisplay\fP
.RS
This option specifies the display to use; see \fBX\fP(1).
.RE
.P
.B "-exit"
.RS
Exit JWM by sending _JWM_EXIT to the root window.
.RE
.P
.B "-h"
.RS
Display a help message and exit.
.RE
.P
.B "-p"
.RS
Parse the configuration file and exit.
It is a good idea to use this after making modifications to the configuration
file to ensure there are no errors.
.RE
.P
.B "-restart"
.RS
Restart JWM by sending _JWM_RESTART to the root window.
.RE
.P
.B "-v"
.RS
Display version information and exit.
.RE

.SH FILES
.IP "@SYSCONF@/jwmrc"
The default JWM configuration file.
.IP "~/.jwmrc"
Local configuration file. Copy the default configuration file to this
location to make user-specific changes.

.SH CONFIGURATION
.B OVERVIEW
.RS
Configuration of JWM is done by editing ".jwmrc".  This file is XML
making it easy to edit, either by hand or programmatically. The
example.jwmrc gives an example configuration file.
Before restarting JWM, it is a good idea to run "jwm -p" to make
sure the configuration file is free of errors.  Otherwise you may end up
without a root menu.
.RE
.P
.B "ROOT MENU"
.RS
The root menu in JWM is the primary way of starting programs.
It also provides a way to restart or exit the window manager.
The outer most tag is \fBRootMenu\fP. The following attributes are
supported:
.P
\fBonroot\fP \fIlist\fP
.RS
Determine which buttons on the root window activate the menu.
This is a list of integers specifying buttons. The default is
"123456789".
.RE
.P
\fBheight\fP \fIint\fP
.RS
Height of each menu item in pixels. 0 indicates the largest menu item
will determine the height. The default is 0.
.RE
.P
\fBlabeled\fP \fIbool\fP
.RS
Determines if a label appears at the top of the menu. Default is false.
.RE
.P
\fBlabel\fP \fIstring\fP
.RS
The label to display at the top of the menu. Default is "JWM".
.RE
.P
Within the \fBRootMenu\fP tag, the following tags are supported:
.P
.B Menu
.RS
This tag creates a submenu item. Any of the tags allowed within the 
\fBRootMenu\fP tag, including the \fBMenu\fP tag are allowed within this
element. The following attributes are supported:
.P
\fBheight\fP \fIint\fP
.RS
Height of each menu item in pixels. 0 indicates the largest menu item
will determine the height. The default is inherited from the parent menu.
.RE
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this menu. No default.
.RE
.P
\fBlabeled\fP \fIbool\fP
.RS
Determines if a label appears at the top of the menu. Default is false.
.RE
.RE
.P
.B Include
.RS
Include the contents of a file into the menu structure. The file must
start with a "Menu" tag. The file is specified by the text of the tag.
If the text starts with "exec:" then the output of a program is used.
.RE
.P
.B Program
.RS
The \fBProgram\fP tag provides a way to start an external program. The text
in this tag is the command used to start he program.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to display. Default is the text of the tag.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use. No default.
.RE
.RE
.P
.B Separator
.RS
This tag simply puts a line in the menu allowing menu divisions.
No text or attributes are used.
.RE
.P
.B Desktops
.RS
Add a desktop menu. This will add a submenu with a list of desktops that
can be used to change the current desktop.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use for the menu. The default is "Desktops".
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B Restart
.RS
This tag adds a menu item to restart the window manager.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Restart".
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use. No default.
.RE
.RE
.P
.B Exit
.RS
This tag adds a menu item to exit the window manager. If text is
present within this tag, it is interpreted as a command to run when JWM
exits. This can be used to start another window manager.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Exit".
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use. No default.
.RE
.P
\fBconfirm\fP \fIbool\fP
.RS
Determine if a confirm dialog appears before exiting. Default is true.
.RE
.P
Note that confirm dialogs can be disabled completely at the compile-time.
.RE
.RE

.B TRAYS
.RS
One or more trays may be created via the \fBTray\fP tag.
This tag supports the following attributes:
.P
\fBautohide\fP \fIbool\fP
.RS
Allows this tray to hide itself when not activated. Default is false.
.RE
.P
\fBx\fP \fIint\fP
.RS
The x-coordinate of the tray. This may be negative to indicate an offset
from the right of the screen.
.RE
.P
\fBy\fP \fIint\fP
.RS
The y-coordinate of the tray. This may be negative to indicate an offset
from the bottom of the screen.
.RE
.P
\fBwidth\fP \fIint\fP
.RS
The width of the tray. 0 indicates that the tray should compute an
optimal width depending on what it contains and the layout. 0 is the
default.
.RE
.P
\fBheight\fP \fIint\fP
.RS
The height of the tray. 0 indicates that the tray should compute an
optimal height depending on what it contains and the layout. 0 is the
default.
.RE
.P
\fBborder\fP \fIint\fP
.RS
The width of the border. The default is 1. Valid values are between 0 and 32
inclusive.
.RE
.P
\fBlayer\fP \fIint\fP
.RS
The layer of the tray. The default is 8. Valid values are between 0 and
12 inclusive.
.RE
.P
\fBlayout\fP { \fBvertical\fP | \fBhorizontal\fP }
.RS
The layout of the tray. The default is horizontal.
.RE
.P
\fBvalign\fP { \fBfixed\fP | \fBtop\fP | \fBcenter\fP | \fBbottom\fP }
.RS
The vertical alignment of the tray. The default is \fBfixed\fP.
.RE
.P
\fBhalign\fP { \fBfixed\fP | \fBleft\fP | \fBcenter\fP | \fBright\fP }
.RS
The horizontal alignment of the tray. The default is \fBfixed\fP.
.RE
.P
Within this tag the following tags are supported:
.P
.B Clock
.RS
Add a clock to the tray. The text of this tag is a command to run
when the clock is clicked. This tag supports the following attributes:
.P
\fBformat\fP \fIstring\fP
.RS
The format of the clock. See \fBstrftime\fP(3).
.RE
.P
\fBwidth\fP \fIint\fP
.RS
The width of the clock. 0 indicates that the width should be determined
from the length of the text to be displayed.
.RE
.P
\fBheight\fP \fIint\fP
.RS
The height of the clock. 0 indicates that the height should be determined
from the font used.
.RE
.RE
.P
.B Dock
.RS
Add a dock for system notifications. This can be used by those programs
that use the _NET_SYSTEM_TRAY_Sn selection. The size of the Dock is
dynamic based on the size of the tray and the number of items contained.
Only one Dock is allowed per instance of JWM.
.RE
.P
.B Pager
.RS
Add a pager to the tray. This tag supports the following attributes:
.P
\fBwidth\fP \fIint\fP
.RS
The width of the pager. 0 indicates that the width should be determined
from the tray. 0 is the default.
.RE
.P
\fBheight\fP \fIint\fP
.RS
The height of the pager. 0 indicates that the height should be determined
from the tray. 0 is the default.
.RE
.RE
.P
.B Swallow
.RS
Swallow a program into the tray. The text of this tag gives the
command to run.
This tag supports the following attributes:
.P
\fBname\fP \fIstring\fP
.RS
The name of the program to swallow. This attribute is required.
.RE
.P
\fBwidth\fP \fIint\fP
.RS
The width of the swallowed program. 0 indicates that the width should
be determined from the tray and size requested from the program. 0 is
the default.
.RE
.P
\fBheight\fP \fIint\fP
.RS
The height of the swallowed program. 0 indicates that the height should
be determined from the tray and the size requested from the program. 0 is
the default.
.RE
.RE
.P
.B TaskList
.RS
Add a task list to the tray.
This tag supports the following attribute:
.P
\fBmaxwidth\fP \fIint\fP
.RS
The maximum width of an item in the task list. 0 indicates no maximum.
The default is 0.
.RE
.RE
.P
.B TrayButton
.RS
Add a button to the tray. The text of this tag determines what action to
take when the button is clicked. The following actions are supported:
.P
\fBroot\fP
.RS
Show the root menu. This is the default.
.RE
.P
\fBexec:\fP \fIstring\fP
.RS
Execute a command.
.RE
.P
\fBshowdesktop\fP
.RS
Minimize all windows on the current desktop.
.RE
.P
This tag supports the following attributes:
.P
\fBlabel\fP \fIstring\fP
.RS
A label to display. No default.
.RE
.P
\fBpopup\fP \fIstring\fP
.RS
A string to be displayed for a popup. This will default to the value
specified for \fBlabel\fP, if provided. If neither \fBpopup\fP nor
\fBlabel\fP are specified no popup will be shown.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
An icon to display. No default.
.RE
.RE
.RE

.B INCLUDES
.RS
Other configuration files may be included under the JWM tag via the 
\fBInclude\fP tag.  The text of this tag specifies the location of an
additional configuration file. The path may be relative to the loacation
JWM was started, an absolute path, or a path referencing an environment
variable (using '$'). The format of the configuration file is the same as
the main configuration file.
.RE

.B "GROUP SETTINGS"
.RS
Program groups allow one to specify options which apply to a group of
programs by name and/or class. A program group is created with the 
\fBGroup\fP tag. As many program groups can be created as desired. Within the 
\fBGroup\fP tag the following tags are supported:
.P
.B Name
.RS
The title of a program to match to be in this group. This field is case
sensitive. a wild card, \fB*\fP, may be used.
.RE
.B Class
.RS
The window class for a program to match to be in this group. This field is
case sensitive. A wild card, \fB*\fP, may be used.
.RE
.B Option
.RS
An option for this group. Possible options are given below:
.P
.B border
.RS
Causes windows in this group to have a border.
.RE
.P
\fBdesktop:\fP\fI#\fP
.RS
The desktop on which windows in this group will be started.
.RE
.P
\fBicon:\fP\fIimage.xpm\fP
.RS
The icon to be used for windows in this group.
.RE
.P
.\fBlayer:\fP\fI#\fP
.RS
The layer on which windows in this group will be started.
.RE
.P
.B maximized
.RS
Make windows in this group initially maximized.
.RE
.P
.B minimized
.RS
Make windows in this group initially minimized.
.RE
.P
.B noborder
.RS
Causes windows in this group to be displayed without a border.
.RE
.P
.B nolist
.RS
Causes the tray to ignore windows in this group.
.RE
.P
.B notitle
.RS
Causes windows in this group to be displayed without a title bar.
.RE
.P
.B pignore
.RS
Ignore initial window position requested by program.
.RE
.P
.B shaded
.RS
Make windows in this group initially shaded.
.RE
.P
.B sticky
.RS
Make windows in this group sticky.
.RE
.P
.B title
.RS
Causes windows in this group to have a title bar.
.RE
.RE
.RE

.B "BORDER STYLE"
.RS
The \fBBorderStyle\fP tag controls the look of window borders.
Within this tag, the following tags are supported:
.P
.B Font
.RS
The font used for title bars. See Fonts section for more information
.RE
.P
.B Width
.RS
The width of window borders in pixels. The default is 5, the minimum is 3,
and the maximum is 32.
.RE
.P
.B Height
.RS
The height of window title bars in pixels. The default is 21, the minimum
is 2, and the maximum is 64.
.RE
.P
.B Foreground
.RS
The color of text on inactive title bars. See the \fBCOLORS\fP section for
more information.
.RE
.P
.B Background
.RS
The border background color for inactive borders. See the \fBCOLORS\fP
section for more information.
.RE
.P
.B ActiveForeground
.RS
The color of text on active title bars. See the \fBCOLORS\fP section for
more information.
.RE
.P
.B ActiveBackground
.RS
The border background color for active borders. See the \fBCOLORS\fP
section for more information.
.RE
.RE

.B "TRAY STYLE"
.RS
The \fBTrayStyle\fP tag controls the look of trays.
Within this tag the following tag is supported:
.P
.B Font
.RS
The default tray font to use. See the \fBFONTS\fP section for more
information.
.RE
.P
.B Foreground
.RS
The default foreground color. See the \fBCOLORS\fP section for
more information.
.RE
.P
.B Background
.RS
The default background color. See the \fBCOLORS\fP section for
more information.
.RE
.RE

.B "TASK LIST STYLE"
.RS
The \fBTaskListStyle\fP tag controls the look of task lists.
This tag supports the following attribute:
.P
\fBinsert\fP \fImode\fP
.RS
This determines how new items are added to the task list. Valid options
are \fBleft\fP and \fBright\fP. The default is \fBright\fP.
.RE
.P
Within this tag the following tags are supported:
.P
.B Font
.RS
The font used for program names. See the \fBFONTS\fP section for more
information.
.RE
.P
.B Foreground
.RS
The foreground color of the task list. See the \fBCOLORS\fP section for
more information.
.RE
.P
.B Background
.RS
The background color of the task list. See the \fBCOLORS\fP section for
more information.
.RE
.P
.B ActiveForeground
.RS
The foreground color of an active item on the task list. See the \fBCOLORS\fP
section for more information.
.RE
.P
.B ActiveBackground
.RS
The background color of an active item on the task list. See the \fBCOLORS\fP
section for more information.
.RE
.RE

.B "CLOCK STYLE"
.RS
The \fBClockStyle\fP tag controls the look of clocks.
Within this tag, the following tags are supported.
.P
.B Font
.RS
The font used. See the \fBFONTS\fP section for more information.
.RE
.P
.B Foreground
.RS
The color of the text. See the \fBCOLORS\fP section for more information.
.RE
.P
.B Background
.RS
The background color. See the \fBCOLORS\fP section for more information.
.RE
.RE

.B "PAGER STYLE"
.RS
The \fBPagerStyle\fP tag controls the look of pagers.
Within this tag, the following tags are supported:
.P
.B Outline
.RS
The color of the outline around windows shown in the pager. See the
\fBCOLORS\fP section for more information.
.RE
.P
.B Foreground
.RS
The color of inactive windows shown in the pager. See the \fBCOLORS\fP
section for more information.
.RE
.P
.B Background
.RS
The background color of inactive desktops shown in the pager. See the
\fBCOLORS\fP section for more information.
.RE
.P
.B ActiveForeground
.RS
The color of active windows shown in the pager. See the \fBCOLORS\fP section
for more information.
.RE
.P
.B ActiveBackground
.RS
The color of active desktops shown in the pager. See the \fBCOLORS\fP
section for more information.
.RE
.RE

.B "MENU STYLE"
.RS
The \fBMenuStyle\fP tag controls the look of the menus in JWM
(this includes the root menu and window menus).
Within this tag the following tags are supported:
.P
.B Font
.RS
The font used on menus See the \fBFONTS\fP section for more information.
.RE
.P
.B Foreground
.RS
The text color of inactive menu items. See the \fBCOLORS\fP section for more
information.
.RE
.P
.B Background
.RS
The background color of inactive menu items. See the \fBCOLORS\fPsection for
more information.
.RE
.P
.B ActiveForeground
.RS
The text color of active menu items. See the \fBCOLORS\fP section for more
information.
.RE
.P
.B ActiveBackground
.RS
Text background color of active menu items. See the \fBCOLORS\fP section
for more information.
.RE
.RE

.B "POPUP STYLE"
.RS
The \fBPopupStyle\fP tag controls the look of popup windows such as those
shown when the mouse sits over a task list item.
This tag supports the following attributes:
.P
\fBdelay\fP \fIint\fP
.RS
The delay in milliseconds before popups activate.
The default is 2000.
.RE
.P
\fBenabled\fP \fIbool\fP
.RS
Determine if popups are shown. Default is true.
.RE
.P
Within this tag the following tags are supported:
.P
.B Font
.RS
The font to use. See the \fBFONTS\fP section for more information.
.RE
.P
.B Outline
.RS
The color of the window outline. See the \fBCOLORS\fP section for more
information.
.RE
.P
.B Foreground
.RS
The text color. See the \fBCOLORS\fP section for more information.
.RE
.P
.B Background
.RS
The background color. See the \fBCOLORS\fP section for more information.
.RE
.RE

.B FONTS
.RS
Fonts for various parts of JWM are specified within a \fBFont\fP tag. The
text of this tag determines the font to use.
This can be either a standard X font string or, if compiled with XFT
support, an XFT font string.
.RE

.B COLORS
.RS
Colors for various parts of JWM are specified within specific tags
(discribed above). Colors may either be hex triplets in RGB format
(for example, #FF0000 is red) or by a name recognized by the X server.
.RE

.B ICONS
.RS
Icons for windows that don't supply an icon via the _NET_WM_ICON hint are
located by searching the icon search path(s) for an icon whose name
(minus the ".xpm" or ".png" extension) matches the instance name of the
window as returned in the WM_CLASS hint. If this lookup fails, a default
icon is supplied. This icon will be displayed for the window on it's title
bar and on the task list. Icons that are not an appropriate size will be
scaled. Square icons work best.
.P
For menu items, the icon path is searched for a match. the icon specified for
a menu item must be the exact name of the icon file with the extension.
If no match is found, a blank area will appear where the icon should appear.
If an icon is not specified for any menu item in a menu, no space will be
allocated for icons.
.P
Icon properties are contained within the \fBIcons\fP tag. Within this tag,
zero or more \fBIconPath\fP tags may be specified. The text of this tag is
assumed to be an absolute directory path to a directory containing XPM 
and/or PNG icons.
When searching for icons, if multiple paths are provided, they will be
searched in order until a match is made.
Note that icon, PNG, and XPM support are compile-time options.
.RE

.B "KEY BINDINGS"
.RS
Keyboard bindings in JWM are specified in \fBKey\fP tags.
Either the \fBkey\fP or \fBkeycode\fP attributes must be specified
to determine which key will cause an action. The optional
attribute, \fBmask\fP, specifies what key mask, if any, must be in effect
for the binding to match. Finally, the text of the \fBKey\fP tag is the
action to perform.
.P
One or more of the following key masks may be specified for \fBmask\fP:
.RS
.IP \fBA\fP
The "Alt" key.
.IP \fBC\fP
Control
.IP \fBS\fP
Shift
.IP \fBH\fP
Hyper
.IP \fBM\fP
Meta
.IP \fBP\fP
Super
.RE
.P
The key specified in the \fBkey\fP attribute must contain a valid key
string for \fBXStringToKeysym\fP(3). These values are usually what one would
expect (for example, the escape key is called "Escape").
.P
Valid actions for a key binding are:
.RS
.IP \fBup\fP
Move up. Not grabbed.
.IP \fBdown\fP
Move down. Not grabbed.
.IP \fBright\fP
Move right. Not grabbed.
.IP \fBleft\fP
Move left. Not grabbed.
.IP \fBescape\fP
Stop a move/resize or exit a menu. Not grabbed.
.IP \fBselect\fP
Make a menu selection. Not grabbed.
.IP \fBnext\fP
Move to the next window in the task list. Grabbed.
.IP \fBnextstacked\fP
Move to the next window in the stacking order. Grabbed.
.IP \fBclose\fP
Close the active window. Grabbed.
.IP \fBminimize\fP
Minimize the active window. Grabbed.
.IP \fBmaximize\fP
Maximize the active window. Grabbed.
.IP \fBshade\fP
Shade the active window. Grabbed.
.IP \fBmove\fP
Move the active window. Grabbed.
.IP \fBresize\fP
Resize the active window. Grabbed.
.IP \fBroot\fP
Show the root menu. Grabbed.
.IP \fBwindow\fP
Show the window menu for the active window. Grabbed.
.IP \fBdesktop\fP
Switch to the next desktop. Grabbed.
.IP \fBdesktop#\fP
Switch to a specific desktop. To use this, "#" must be specified in
the key section. The number 1 to the number of desktops configured
are then substituted for "#". Grabbed.
.IP \fBexec:\fP\fIcommand\fP
Execute \fIcommand\fP. Grabbed.
.IP \fBrestart\fP
Restart JWM. Grabbed.
.RE
.P
Note that keys that are grabbed will not be available to applications other
than JWM since JWM will interpret these. Also note that there are no
default key bindings. Finally, it is possible to bind multiple key
combinations to the same action.
.RE

.B "MOUSE BINDINGS"
.RS
Note that in the future this may be configurable.
.RE
.P
.RS
Any button on the root window will bring up the root menu unless
disabled via the \fBonroot\fP attribute of \fBRootMenu\fP.
.RE
.P
.RS
The right button will show the window menu on the frame.
.RE
.P
.RS
The left button will resize if on the border or move if in the title bar.
.RE
.P
.RS
The middle button will move anywhere on the frame.
.RE
.P
.RS
A double click on the title bar of a window will toggle shading.
The mouse wheel will move through menus when a menu is open, show the root
menu when over root, or switch desktops when over the pager.
.RE

.B DESKTOPS
.RS
Virtual desktops are controlled with the \fBDesktops\fP tag.
Within this tag the following attribute is supported:
.P
\fBcount\fP \fIint\fP
.RS
The number of virtual desktops. The default is 4. Valid values are between
1 and 8 inclusive.
.RE
.P
Desktop names may be assigned via the \fBName\fP tag within the
\fBDesktops\fP tag.
.RE

.B "OTHER SETTINGS"
.P
.RS
The following tags may also be supplied:
.P
.B DoubleClickDelta
.RS
The number of pixels the mouse can move during a double click.
The default is 2. Valid values are between 0 and 32 inclusive.
.RE
.P
.B DoubleClickSpeed
.RS
The maximum number of milliseconds between clicks for a double click.
The default is 400. Valid values are between 1 and 2000 inclusive.
.RE
.P
.B FocusModel
.RS
The focus model to be used. The default is "sloppy". Valid values
are "click" (click to focus) and "sloppy" (focus follows mouse).
.RE
.P
.B MoveMode
.RS
The move mode. The default is "opaque". Valid values are
"opaque" and "outline".
.RE
.P
.B ResizeMode
.RS
The resize mode. The default is "opaque". Valid values are
"opaque" and "outline".
.RE
.P
.B SnapMode
.RS
The snap mode. The default is "border". Valid values are
"none", "screen", and "border". An optional attribute, \fBdistance\fP,
specifies the distance for snapping. The default is 5. Valid values
are between 1 and 32 inclusive.
.RE
.P
.B StartupCommand
.RS
A command to run when JWM starts.
.RE
.P
.B ShutdownCommand
.RS
A command to run when JWM exits.
.RE
.RE
.P

.SH AUTHOR
Joe Wingbermuehle <joewing@joewing.net>

.SH "SEE ALSO"
.BR X (1)