summaryrefslogtreecommitdiffstats
path: root/gnome2-user-guide/C/gosmetacity.xml
blob: fb13a3c250c5c7fb60659eef62fa72d64d3946d0 (plain)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
<chapter id="gosmetacity-1">
  <title>Working With Windows</title>
  <highlights>
    <para>The information in this chapter describes how to use windows
in the desktop environment. You can use several types of window manager with
the GNOME Desktop, for example, <application>Metacity</application> and <application>Sawfish</application>.  Many of the functions in <application>Metacity</application>
are also available in <application>Sawfish</application>. This chapter describes
the functions that are associated with the <application>Metacity</application>
window manager.</para>
  </highlights>
  <sect1 id="gosmetacity-712">
    <title>Windows and Workspaces</title>
    <indexterm>
      <primary>windows</primary>
      <secondary>introduction</secondary>
    </indexterm>
    <indexterm>
      <primary>workspaces</primary>
      <secondary>introduction</secondary>
    </indexterm>
    <para>You can display many windows at the same time in your desktop
environment. Your windows are displayed in subdivisions of your desktop environment
that are called workspaces. A workspace is a discrete area in which you can
work. Every workspace in your desktop environment contains the same desktop,
the same panels, and the same menus. However, you can run different applications,
and open different windows in each workspace. You can display only one workspace
at a time in your desktop environment but you can have windows open in other
workspaces.  </para>
    <para>The <application>Workspace Switcher</application> applet displays a
visual representation of your windows and workspaces, as show in <xref linkend="gosmetacity-FIG-717"/>.</para>
    <figure id="gosmetacity-FIG-717">
      <title>Workspace Switcher Applet</title>
      <screenshot>
        <mediaobject>
          <imageobject>
            <imagedata fileref="figures/workspace_switcher_applet.png" format="PNG"/>
          </imageobject>
          <textobject>
            <phrase>Workspace Switcher applet. The context describes the graphic.</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
    </figure>
    <para>You can add workspaces at any time. To add workspaces to your desktop
environment, right-click on the <application>Workspace Switcher</application>
applet, then choose <guimenuitem>Preferences</guimenuitem>. The <guilabel>Workspace Switcher Preferences</guilabel> dialog is displayed. Use the <guilabel>Number of workspaces</guilabel> spin box to specify the number of workspaces
you require.</para>
    <sect2 id="gosmetacity-15">
      <title>Window Manager Behavior</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>window managers</secondary>
      </indexterm>
      <para>A window manager controls how windows appear and behave.
The window manager manages where your windows are located, and which window
has focus. The window frame contains buttons that enable you to perform standard
actions such as moving, closing, and resizing windows.</para>
      <para>You can configure some window manager settings in the <application>Windows</application> preference tool. This manual describes the functions
that are associated with the default configuration of the <application>Metacity</application> window manager. The default configuration is specified in the <application>Windows</application> preference tool.</para>
    </sect2>
  </sect1>
  <sect1 id="gosmetacity-713">
    <title>Types of Window</title>
    <indexterm>
      <primary>windows</primary>
      <secondary>types of</secondary>
    </indexterm>
    <para>The desktop environment features the following types of windows: </para>
    <itemizedlist>
      <listitem>
        <para>Application windows </para>
        <para>When you start an application, an application window opens. The window
manager applies a frame to the application window. By default, the top edge
of the application window contains a titlebar. The titlebar contains buttons
that you can use to work with the window. The buttons in an application window
frame enable you to perform actions such as open the <guimenu>Window Menu</guimenu>, or close the window. The <guimenu>Window Menu</guimenu> provides
a number of actions that you can perform on the window. </para>
        <para>The following figure shows a typical application window. </para>
        <screenshot>
          <mediaobject>
            <imageobject>
              <imagedata fileref="figures/gedit_window.png" format="PNG"/>
            </imageobject>
            <textobject>
              <phrase>Application window in Simple theme.</phrase>
            </textobject>
          </mediaobject>
        </screenshot>
      </listitem>
      <listitem>
        <para>Dialog windows</para>
        <para>A dialog window is a popup window in which you enter information or
commands. The dialog appears within a window frame. </para>
        <para>You can use the top edge of the frame to work with the window. For example,
you can use the titlebar to move the dialog. The frame also contains buttons
that enable you to do the following:</para>
        <itemizedlist>
          <listitem>
            <para>Open the <guimenu>Window Menu</guimenu></para>
          </listitem>
          <listitem>
            <para>Close the dialog window</para>
          </listitem>
        </itemizedlist>
        <para>Typically, you open a dialog window from an application window. When
you open a dialog window, the window is usually raised and has focus. Some
dialog windows do not allow you to use the application until you close the
dialog. </para>
        <para>The following figure shows a typical dialog window. </para>
        <screenshot>
          <mediaobject>
            <imageobject>
              <imagedata fileref="figures/gedit_pref_dialog.png" format="PNG"/>
            </imageobject>
            <textobject>
              <phrase>Dialog window in Simple theme.</phrase>
            </textobject>
          </mediaobject>
        </screenshot>
      </listitem>
    </itemizedlist>
    <sect2 id="gosmetacity-16">
      <title>Window Frames</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>frames</secondary>
      </indexterm>
      <para>A window frame is a border around a window. The window frame contains
