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
|
<?xml version="1.0" ?>
<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN"
"dtd/kdex.dtd" [
<!ENTITY % addindex "IGNORE">
<!ENTITY % British-English "INCLUDE"
> <!-- change language only here -->
]>
<article lang="&language;">
<articleinfo>
<authorgroup>
<author
>&Mike.McBride; &Mike.McBride.mail;</author>
<author
>&Jost.Schenck; &Jost.Schenck.mail;</author>
<othercredit role="translator"
><firstname
>John</firstname
><surname
>Knight</surname
><affiliation
><address
><email
>anarchist_tomato@herzeleid.net</email
></address
></affiliation
><contrib
>Conversion to British English</contrib
></othercredit
>
</authorgroup>
<date
>2004-05-04</date>
<releaseinfo
>3.2</releaseinfo>
<keywordset>
<keyword
>KDE</keyword>
<keyword
>KControl</keyword>
<keyword
>actions</keyword>
<keyword
>window placement</keyword>
<keyword
>window size</keyword>
</keywordset>
</articleinfo>
<sect1 id="window-behavior">
<title
>Window Behaviour</title>
<para
>In the upper part of this control module you can see several tabs: <guilabel
>Focus</guilabel
>, <guilabel
>Actions</guilabel
>, <guilabel
>Moving</guilabel
> and <guilabel
>Advanced</guilabel
>. In the <guilabel
>Focus</guilabel
> panel you can configure how windows gain or lose focus, &ie; become active or inactive. Using <guilabel
>Actions</guilabel
> you can configure how windows react to mouse clicks. <guilabel
>Moving</guilabel
> allows you to configure how windows move and place themselves when started. The <guilabel
>Advanced</guilabel
> options cover some specialized options involving moving windows between desktops and <quote
>window shading</quote
>. </para>
<note>
<para
>Please note that the configuration in this module will not take effect if you don't use &kde;'s native window manager, &kwin;. If you do use a different window manager, please refer to its documentation for how to customise window behaviour. </para>
</note>
<sect2 id="action-focus">
<title
>Focus</title>
<para
>The <quote
>focus</quote
> of the desktop refers to the window which the user is currently working on. The window with focus is often referred to as the <quote
>active window</quote
>. </para>
<para
>Focus does not necessarily mean the window is the one at the front — this is referred to as <quote
>raised</quote
>, and although this is configured here as well, focus and raising of windows are configured independently.</para>
<sect3 id="action-focus-focuspolicy">
<title
>Focus Policy</title>
<para
>There are four methods &kde; can use to determine the current focus: </para>
<variablelist>
<varlistentry>
<term
><guilabel
>Click to Focus</guilabel
></term>
<listitem>
<para
>A window becomes active when you click into it. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Focus follows mouse</guilabel
></term>
<listitem>
<para
>Moving the mouse pointer actively over a normal window activates it. New windows such as the mini command line invoked with <keycombo action="simul"
>&Alt;<keycap
>F2</keycap
></keycombo
> will receive the focus, without you having to point the mouse at them explicitly. </para>
<para
>In other window managers, this is sometimes known as <quote
>Sloppy focus follows mouse</quote
>. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Focus under mouse</guilabel
></term>
<listitem>
<para
>The window that happens to be under the mouse pointer becomes active. If the mouse is not over a window (for instance, it's on the desktop) the last window that was under the mouse has focus. New windows such as the mini command line invoked with <keycombo action="simul"
>&Alt;<keycap
>F2</keycap
></keycombo
> will not receive the focus, you must move the mouse over them to type. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Focus strictly under mouse</guilabel
></term>
<listitem>
<para
>Similar to <guilabel
>Focus under mouse</guilabel
>, but even more strict with its interpretation. Only the window under the mouse pointer is active. If the mouse pointer is not over a window, no window has focus. New windows such as the mini command line invoked with <keycombo action="simul"
>&Alt;<keycap
>F2</keycap
></keycombo
> will not receive the focus, you must move the mouse over them to type. </para>
<note
><para
>Note that <guilabel
>Focus under mouse</guilabel
> and <guilabel
>Focus strictly under mouse</guilabel
> prevent certain features, such as the <keycombo action="simul"
>&Alt;	</keycombo
> walk-through-windows dialogue, from working properly.</para>
</note>
</listitem>
</varlistentry>
</variablelist>
<para
>Once you have determined the focus policy, there are the window raising options. </para>
<para
>By placing a mark in front of <guilabel
>Auto Raise</guilabel
>, &kde; can bring a window to the front if the mouse is over that window for a specified period of time. This is very useful with the <guilabel
>Focus follows Mouse</guilabel
> option. You can determine the delay by using the slider bar/spin box combination. </para>
<tip>
<para
>Setting the delay too short will cause a rapid fire changing of windows, which can be quite distracting. Most people will like a delay of 100-300 ms. This is responsive, but it will let you slide over the corners of a window on your way to your destination without bringing that window to the front. </para>
</tip>
<para
>If you do not use <guilabel
>Auto Raise</guilabel
>, make sure the <guilabel
>Click Raise</guilabel
> option has a mark in front of it. You will not be happy with both <guilabel
>Auto Raise</guilabel
> and <guilabel
>Click Raise</guilabel
> disabled, the net effect is that windows are not raised at all. </para>
</sect3>
<sect3 id="action-focus-keyboard">
<title
><guilabel
>Navigation</guilabel
></title>
<para
>In the <guilabel
>Navigation</guilabel
> frame you can configure the way switching between applications or desktops using <keycombo action="simul"
> &Alt;<keycap
>Tab</keycap
></keycombo
> or <keycombo action="simul"
> &Ctrl;<keycap
>Tab</keycap
></keycombo
>. </para>
<para
>Switching applications using <keycombo action="simul"
>&Alt; <keycap
>Tab</keycap
></keycombo
>, &ie; holding down &Alt; while repeatedly pressing the <keycap
>Tab</keycap
> key, can take place in &kde; mode or in <acronym
>CDE</acronym
> mode: in &kde; mode you will see a box in the middle of the screen showing you the currently selected application while you are still holding down the &Alt; key. In <acronym
>CDE</acronym
> mode focus goes to each new window as it's selected. </para>
<para
>Next there is an option where you can choose to <guilabel
>Traverse windows on all desktops</guilabel
> or not. With this enabled, switching windows with <keycombo action="simul"
> &Alt;<keycap
>Tab</keycap
></keycombo
> will show all windows, on all desktops, and take you to the appropriate desktop for the window you select. With it disabled, only windows on your current desktop are selectable with <keycombo action="simul"
> &Alt;<keycap
>Tab</keycap
></keycombo
>, and you must use <keycombo action="simul"
>&Ctrl;<keycap
>Tab</keycap
></keycombo
> to switch to other desktops yourself. </para>
<para
>If you check the <guilabel
>Desktop navigation wraps around</guilabel
> checkbox, then after you reach the <quote
>last</quote
> desktop, pressing <keycap
>Tab</keycap
> again will select the first desktop again.</para>
<para
>Many people name their virtual desktops according to their purpose or some other naming scheme. You may find it convenient to select the <guilabel
>Popup desktop name on desktop switch</guilabel
>, so you can quickly tell that you've switched to the right one.</para>
</sect3>
</sect2>
<sect2 id="action-actions">
<title
>Actions</title>
<para
>In this panel you can configure what happens to windows when a mouse is clicked on them. This panel is divided into four sections. </para>
<sect3 id="action-actions-sec1">
<title
><guilabel
>Titlebar double-click</guilabel
></title>
<para
>This section provides a single dropdown box. You can select either <guilabel
>Shade</guilabel
>, several variations of <guilabel
>Maximise</guilabel
> or <guilabel
>Lower</guilabel
>. </para>
<para
>Selecting <guilabel
>Maximise</guilabel
> causes &kde; to maximise the window whenever you doubleclick on the titlebar. You can further choose to maximise windows only horizontally or only vertically.</para>
<para
><guilabel
>Shade</guilabel
>, on the other hand, causes the window to be reduced to simply the titlebar. Double clicking on the titlebar again, restores the window to its normal size. </para>
<tip>
<para
>You can have windows automatically unshade when you simply place the mouse over their shaded titlebar. Just check the <guilabel
>Enable Hover</guilabel
> check box in the <guilabel
>Advanced</guilabel
> tab of this module. This is a great way to reclaim desktop space when you're cutting and pasting between a lot of windows, for example. </para>
</tip>
</sect3>
<sect3 id="action-actions-sec2">
<title
><guilabel
>Titlebar & Frame</guilabel
></title>
<para
>This section allows you to determine what happens when you single click on the titlebar or frame of a window. Notice that you can have different actions associated with the same click depending on whether the window is active or not. </para>
<para
>For each combination of mousebuttons, modifiers, Active and Inactive, you can select the most appropriate choice. The actions are as follows: </para>
<variablelist>
<varlistentry>
<term
><guilabel
>Activate</guilabel
></term>
<listitem>
<para
>Make this window active. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Lower</guilabel
></term>
<listitem>
<para
>Will move this window to the bottom of the display. This will get the window out of the way. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Nothing</guilabel
></term>
<listitem>
<para
>Just like it says. Nothing happens. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Operations Menu</guilabel
></term>
<listitem>
<para
>Will bring up a small submenu, where you can choose window related commands (&ie; Maximise, Minimise, Close, &etc;). </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Raise</guilabel
></term>
<listitem>
<para
>Will bring the window to the top of the display. All other windows which overlap with this one, will be hidden <quote
>below</quote
> it. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
>Toggle Raise and Lower</term>
<listitem>
<para
>This will raise windows which are not on top, and lower windows which are already on top. </para>
</listitem>
</varlistentry>
</variablelist>
</sect3>
<sect3 id="action-actions-sec3">
<title
><guilabel
>Inactive Inner Window</guilabel
></title>
<para
>This part of the module, allows you to configure what happens when you click on an inactive window, with any of the three mouse buttons. </para>
<para
>Your choices are as follows: </para>
<variablelist>
<varlistentry>
<term
><guilabel
>Activate, Raise and pass click</guilabel
></term>
<listitem>
<para
>This makes the clicked window active, raises it to the top of the display, and passes a mouse click to the application within the window. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Activate and pass click</guilabel
></term>
<listitem>
<para
>This makes the clicked window active and passes a mouse click to the application within the window. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Activate</guilabel
></term>
<listitem>
<para
>This simply makes the clicked window active. The mouse click is not passed on to the application within the window. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Activate and Raise</guilabel
></term>
<listitem>
<para
>This makes the clicked window active and raises the window to the top of the display. The mouse click is not passed on to the application within the window. </para>
</listitem>
</varlistentry>
</variablelist>
</sect3>
<sect3 id="action-actions-sec4">
<title
><guilabel
>Inner Window, titlebar and frame</guilabel
></title>
<para
>This bottom section, allows you to configure additional actions, when a modifier key (by default &Alt;) is pressed, and a mouse click is made on a window.</para>
<para
>Once again, you can select different actions for <mousebutton
>Left</mousebutton
>, <mousebutton
>Middle</mousebutton
> and <mousebutton
>Right</mousebutton
> button clicks. </para>
<para
>Your choices are:</para>
<variablelist>
<varlistentry>
<term
><guilabel
>Lower</guilabel
></term>
<listitem>
<para
>Will move this window to the bottom of the display. This will get the window out of the way. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Move</guilabel
></term>
<listitem>
<para
>Allows you to drag the selected window around the desktop. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Nothing</guilabel
></term>
<listitem>
<para
>Just like it says. Nothing happens. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Raise</guilabel
></term>
<listitem>
<para
>Will bring the window to the top of the display. All other windows which overlap with this one, will be hidden <quote
>below</quote
> it. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Resize</guilabel
></term>
<listitem>
<para
>Allows you to change the size of the selected window. </para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Toggle Raise and Lower</guilabel
></term>
<listitem>
<para
>This will raise windows which are not on top, and lower windows which are already on top. </para>
</listitem>
</varlistentry>
</variablelist>
</sect3>
</sect2>
<sect2 id="action-moving">
<title
><guilabel
>Moving</guilabel
></title>
<sect3>
<title
><guilabel
>Windows</guilabel
></title>
<para
>The options here determine how windows appear on screen when you are moving them. Most of these options exact a price in performance, so if you want to streamline your desktop, you should turn them off. However, if you have a fast computer, they may make your day a little more pleasant, so leave them on.</para>
<variablelist>
<varlistentry>
<term
><guilabel
>Display content in moving windows</guilabel
></term>
<listitem>
<para
>Enable this option if you want a window's content to be fully shown while moving it, instead of just showing a window <quote
>skeleton</quote
>. The result may not be satisfying on slow computers without graphic acceleration.</para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Display content in resizing windows</guilabel
></term>
<listitem>
<para
>Enable this option if you want a window's content to be shown while resizing it, instead of just showing a window <quote
>skeleton</quote
>. The result, again, may not be satisfying on slower computers.</para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Display window geometry when moving or resizing</guilabel
></term>
<listitem>
<para
>Enable this option if you want a popup tooltip to tell you the size in pixels of a window as you resize it.</para
></listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Animate minimise and restore</guilabel
></term>
<listitem>
<para
>Enable this option if you want an animation shown when windows are minimised or restored.</para>
<para
>With the slider, you can set the speed of the animation.</para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Allow moving and resizing of maximised windows</guilabel
></term>
<listitem>
<para
>When enabled, this feature activates the border of maximised windows, and allows you to move or resize them just as you can normal windows.</para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Placement:</guilabel
></term>
<listitem>
<para
>The placement policy determines where a new window will appear on the desktop. <guilabel
>Smart</guilabel
> will try to achieve a minimum overlap of windows, <guilabel
>Cascade</guilabel
> will cascade the windows, and <guilabel
>Random</guilabel
> will use a random position. <guilabel
>Centred</guilabel
> will open all new windows in the centre of the screen, and <guilabel
>Zero-Cornered</guilabel
> will open all windows with their top left corner in the top left corner of the screen.</para>
</listitem>
</varlistentry>
</variablelist>
</sect3>
<sect3>
<title
><guilabel
>Snap Zones</guilabel
></title>
<para
>The rest of this page allows you to configure the <guilabel
>Snap Zones</guilabel
>. These are like a magnetic field along the side of the desktop and each window, which will make windows snap alongside when moved near.</para>
<variablelist>
<varlistentry>
<term
><guilabel
>Border snap zone:</guilabel
></term>
<listitem>
<para
>Here you can set the snap zone for screen borders. Moving a window within the configured distance will make it snap to the edge of the desktop.</para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Window snap zone:</guilabel
></term>
<listitem>
<para
>Here you can set the snap zone for windows. As with screen borders, moving a window near to another will make it snap to the edge as if the windows were magnetised.</para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Snap windows only when overlapping</guilabel
></term>
<listitem>
<para
>If checked, windows will not snap together if they are only near each other, they must be overlapping, by the configured amount or less.</para>
</listitem>
</varlistentry>
</variablelist>
</sect3>
</sect2>
<sect2 id="action-advanced">
<title
>Advanced</title>
<para
>In the <guilabel
>Advanced</guilabel
> panel you can do more advanced fine tuning to the window behaviour. </para>
<variablelist>
<title
>Shading</title>
<varlistentry>
<term
><guilabel
>Animate</guilabel
></term>
<listitem>
<para
>If this option is enabled, shading, or rolling up a window until just the title bar is shown, will be animated.</para>
</listitem>
</varlistentry>
<varlistentry>
<term
><guilabel
>Enable hover</guilabel
></term>
<listitem>
<para
>If this option is enabled, a shaded window will un-shade automatically when the mouse pointer has been over the title bar for some time. Use the slider to configure the delay un-shading. </para>
</listitem>
</varlistentry>
</variablelist>
<para
>Finally, you can configure <guilabel
>Active Desktop Borders</guilabel
>. If this is enabled, moving the mouse to a screen border will change your desktop. This is useful if you want to drag windows from one desktop to another.</para>
<para
>You can set this option to <guilabel
>Disabled</guilabel
>, which is the default, to <guilabel
>Only when moving windows</guilabel
>, or to <guilabel
>Always enabled</guilabel
> in which case just pushing your mouse against the side of the screen will switch you to a new desktop.</para>
</sect2>
</sect1>
</article>
|