a titlebar. The titlebar contains buttons that you can use to work with the
window.</para>
      <sect3 id="gosmetacity-10">
        <title>Themes</title>
        <indexterm>
          <primary>windows</primary>
          <secondary>themes</secondary>
        </indexterm>
        <para>You can apply several themes to your window frames. The theme determines
how the frame looks. To choose a theme for all your window frames, choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Desktop Preferences</guisubmenu><guimenuitem>Theme</guimenuitem></menuchoice>. </para>
      </sect3>
      <sect3 id="gosmetacity-17">
        <title>Control Elements</title>
        <indexterm>
          <primary>windows</primary>
          <secondary>frame control elements</secondary>
        </indexterm>
        <para>You can use the window frame to perform various actions
with the window. In particular, the titlebar contains various buttons. The
following figure shows the titlebar of an application window:</para>
        <screenshot>
          <mediaobject>
            <imageobject>
              <imagedata fileref="figures/titlebar_anno_window.png" format="PNG"/>
            </imageobject>
            <textobject>
              <phrase>Window titlebar. Callouts: Window Menu button, Titlebar, Minimize, Maximize, Close Window buttons.</phrase>
            </textobject>
          </mediaobject>
        </screenshot>
        <para>Dialog windows also contain some of the window frame control elements. <xref linkend="gosmetacity-TBL-1"/> describes the active control elements on window
frames, from left to right.</para>
        <table frame="topbot" id="gosmetacity-TBL-1">
          <title>Window Frame Control Elements</title>
          <tgroup cols="2" colsep="0" rowsep="0">
            <colspec colname="colspec0" colwidth="41.65*"/>
            <colspec colname="colspec1" colwidth="58.35*"/>
            <thead>
              <row rowsep="1">
                <entry valign="top">
                  <para>Control Element</para>
                </entry>
                <entry valign="top">
                  <para>Description </para>
                </entry>
              </row>
            </thead>
            <tbody>
              <row>
                <entry colname="colspec0" valign="top">
                  <para><guibutton>Window Menu</guibutton>
button</para>
                </entry>
                <entry colname="colspec1" valign="top">
                  <para>Click on
the button to open the <guimenu>Window Menu</guimenu>. </para>
                </entry>
              </row>
              <row>
                <entry valign="top">
                  <para>Titlebar</para>
                </entry>
                <entry valign="top">
                  <para>You can use the titlebar to perform the following actions: </para>
                  <itemizedlist>
                    <listitem>
                      <para>To give focus to the window click on the titlebar.</para>
                    </listitem>
                    <listitem>
                      <para>To move the window grab the titlebar and drag the window to
the new location. </para>
                    </listitem>
                    <listitem>
                      <para>To shade the window, double-click on the titlebar. To unshade
the window, double-click on the titlebar again.</para>
                    </listitem>
                  </itemizedlist>
                </entry>
              </row>
              <row>
                <entry valign="top">
                  <para><guibutton>Minimize</guibutton> button </para>
                </entry>
                <entry valign="top">
                  <para>Click on the <guibutton>Minimize</guibutton> button
to minimize the window. </para>
                </entry>
              </row>
              <row>
                <entry valign="top">
                  <para><guibutton>Maximize</guibutton> button </para>
                </entry>
                <entry valign="top">
                  <para>Click on the <guibutton>Maximize</guibutton> button
to maximize the window. </para>
                </entry>
              </row>
              <row>
                <entry colname="colspec0">
                  <para><guibutton>Close Window</guibutton> button</para>
                </entry>
                <entry colname="colspec1">
                  <para>Click on the <guibutton>Close
Window</guibutton> button to close the window. </para>
                </entry>
              </row>
              <row>
                <entry valign="top">
                  <para>Border</para>
                </entry>
                <entry valign="top">
                  <para>The border around the window. Use the border to perform the following actions: </para>
                  <itemizedlist>
                    <listitem>
                      <para>To resize the window grab the border and drag the border to
the new size. </para>
                    </listitem>
                    <listitem>
                      <para>To open the <guimenu>Window Menu</guimenu>, right-click on
the border.</para>
                    </listitem>
                  </itemizedlist>
                </entry>
              </row>
              <row>
                <entry colname="colspec0" valign="top">
                  <para>Window contents</para>
                </entry>
                <entry colname="colspec1">
                  <para>The area inside the window frame. Use the
window contents to perform the following actions:</para>
                  <itemizedlist>
                    <listitem>
                      <para>To move a window, press-and-hold <keycap>Alt</keycap>,  click
in the window contents, then drag the window to the new location.</para>
                    </listitem>
                    <listitem>
                      <para>To resize a window, press-and-hold <keycap>Alt</keycap>, 
then middle-click near the corner you want to resize. To resize the window,
drag from the corner on which you middle-clicked.</para>
                    </listitem>
                    <listitem>
                      <para>To open the <guimenu>Window Menu</guimenu>, press-and-hold <keycap>Alt</keycap>, then right-click in the window contents.</para>
                    </listitem>
                  </itemizedlist>
                </entry>
              </row>
            </tbody>
          </tgroup>
        </table>
      </sect3>
    </sect2>
  </sect1>
  <sect1 id="gosmetacity-714">
    <title>Menus and Applets for Working With Windows and Workspaces</title>
    <indexterm>
      <primary>windows</primary>
      <secondary>applets and menus for working
with</secondary>
    </indexterm>
    <para>This section describes the menus and applets
that you can use to work with windows and workspaces.</para>
    <sect2 id="gosmetacity-24">
      <title>Window Menu</title>
      <screenshot>
        <mediaobject>
          <imageobject>
            <imagedata fileref="figures/window_menu.png" format="PNG"/>
          </imageobject>
          <textobject>
            <phrase>Window Menu. Menu items: Minimize, Maximize, Shade, Move, Resize, Close, Put on All Workspaces, Move to workspace-name.</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <indexterm>
        <primary>windows</primary>
        <secondary>Window Menu</secondary>
      </indexterm>
      <indexterm>
        <primary>menus</primary>
        <secondary>Window Menu</secondary>
      </indexterm>
      <para>The <guimenu>Window Menu</guimenu> is a menu of commands that you can
use to perform actions on your windows. To open the <guimenu>Window Menu</guimenu>
perform one of the following actions:</para>
      <itemizedlist>
        <listitem>
          <para>Click on the <guibutton>Window Menu</guibutton> button on
the window that you want to work with.</para>
        </listitem>
        <listitem>
          <para>Press <keycombo><keycap>Alt</keycap><keycap>spacebar</keycap></keycombo>.</para>
        </listitem>
        <listitem>
          <para>Press-and-hold <keycap>Alt</keycap>, then right-click on any
part of the window that you want to work with. </para>
        </listitem>
      </itemizedlist>
      <para><xref linkend="gosmetacity-TBL-25"/> describes the commands and submenus
in the <guimenu>Window Menu</guimenu>.</para>
      <table frame="topbot" id="gosmetacity-TBL-25">
        <title>Window Menu Commands and Submenus</title>
        <tgroup cols="2" colsep="0" rowsep="0">
          <colspec colname="colspec2" colwidth="32.34*"/>
          <colspec colname="colspec3" colwidth="67.66*"/>
          <thead>
            <row rowsep="1">
              <entry valign="top">
                <para>Menu Item</para>
              </entry>
              <entry valign="top">
                <para>Function </para>
              </entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry valign="top">
                <para>
                  <guimenuitem>Minimize</guimenuitem>
                </para>
              </entry>
              <entry valign="top">
                <para>Minimizes the window.</para>
              </entry>
            </row>
            <row>
              <entry valign="top">
                <para><guimenuitem>Maximize</guimenuitem> or <guimenuitem>Unmaximize</guimenuitem></para>
              </entry>
              <entry valign="top">
                <para>Maximizes
the window. If the window is already maximized, choose <guimenuitem>Unmaximize</guimenuitem> to restore the window to its previous size. </para>
              </entry>
            </row>
            <row>
              <entry valign="top">
                <para><guimenuitem>Roll Up</guimenuitem> or <guimenuitem>Unroll</guimenuitem></para>
              </entry>
              <entry valign="top">
                <para>Reduces a window
so that only the titlebar is visible. If the window is already rolled up,
choose <guimenuitem>Unroll</guimenuitem> to restore the window to its previous
size. </para>
              </entry>
            </row>
            <row>
              <entry colname="colspec2" valign="top">
                <para>
                  <guimenuitem>Move</guimenuitem>
                </para>
              </entry>
              <entry colname="colspec3" valign="top">
                <para>Enables you to use the arrow
keys to move the window.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec2" valign="top">
                <para>
                  <guimenuitem>Resize</guimenuitem>
                </para>
              </entry>
              <entry colname="colspec3" valign="top">
                <para>Enables you to use the arrow
keys to resize the window.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec2" valign="top">
                <para>
                  <guimenuitem>Close</guimenuitem>
                </para>
              </entry>
              <entry colname="colspec3" valign="top">
                <para>Closes the window.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec2" valign="top">
                <para><guimenuitem>Put on All
Workspaces</guimenuitem> or <guimenuitem>Only on This Workspace</guimenuitem></para>
              </entry>
              <entry colname="colspec3" valign="top">
                <para>Puts the window on all of your
workspaces. If the window is already on all of your workspaces, choose <guimenuitem>Only on This Workspace</guimenuitem>  to put the window on the current workspace
only.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec2" valign="top">
                <para><guimenuitem>Move to <replaceable>workspace-name</replaceable></guimenuitem> or <guimenuitem>Only on <replaceable>workspace-name</replaceable></guimenuitem></para>
              </entry>
              <entry colname="colspec3" valign="top">
                <para>Moves the window to the workspace that you choose.  If
the window is on all of your workspaces, choose <guimenuitem>Only on <replaceable>workspace-name</replaceable></guimenuitem> to put the window on the workspace
that you want.</para>
              </entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </sect2>
    <sect2 id="gosmetacity-18">
      <title>Window List Applet</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>Window List applet</secondary>
        <see>Window List applet</see>
      </indexterm>
      <indexterm>
        <primary>Window List applet</primary>
        <secondary>introduction</secondary>
      </indexterm>
      <indexterm>
        <primary>window lists</primary>
        <secondary>Window List applet</secondary>
      </indexterm>
      <indexterm>
        <primary>applets</primary>
        <secondary>Window List</secondary>
      </indexterm>
      <para><application>Window List</application> displays a button for each application
window that is open. You can use the <application>Window List</application>
to perform the following tasks:</para>
      <itemizedlist>
        <listitem>
          <para>To minimize a window</para>
          <para>Click on the button that represents the window.</para>
        </listitem>
        <listitem>
          <para>To restore a minimized window</para>
          <para>Click on the button that represents the window.</para>
        </listitem>
        <listitem>
          <para>To give focus to a window</para>
          <para>Click on the button that represents the window.</para>
        </listitem>
      </itemizedlist>
      <para>When you open an application window, <application>Window List</application>
displays a button that represents the window. The window list buttons show
which application windows are open. You can view which windows are open even
if some windows are minimized, or other windows overlap a window. <application>Window List</application> can display buttons for the windows in your current
workspace, or in all workspaces. To select this option, you must change the
preferences of <application>Window List</application>.</para>
      <para>You can also right-click on a window list button to open the <guimenu>Window Menu</guimenu> for the window that the button represents. When you
open the <guimenu>Window Menu</guimenu> from <application>Window List</application>,
the <guimenu>Window Menu</guimenu> does not contain the workspace commands.
For more information on the <guimenu>Window Menu</guimenu> commands, see <xref linkend="gosmetacity-24"/>.</para>
      <para><xref linkend="gosmetacity-FIG-8"/> shows <application>Window List</application>
when the following windows are open:</para>
      <itemizedlist>
        <listitem>
          <para>
            <application>gedit</application>
          </para>
        </listitem>
        <listitem>
          <para>
            <application>Dictionary</application>
          </para>
        </listitem>
        <listitem>
          <para>
            <application>GHex</application>
          </para>
        </listitem>
        <listitem>
          <para>
            <application>GNOME Terminal</application>
          </para>
        </listitem>
      </itemizedlist>
      <figure id="gosmetacity-FIG-8">
        <title>Window List Applet</title>
        <screenshot>
          <mediaobject>
            <imageobject>
              <imagedata fileref="figures/window_list_applet.png" format="PNG"/>
            </imageobject>
            <textobject>
              <phrase>Window List applet. The context describes the graphic.</phrase>
            </textobject>
          </mediaobject>
        </screenshot>
      </figure>
      <para>The buttons in the applet show the status of your windows. <xref linkend="gosmetacity-TBL-3"/>
explains the information that the window list buttons provide about the window.
The examples in <xref linkend="gosmetacity-TBL-3"/> refer to <xref linkend="gosmetacity-FIG-8"/>. </para>
      <table frame="topbot" id="gosmetacity-TBL-3">
        <title>Window Status Information on Window List Buttons<indexterm><primary>Window List applet</primary><secondary>window status information</secondary></indexterm></title>
        <tgroup cols="3" colsep="0" rowsep="0">
          <colspec colname="colspec0" colwidth="33*"/>
          <colspec colname="colspec1" colwidth="33*"/>
          <colspec colname="colspec2" colwidth="33*"/>
          <thead>
            <row rowsep="1">
              <entry valign="top">
                <para>State</para>
              </entry>
              <entry valign="top">
                <para>Indicates</para>
              </entry>
              <entry valign="top">
                <para>Example</para>
              </entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry valign="top">
                <para>Button is pressed in.</para>
              </entry>
              <entry valign="top">
                <para>The window has focus.</para>
              </entry>
              <entry valign="top">
                <para>
                  <guilabel>gedit</guilabel>
                </para>
              </entry>
            </row>
            <row>
              <entry valign="top">
                <para>Square brackets around window title.</para>
              </entry>
              <entry valign="top">
                <para>The window is minimized.</para>
              </entry>
              <entry valign="top">
                <para>
                  <guilabel>[Dictionary]</guilabel>
                </para>
              </entry>
            </row>
            <row>
              <entry valign="top">
                <para>Button is not pressed in, no square brackets
around title.</para>
              </entry>
              <entry valign="top">
                <para>The window is displayed,
and is not minimized.</para>
              </entry>
              <entry valign="top">
                <para>
                  <guilabel>ghex</guilabel>
                </para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" valign="top">
                <para>Numeral on button, in parentheses.</para>
              </entry>
              <entry colname="colspec1" valign="top">
                <para>The button represents
a group of buttons. </para>
              </entry>
              <entry colname="colspec2" valign="top">
                <para>
                  <guilabel>Gnome-terminal (3)</guilabel>
                </para>
              </entry>
            </row>
          </tbody>
        </tgroup>
      </table>
      <sect3 id="gosmetacity-708">
        <title>Grouping Buttons</title>
        <indexterm>
          <primary>Window List applet</primary>
          <secondary>grouping buttons</secondary>
        </indexterm>
        <para><application>Window List</application> can group
the buttons that represent windows in the same class under one window list
button. The <guibutton>Gnome-terminal</guibutton> button in <xref linkend="gosmetacity-FIG-8"/>
is an example of a button that represents a group of buttons. The following
figure shows an example of <application>Window List</application> with a button
group open:</para>
        <screenshot>
          <mediaobject>
            <imageobject>
              <imagedata fileref="figures/window_list_group_applet.png" format="PNG"/>
            </imageobject>
            <textobject>
              <phrase>Window List applet with button group open.</phrase>
            </textobject>
          </mediaobject>
        </screenshot>
        <para>To open a list of the windows in a group, click on the window list button
that represents the group. You can click on the items in the list to give
focus to windows, minimize windows, and restore windows.</para>
        <para>To open the <guimenu>Window Menu</guimenu> for a window in a button
group, right-click on the window list button that represents the group. A
list of the windows in the group is displayed. To open the <guimenu>Window
Menu</guimenu> for a window in the group, click on the item in the list. When
you open the <guimenu>Window Menu</guimenu> from the <application>Window List</application>, the <guimenu>Window Menu</guimenu> does not contain the workspace
commands. For more information on the <guimenu>Window Menu</guimenu> commands,
see <xref linkend="gosmetacity-24"/>.</para>
      </sect3>
    </sect2>
    <sect2 id="gosmetacity-20">
      <title>Workspace Switcher Applet</title>
      <indexterm>
        <primary>workspaces</primary>
        <secondary>Workspace Switcher applet</secondary>
      </indexterm>
      <indexterm>
        <primary>applets</primary>
        <secondary>Workspace
Switcher</secondary>
      </indexterm>
      <indexterm>
        <primary>Workspace Switcher applet</primary>
      </indexterm>
      <para><application>Workspace Switcher</application>
displays a visual representation of your workspaces, as shown in <xref linkend="gosmetacity-FIG-722"/>. <xref linkend="gosmetacity-FIG-722"/> shows the applet when the GNOME session contains
four workspaces. Your workspaces appear as buttons on the applet. The background
of the button in the applet that represents the current workspace is highlighted.
The current workspace in <xref linkend="gosmetacity-FIG-722"/> is the workspace
at the left of the applet. To switch to another workspace, click on the workspace
in the applet.</para>
      <figure id="gosmetacity-FIG-722">
        <title>Workspace Switcher Applet</title>
        <screenshot>
          <mediaobject>
            <imageobject>
              <imagedata fileref="figures/workspace_switcher_applet.png" format="PNG"/>
            </imageobject>
            <textobject>
              <phrase>Workspace Switcher applet. The context describes the graphic.</phrase>
            </textobject>
          </mediaobject>
        </screenshot>
      </figure>
      <para><application>Workspace Switcher</application> also displays the application
windows and dialogs that are open in your workspaces.</para>
      <para>The applet displays the workspaces in order from left to right across
the rows of the applet. In <xref linkend="gosmetacity-FIG-722"/>, the applet
is set up to display the workspaces in one row. You can specify the number
of rows in which your workspaces are displayed in <application>Workspace Switcher</application>. You can also change the default behavior of the applet to
display the names of your workspaces in the applet.</para>
    </sect2>
    <sect2 id="gosmetacity-27">
      <title>Using the Top Edge Panel to Work With Windows</title>
      <indexterm>
        <primary>top edge panel</primary>
        <secondary>window list icon</secondary>
      </indexterm>
      <indexterm>
        <primary>window lists</primary>
        <secondary>top edge
panel</secondary>
      </indexterm>
      <para>From the top edge panel, you can view a
list of all windows that are currently open. You can also choose a window
to give focus to. To view the window list, click on the icon at the extreme
right of the top edge panel. The following figure shows an example of the
window list that is displayed from the top edge panel:</para>
      <screenshot>
        <mediaobject>
          <imageobject>
            <imagedata fileref="figures/openwindows_menu.png" format="PNG"/>
          </imageobject>
          <textobject>
            <phrase>Window list displayed from top edge panel.</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <para>When the focus changes, the icon that you click on to display the window
list changes. The icon represents the window that currently has focus. To
give focus to a window, choose that window from the window list.</para>
      <para>The window list lists the windows in all workspaces. The windows in
all workspaces other than the current workspace, are listed under a separator
line.</para>
    </sect2>
  </sect1>
  <sect1 id="gosmetacity-715">
    <title>Manipulating Windows</title>
    <indexterm>
      <primary>windows</primary>
      <secondary>manipulating</secondary>
    </indexterm>
    <para>This section describes how to manipulate windows.</para>
    <sect2 id="gosmetacity-28">
      <title>To Give Focus to a Window</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>giving focus to</secondary>
      </indexterm>
      <indexterm>
        <primary>focus, giving to a window</primary>
      </indexterm>
      <para>A window that has focus can receive input from the mouse and the keyboard.
Only one window can have focus at a time. The window that has focus has a
different appearance than other windows. </para>
      <para>You can use the following elements to give focus to a window:</para>
      <informaltable frame="topbot">
        <tgroup cols="2" colsep="0" rowsep="0">
          <colspec colname="colspec0" colwidth="33.62*"/>
          <colspec colname="colspec1" colwidth="66.38*"/>
          <thead>
            <row rowsep="1">
              <entry valign="top">
                <para>Element</para>
              </entry>
              <entry valign="top">
                <para>Action</para>
              </entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry valign="top">
                <para>Mouse</para>
              </entry>
              <entry valign="top">
                <para>Click on the window, if the window is visible. </para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" valign="top">
                <para>Shortcut keys</para>
              </entry>
              <entry colname="colspec1" valign="top">
                <para>Use shortcut keys to switch between
the windows that are open. To give focus to a window, release the keys. The
default shortcut keys to switch between windows are <keycombo><keycap>Alt</keycap><keycap>Tab</keycap></keycombo>. </para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" valign="top">
                <para>
                  <application>Window List</application>
                </para>
              </entry>
              <entry colname="colspec1" valign="top">
                <para>Click on the button that represents the window in <application>Window List</application>.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" valign="top">
                <para>
                  <application>Workspace Switcher</application>
                </para>
              </entry>
              <entry colname="colspec1" valign="top">
                <para>Click on the window that you want to give focus to in the <application>Workspace
Switcher</application> display. If you click on a window in another workspace, <application>Workspace Switcher</application> switches to the new workspace, and gives
focus to the window. </para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" valign="top">
                <para>Top edge panel</para>
              </entry>
              <entry colname="colspec1" valign="top">
                <para>Click on the icon at the extreme
right of the top edge panel. A list of your open windows is displayed. Choose
the window from the list.</para>
              </entry>
            </row>
          </tbody>
        </tgroup>
      </informaltable>
    </sect2>
    <sect2 id="gosmetacity-29">
      <title>To Minimize a Window</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>minimizing</secondary>
      </indexterm>
      <indexterm>
        <primary>minimizing</primary>
        <secondary>windows</secondary>
      </indexterm>
      <para>To minimize a window perform one of the following actions: </para>
      <itemizedlist>
        <listitem>
          <para>Click on the <guibutton>Minimize</guibutton> button on the
window frame.</para>
        </listitem>
        <listitem>
          <para>Open the <guimenu>Window Menu</guimenu>, then choose <guimenuitem>Minimize</guimenuitem>. </para>
        </listitem>
        <listitem>
          <para>If the window has focus, click on the button that represents
the window in <application>Window List</application>. If the window does not
have focus, click twice on the button that represents the window. </para>
        </listitem>
        <listitem>
          <para>Right-click on the button that represents the window in <application>Window List</application>, then choose <guimenuitem>Minimize</guimenuitem>
from the popup menu.</para>
        </listitem>
      </itemizedlist>
    </sect2>
    <sect2 id="gosmetacity-30">
      <title>To Maximize a Window</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>maximizing</secondary>
      </indexterm>
      <indexterm>
        <primary>maximizing windows</primary>
      </indexterm>
      <para>When you
maximize a window, the window expands as much as possible. To maximize a window
perform one of the following actions: </para>
      <itemizedlist>
        <listitem>
          <para>To maximize the window, click on the <guibutton>Maximize</guibutton>
button on the window frame. Alternatively, open the <guimenu>Window Menu</guimenu>,
then choose <guimenuitem>Maximize</guimenuitem>.</para>
        </listitem>
        <listitem>
          <para>Right-click on the button that represents the window in <application>Window List</application>, then choose <guimenuitem>Maximize</guimenuitem>
from the <guimenu>Window Menu</guimenu>.</para>
        </listitem>
      </itemizedlist>
    </sect2>
    <sect2 id="gosmetacity-31">
      <title>To Restore a Window</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>restoring</secondary>
      </indexterm>
      <indexterm>
        <primary>restoring</primary>
        <secondary>windows</secondary>
      </indexterm>
      <para>To restore a maximized window perform one of the following actions: </para>
      <itemizedlist>
        <listitem>
          <para>Click on the <guibutton>Maximize</guibutton> button on the
window frame.</para>
        </listitem>
        <listitem>
          <para>Open the <guimenu>Window Menu</guimenu>. Choose <guimenuitem>Unmaximize</guimenuitem>. </para>
        </listitem>
        <listitem>
          <para>Right-click on the button that represents the window in <application>Window List</application> to open the <guimenu>Window Menu</guimenu>. Choose <guimenuitem>Unmaximize</guimenuitem>.</para>
        </listitem>
      </itemizedlist>
      <para>To restore a minimized window, click on the button that represents the
window in <application>Window List</application>.</para>
    </sect2>
    <sect2 id="gosmetacity-32">
      <title>To Close a Window</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>closing</secondary>
      </indexterm>
      <indexterm>
        <primary>closing windows</primary>
      </indexterm>
      <para>To close a
window perform one of the following actions: </para>
      <itemizedlist>
        <listitem>
          <para>Click on the <guibutton>Close Window</guibutton> button on
the window frame.</para>
        </listitem>
        <listitem>
          <para>Open the <guimenu>Window Menu</guimenu>. Choose <guimenuitem>Close</guimenuitem>.</para>
        </listitem>
        <listitem>
          <para>Right-click on the button that represents the window in <application>Window List</application>, then choose <guimenuitem>Close</guimenuitem> from
the <guimenu>Window Menu</guimenu>.</para>
        </listitem>
      </itemizedlist>
      <para>If you have unsaved data in the window, you are prompted to save your
data.</para>
    </sect2>
    <sect2 id="gosmetacity-34">
      <title>To Resize a Window</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>resizing</secondary>
      </indexterm>
      <indexterm>
        <primary>resizing windows</primary>
      </indexterm>
      <para>To resize
a window perform one of the following actions:</para>
      <itemizedlist>
        <listitem>
          <para>Point to a corner of the window. The mouse pointer changes
to indicate that you can resize the window. Grab the corner and drag the window
to the new size.</para>
        </listitem>
        <listitem>
          <para>Right-click on the button that represents the window in <application>Window List</application>. Choose <guimenuitem>Resize</guimenuitem> from the <guimenu>Window Menu</guimenu>. Use the arrow keys to resize the window.</para>
        </listitem>
        <listitem>
          <para>Press-and-hold <keycap>Alt</keycap>, then middle-click near
the corner that you want to resize. The mouse pointer changes to indicate
that you can resize from the corner. To resize the window, drag from the corner
on which you middle-clicked.</para>
        </listitem>
        <listitem>
          <para>To resize a window horizontally point to one of the vertical
edges of the window. The mouse pointer changes to indicate that you can resize
the window. Grab the edge and drag the window to the new size.</para>
        </listitem>
        <listitem>
          <para>To resize a window vertically point to the bottom edge of
the window. The mouse pointer changes to indicate that you can resize the
window. Grab the edge and drag the window to the new size.</para>
        </listitem>
      </itemizedlist>
      <note>
        <para>You cannot resize some dialog windows. Also, some application
windows have a minimum size below which you cannot reduce the window.</para>
      </note>
    </sect2>
    <sect2 id="gosmetacity-35">
      <title>To Move a Window</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>moving</secondary>
      </indexterm>
      <indexterm>
        <primary>moving windows</primary>
      </indexterm>
      <para>To move a window
perform one of the following actions: </para>
      <itemizedlist>
        <listitem>
          <para>Grab the titlebar of the window and drag the window to the
new location. </para>
        </listitem>
        <listitem>
          <para>Press-and-hold <keycap>Alt</keycap>, then drag the window
to the new location. </para>
        </listitem>
        <listitem>
          <para>Open the <guimenu>Window Menu</guimenu>, then choose <guimenuitem>Move</guimenuitem>. Use the arrow keys to move the window to the new location.</para>
        </listitem>
        <listitem>
          <para>Right-click on the button that represents the window in <application>Window List</application>, then choose <guimenuitem>Move</guimenuitem> from
the <guimenu>Window Menu</guimenu>. Use the arrow keys to move the window
to the new location.</para>
        </listitem>
      </itemizedlist>
    </sect2>
    <sect2 id="gosmetacity-36">
      <title>To Roll Up a Window</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>rolling up</secondary>
      </indexterm>
      <indexterm>
        <primary>rolling up windows</primary>
      </indexterm>
      <indexterm>
        <primary>shading windows</primary>
        <see>rolling up windows</see>
      </indexterm>
      <para>You
can roll up and roll down windows, as follows:</para>
      <variablelist>
        <varlistentry>
          <term>Roll up</term>
          <listitem>
            <para>Reduce the window so that
only the titlebar is visible.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>Roll down</term>
          <listitem>
            <para>Switch a window from a
rolled-up state so that the full window is displayed.</para>
          </listitem>
        </varlistentry>
      </variablelist>
      <para>To roll up a window perform one of the following actions: </para>
      <itemizedlist>
        <listitem>
          <para>Double-click on the titlebar of the window. To roll down the
window, double-click on the titlebar again.</para>
        </listitem>
        <listitem>
          <para>Open the <guimenu>Window Menu</guimenu>. Choose <guimenuitem>Roll Up</guimenuitem>. To roll down the window, choose <guimenuitem>Unroll</guimenuitem>.</para>
        </listitem>
        <listitem>
          <para>Right-click on the button that represents the window in <application>Window List</application>, then choose <guimenuitem>Roll Up</guimenuitem>
from the <guimenu>Window Menu</guimenu>. To roll down the window, choose <guimenuitem>Unroll</guimenuitem>.</para>
        </listitem>
      </itemizedlist>
    </sect2>
    <sect2 id="gosmetacity-38">
      <title>To Put a Window on All Workspaces</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>putting on all workspaces</secondary>
      </indexterm>
      <para>To put a window in all workspaces, open the <guimenu>Window Menu</guimenu>. Choose <guimenuitem>Put on All Workspaces</guimenuitem>.
To set the window to appear only in the current workspace, choose <guimenuitem>Only on This Workspace</guimenuitem>.</para>
    </sect2>
    <sect2 id="gosmetacity-46">
      <title>To Move a Window to Another Workspace</title>
      <indexterm>
        <primary>windows</primary>
        <secondary>moving to another workspace</secondary>
      </indexterm>
      <indexterm>
        <primary>workspaces</primary>
        <secondary>moving windows to </secondary>
      </indexterm>
      <para>You can move a window to another
workspace in either of the following ways:</para>
      <itemizedlist>
        <listitem>
          <para>Use <application>Workspace Switcher</application></para>
          <para>In the <application>Workspace Switcher</application> display, drag the
window to the workspace you require.</para>
        </listitem>
        <listitem>
          <para>Use the <guimenu>Window Menu</guimenu></para>
          <para>Open the <guimenu>Window Menu</guimenu>. To move the window to the next
workspace choose <guimenuitem>Move to <replaceable>workspace-name</replaceable></guimenuitem>.</para>
        </listitem>
      </itemizedlist>
    </sect2>
  </sect1>
  <sect1 id="gosmetacity-716">
    <title>Manipulating Workspaces</title>
    <indexterm>
      <primary>workspaces</primary>
      <secondary>manipulating</secondary>
    </indexterm>
    <para>This section describes how to manipulate workspaces.</para>
    <sect2 id="gosmetacity-49">
      <title>To Switch Between Workspaces</title>
      <indexterm>
        <primary>workspaces</primary>
        <secondary>switching between</secondary>
      </indexterm>
      <para>You can switch between workspaces in any of the following
ways: </para>
      <itemizedlist>
        <listitem>
          <para>Use <application>Workspace Switcher</application></para>
          <para>Click on the workspace that you want to switch to in <application>Workspace
Switcher</application>.</para>
        </listitem>
        <listitem>
          <para>Use shortcut keys</para>
          <para>The default shortcut keys to switch between the workspaces are as follows: </para>
          <informaltable frame="topbot">
            <tgroup cols="2" colsep="0" rowsep="0">
              <colspec colwidth="50*"/>
              <colspec colwidth="50*"/>
              <thead>
                <row rowsep="1">
                  <entry>
                    <para>Default Shortcut Keys</para>
                  </entry>
                  <entry>
                    <para>Function</para>
                  </entry>
                </row>
              </thead>
              <tbody>
                <row>
                  <entry>
                    <para><keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>right arrow</keycap></keycombo></para>
                  </entry>
                  <entry>
                    <para>Selects the workspace to the
right. </para>
                  </entry>
                </row>
                <row>
                  <entry>
                    <para><keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>left arrow</keycap></keycombo></para>
                  </entry>
                  <entry>
                    <para>Selects the workspace to the
left. </para>
                  </entry>
                </row>
              </tbody>
            </tgroup>
          </informaltable>
        </listitem>
      </itemizedlist>
    </sect2>
    <sect2 id="gosmetacity-50">
      <title>To Add Workspaces</title>
      <indexterm>
        <primary>workspaces</primary>
        <secondary>adding</secondary>
      </indexterm>
      <para>To add workspaces to your desktop environment, right-click on <application>Workspace Switcher</application>, then choose <guimenuitem>Preferences</guimenuitem>.
The <guilabel>Workspace Switcher Preferences</guilabel> dialog is displayed.
Use the <guilabel>Number of workspaces</guilabel> spin box to specify the
number of workspaces you require. <application>Workspace Switcher</application>
adds new workspaces at the end of the workspace list.</para>
    </sect2>
    <sect2 id="gosmetacity-51">
      <title>To Name Workspaces</title>
      <indexterm>
        <primary>workspaces</primary>
        <secondary>naming</secondary>
      </indexterm>
      <para>The default names of your workspaces are <literal>Workspace 1</literal>, <literal>Workspace 2</literal>, <literal>Workspace 3</literal>, and so on. To assign
names to your workspaces, right-click on <application>Workspace Switcher</application>,
then choose <guimenuitem>Preferences</guimenuitem>. The <guilabel>Workspace
Switcher Preferences</guilabel> dialog is displayed. Use the <guilabel>Workspaces</guilabel> list box to specify the names of your workspaces. Select a workspace,
then type the new name for the workspace.</para>
    </sect2>
    <sect2 id="gosmetacity-52">
      <title>To Delete Workspaces</title>
      <indexterm>
        <primary>workspaces</primary>
        <secondary>deleting</secondary>
      </indexterm>
      <para>When you delete a workspace the windows in the workspace are moved to
another workspace, and the empty workspace is deleted. </para>
      <para>To delete workspaces from your desktop environment, right-click on <application>Workspace Switcher</application>, then choose <guimenuitem>Preferences</guimenuitem>.
The <guilabel>Workspace Switcher Preferences</guilabel> dialog is displayed.
Use the <guilabel>Number of workspaces</guilabel> spin box to specify the
number of workspaces you require. <application>Workspace Switcher</application>
deletes workspaces from the end of the workspace list.</para>
    </sect2>
  </sect1>
</chapter>