summaryrefslogtreecommitdiffstats
path: root/gnome2-user-guide/C/goscustlookandfeel.xml
blob: 22d80f8fdd8190e1247f3fd67c18c04b27fff425 (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



<chapter id="goscustuserinter-1">
<title>Using the Advanced Preference Tools</title>
<highlights><para>The <guilabel>Advanced</guilabel> preference tools enable
you to customize the behavior and appearance of your applications, panels,
and other user interface items. You can use the <guilabel>Advanced</guilabel>
preference tools to configure file types, your default applications, and your
panels. You can also use the <guilabel>Advanced</guilabel> tools to customize
your sessions and startup programs. This chapter describes how to use the <guilabel>
Advanced</guilabel> tools to customize your desktop.</para></highlights>
<sect1 id="goscustlookandfeel-17">
<title>Opening an Advanced Preference Tool</title>
<para>You can open an <guilabel>Advanced</guilabel> preference tool in either
of the following ways:</para>
<itemizedlist>
<listitem><para>From the <guimenu>Desktop Preferences</guimenu> menu</para>
<para>Choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>
Desktop Preferences</guisubmenu><guimenuitem>Advanced</guimenuitem>
</menuchoice>. Choose the tool that you require from the submenu. The dialog
for the tool is displayed.</para></listitem>
<listitem><para>From the <guilabel>Start Here</guilabel> location</para>
<para>Open a <application>Nautilus</application> window, then choose <menuchoice>
<guimenu>Go</guimenu><guimenuitem>Start Here</guimenuitem></menuchoice>.
Alternatively, double-click on the <guilabel>Start Here</guilabel> object
on the desktop background. The <guilabel>Start Here</guilabel> location is
displayed. Double-click on the <guilabel>Preferences</guilabel> object in
the <application>Nautilus</application> window, then double-click on the <guilabel>
Advanced</guilabel> folder. The <guilabel>Advanced</guilabel> preference tools
are displayed.</para>

<para>Double-click on the tool that you require. The dialog for the tool is
displayed.</para></listitem>
</itemizedlist>
</sect1>
<sect1 id="goscustlookandfeel-39">
<title>Configuring a CD Database</title>
<indexterm><primary>preference tools</primary><secondary>CD Database</secondary>
</indexterm><para>The <application>CD Database</application> preference tool
enables you to configure a CD database that your system can query. A CD database
contains information about CDs, such as the name of the artist, the title,
and the track list. When an application plays a CD, the application can query
the CD database about the CD, then display the information. </para>
<para><xref linkend="goscustlookandfeel-TBL-40"/> describes the elements on
the <application>CD Database</application> preference tool.</para>
<table frame="topbot" id="goscustlookandfeel-TBL-40">
<title>Settings for CD Database</title>
<tgroup cols="2" colsep="1" rowsep="1">

<colspec colname="COLSPEC0" colwidth="18.86*"/><colspec colname="COLSPEC1"
colwidth="47.14*"/>
<thead>
<row><entry colsep="0" rowsep="1" valign="top"><para>Element</para></entry>
<entry colsep="0" rowsep="1" valign="top"><para>Description</para></entry>
</row>
</thead>
<tbody>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>
Send no info</guilabel></para></entry><entry colname="COLSPEC1" colsep="0"
rowsep="0" valign="top"><para>Select this option if you do not want to send
any information to the CD database server.</para></entry></row>
<row><entry colsep="0" rowsep="0" valign="top"><para><guilabel>Send real info
</guilabel></para></entry><entry colsep="0" rowsep="0" valign="top"><para>
Select this option to send your name and hostname information to the CD database
server.</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>
Send other info</guilabel></para></entry><entry colname="COLSPEC1" colsep="0"
rowsep="0" valign="top"><para>Select this option to send another name and
hostname to the CD database server. Enter the name in the <guilabel>Name</guilabel>
field. Enter the hostname in the <guilabel>Hostname</guilabel> field.</para></entry>
</row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>FreeDB
round robin server</guilabel></para></entry><entry colname="COLSPEC1" colsep="0"
rowsep="0" valign="top"><para>FreeDB is a CD database. The FreeDB round robin server is
a load-sharing configuration of FreeDB servers. Select this option to access
the FreeDB CD database from this server.</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Other
FreeDB server</guilabel></para></entry><entry colname="COLSPEC1" colsep="0"
rowsep="0" valign="top"><para> Select this option to access the FreeDB CD database from
another server. Select the server that you require from the server table.
</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guibutton>Update
server list</guibutton></para></entry><entry colname="COLSPEC1" colsep="0"
rowsep="0" valign="top"><para>Click on this button to update the list of available FreeDB
servers in the server table.</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Other
server</guilabel></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>
Select this option to use another CD database. Enter the name of the server
on which the database resides in the <guilabel>Hostname</guilabel> field.
Enter the port number on which you can access the database in the <guilabel>
Port</guilabel> field.</para></entry></row>
</tbody>
</tgroup>
</table>
</sect1>
<sect1 id="goscustdoc-7">
<title>Configuring File Types and Programs</title>
<indexterm><primary>preference tools</primary><secondary>File Types and Programs
</secondary></indexterm><indexterm><primary>file types</primary><secondary>
configuring</secondary></indexterm><para>Use the <application>File Types and
Programs</application> preference tool to specify how files of various types
are created, displayed, and edited. For example, you can specify that if a
file is a plain text file, the desktop launchers the file in a text editor.
</para>
<para><application>Nautilus</application> and other GNOME applications check
the contents of a file to determine the type of a file. If the first lines
do not determine the type of the file, then the application checks the file
extension.</para>
<para><xref linkend="goscustdoc-TBL-8"/> describes the elements
on the <application>File Types and Programs</application> preference tool.
</para>
<table frame="topbot" id="goscustdoc-TBL-8">
<title>Elements on File Types and Programs Preference Tool</title>
<tgroup cols="2" colsep="1" rowsep="1">

<colspec colname="COLSPEC0" colwidth="18.86*"/><colspec colname="COLSPEC1"
colwidth="47.14*"/>
<thead>
<row><entry colsep="0" rowsep="1" valign="top"><para>Element</para></entry>
<entry colsep="0" rowsep="1" valign="top"><para>Description</para></entry>
</row>
</thead>
<tbody>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para>Table
</para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>
To view the contents of a category of file types, click on the right arrow
next to the category name. The category expands, and displays a description
of each file type, and the file extension that is associated with the file
type. </para><para>To select a file type that you want to work with, click
on the file type.</para></entry></row>
<row><entry colsep="0" rowsep="0" valign="top"><para><guibutton>Add file type
</guibutton></para></entry><entry colsep="0" rowsep="0" valign="top"><para>
Click on this button to add a file type. For more information, see <xref linkend="goscustlookandfeel-28"/>.
</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guibutton>
Add service</guibutton></para></entry><entry colname="COLSPEC1" colsep="0"
rowsep="0" valign="top"><para>Click on this button to add a service. For more
information, see <xref linkend="goscustlookandfeel-30"/>.</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guibutton>
Edit</guibutton></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0"
valign="top"><indexterm><primary>file types</primary><secondary>editing</secondary>
</indexterm><indexterm><primary>services</primary><secondary>editing</secondary>
</indexterm><para>To edit a file type, a service, or a file type category,
select the item that you want to edit, then click <guibutton>Edit</guibutton>. 
</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guibutton>
Delete</guibutton></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0"
valign="top"><para>To delete a file type or a service, select the item that
you want to delete, then click <guibutton>Delete</guibutton>. </para></entry>
</row>
</tbody>
</tgroup>
</table>
<sect2 id="goscustlookandfeel-28">
<title>To Add a File Type</title>
<indexterm><primary>file types</primary><secondary>adding</secondary></indexterm>
<para>To add a file type, perform the following steps:</para>
<orderedlist>
<listitem><para>Choose <menuchoice><guimenu>Applications</guimenu>
<guisubmenu>Desktop Preferences</guisubmenu><guisubmenu>Advanced
</guisubmenu><guimenuitem>File Types and Programs</guimenuitem></menuchoice>
to start the <application>File Types and Programs</application> preference
tool.</para></listitem>
<listitem><para>Click on the <guibutton>Add file type</guibutton> button.
The <guilabel>Add file type</guilabel> dialog is displayed.</para></listitem>
<listitem><para>Enter the properties of the file type in the dialog. The following
table describes the dialog elements on the <guilabel>Add file type</guilabel>
dialog:</para>
<informaltable frame="topbot">
<tgroup cols="2" colsep="0" rowsep="0"><colspec colname="COLSPEC0" colwidth="37.42*"/>
<colspec colname="COLSPEC1" colwidth="62.58*"/>
<thead>
<row rowsep="1"><entry valign="top"><para>Option</para></entry><entry valign="top"><para>
Function</para></entry></row>
</thead>
<tbody>
<row><entry valign="top"><para><guilabel>No Icon</guilabel></para></entry>
<entry valign="top"><para>Choose an icon to represent the file type. To choose
an icon, click on the <guibutton>No Icon</guibutton> button. An icon selector
dialog is displayed. Choose an icon from the dialog. Alternatively, to choose
an icon from another directory, click <guibutton>Browse</guibutton>. When
you choose an icon, click <guibutton>OK</guibutton>. </para></entry></row>
<row><entry valign="top"><para><guilabel>Description</guilabel></para></entry>
<entry valign="top"><para>Type a description of the file type.</para></entry>
</row>
<row><entry valign="top"><para><guilabel>MIME Type</guilabel></para></entry>
<entry valign="top"><para>Enter the MIME type for this type of file. </para></entry>
</row>
<row><entry valign="top"><para><guilabel>Category</guilabel></para></entry>
<entry valign="top"><para>Enter the category to which you want the file type
to belong in the <application>File Types and Programs</application> preference
tool. Click on the <guibutton>Choose</guibutton> to choose a category from
the <guilabel>Choose a file category</guilabel> dialog.</para></entry></row>
<row><entry valign="top"><para><guilabel>Filename Extensions</guilabel></para></entry>
<entry valign="top"><para>Enter the filename extensions to associate with
the file type. Enter a filename extension in the field on the left side, then
click on the <guibutton>Add</guibutton> button. To delete a filename extension,
select the filename extension in the field on the right side, then click on
the <guibutton>Remove</guibutton> button. </para></entry></row>
<row><entry valign="top"><para><guilabel>Viewer Component</guilabel></para></entry>
<entry valign="top"><para>Information to be supplied in a future release.
</para></entry></row>
<row><entry valign="top"><para><guilabel>Default action</guilabel></para></entry>
<entry valign="top"><para>Information to be supplied in a future release.
</para></entry></row>
<row><entry valign="top"><para><guilabel>Program to Run</guilabel></para></entry>
<entry valign="top"><para>If you do not select the <guilabel>Use category
defaults</guilabel> option, specify a program to associate with the file type.
Enter the command to start the program in this field. Alternatively, to choose
 a command that you entered previously, click the down arrow button, then
choose the command to run.</para><para>You can also use the <guibutton>Browse
</guibutton> button to choose a command to run. </para></entry></row>
<row><entry valign="top"><para><guilabel>Run in Terminal</guilabel></para></entry>
<entry valign="top"><para>Select this option to run the program in a terminal
window. Choose this option for a program that does not create a window in
which to run.</para></entry></row>
</tbody>
</tgroup>
</informaltable>
</listitem>
<listitem><para>Click <guibutton>OK</guibutton>.</para></listitem>
</orderedlist>
</sect2>
<sect2 id="goscustlookandfeel-30">
<title>To Add a Service</title>
<indexterm><primary>services</primary><secondary>adding</secondary></indexterm>
<para>To add a service, perform the following steps:</para>
<orderedlist>
<listitem><para>Choose <menuchoice><guimenu>Applications</guimenu>
<guisubmenu>Desktop Preferences</guisubmenu><guisubmenu>Advanced
</guisubmenu><guimenuitem>File Types and Programs</guimenuitem></menuchoice>
to start the <application>File Types and Programs</application> preference
tool.</para></listitem>
<listitem><para>Click on the <guibutton>Add service</guibutton> button. The <guilabel>
Add service</guilabel> dialog is displayed.</para></listitem>
<listitem><para>Enter the properties of the service in the dialog. The following
table describes the dialog elements on the <guilabel>Add service</guilabel>
dialog:</para>
<informaltable frame="topbot">
<tgroup cols="2" colsep="0" rowsep="0"><colspec colname="COLSPEC0" colwidth="41.22*"/>
<colspec colname="COLSPEC1" colwidth="58.78*"/>
<thead>
<row rowsep="1"><entry valign="top"><para>Option</para></entry><entry valign="top"><para>
Function</para></entry></row>
</thead>
<tbody>
<row><entry valign="top"><para><guilabel>Description</guilabel></para></entry>
<entry valign="top"><para>Type a description of the service.</para></entry>
</row>
<row><entry valign="top"><para><guilabel>Protocol </guilabel></para></entry>
<entry valign="top"><para>Enter the protocol for the service.</para></entry>
</row>
<row><entry colname="COLSPEC0"><para><guilabel>Program to run</guilabel></para></entry>
<entry colname="COLSPEC1"><para>Information to be supplied in a future release.
</para></entry></row>
<row><entry valign="top"><para><guilabel>Program</guilabel></para></entry>
<entry valign="top"><para>Specify the program to associate with the file type.
Enter the command to start the program in this field. Alternatively, to choose
 a command that you entered previously, click the down arrow button, then
choose the command to run.</para><para>You can also use the <guibutton>Browse
</guibutton> button to choose a command to run. </para></entry></row>
<row><entry valign="top"><para><guilabel>Run in Terminal</guilabel></para></entry>
<entry valign="top"><para>Select this option to run the program in a terminal
window. Choose this option for a program that does not create a window in
which to run.</para></entry></row>
</tbody>
</tgroup>
</informaltable>
</listitem>
<listitem><para>Click <guibutton>OK</guibutton>.</para></listitem>
</orderedlist>
</sect2>
</sect1>
<sect1 id="goscustdesk-10">
<title>Customizing Your Panels</title>
<indexterm><primary>preference tools</primary><secondary>Panel</secondary>
</indexterm><indexterm><primary>panels</primary><secondary>customizing behavior
and appearance</secondary></indexterm><para>The <application>Panel</application>
preference tool enables you to configure the behavior of panels. Any changes
that you make with the <application>Panel</application> preference tool affect
all of the panels on your desktop.</para>
<table frame="topbot" id="goscustlookandfeel-TBL-22">
<title>Settings for Panels</title>
<tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="50*"/><colspec colwidth="50*"/>
<thead>
<row rowsep="1"><entry valign="top"><para>Setting</para></entry><entry valign="top"><para>
Function</para></entry></row>
</thead>
<tbody>
<row><entry valign="top"><para><guilabel>Close drawer when launcher is clicked
</guilabel></para></entry><entry valign="top"><para>Select this option if
you want a drawer on a panel to close when you choose a launcher in the drawer.
</para></entry></row>
<row><entry valign="top"><para><guilabel>Animation</guilabel></para></entry>
<entry valign="top"><para>Select this option if you want your panels to show
and to hide in an animated style.</para></entry></row>
<row><entry valign="top"><para><guilabel>Animation speed</guilabel></para></entry>
<entry valign="top"><para>Select the speed of the panel animation from the
drop-down list box.</para></entry></row>
</tbody>
</tgroup>
</table>
</sect1>
<sect1 id="goscustdoc-2">
<title>Choosing Your Preferred Applications</title>
<indexterm><primary>preference tools</primary><secondary>Preferred Applications
</secondary></indexterm><indexterm><primary>default applications</primary>
<see>preferred applications</see></indexterm><para>Use the <application>Preferred
Applications</application> preference tool to specify the applications that
you want the desktop to use when the desktop starts an application for you.
For example, you can specify <application>Xterm</application> as your preferred
terminal application. When you open the <guimenu>Desktop Background</guimenu>
menu then choose <guimenuitem>New Terminal</guimenuitem>, <application>Xterm
</application> starts.</para>
<para>You can customize the settings for the <application>Preferred Applications
</application> preference tool in the following functional areas.</para>
<itemizedlist>
<listitem><para><guilabel>Web Browser</guilabel></para></listitem>
<listitem><para><guilabel>Text Editor</guilabel></para></listitem>
<listitem><para><guilabel>Terminal</guilabel></para></listitem>
</itemizedlist>
<sect2 id="goscustlookandfeel-32">
<title>Web Browser Settings</title>
<indexterm><primary>preferred applications</primary><secondary>web browser
</secondary></indexterm><indexterm><primary>web browser, preferred application
</primary></indexterm><para>Use the <application>Web Browser</application>
tabbed section to configure your preferred web browser. The preferred web
browser opens when you click on a URL. For example, the preferred web browser
opens when you select a URL in an application, or when you select a URL launcher
on the desktop background.</para>
<para><xref linkend="goscustlookandfeel-TBL-37"/> lists the preferred
web browser settings that you can configure.</para>
<table frame="topbot" id="goscustlookandfeel-TBL-37">
<title>Settings for Preferred Web Browser</title>
<tgroup cols="2" colsep="1" rowsep="1">

<colspec colname="COLSPEC0" colwidth="18.86*"/><colspec colname="COLSPEC1"
colwidth="47.14*"/>
<thead>
<row><entry colsep="0" rowsep="1" valign="top"><para>Option</para></entry>
<entry colsep="0" rowsep="1" valign="top"><para>Function</para></entry></row>
</thead>
<tbody>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Select
a Web Browser</guilabel></para></entry><entry colname="COLSPEC1" colsep="0"
rowsep="0" valign="top"><para>Select this option if you want to use a standard web browser.
Use the drop-down combination box to select your preferred web browser.</para></entry>
</row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Custom
Web Browser</guilabel></para></entry><entry colname="COLSPEC1" colsep="0"
rowsep="0" valign="top"><para>Select this option if you want to use a custom web browser. 
</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Command
</guilabel></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>
Enter the command to execute to start the custom web browser. To enable the
browser to display a URL that you click on, include <command>&ldquo;%s&rdquo;
</command> after the command.</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Start
in Terminal</guilabel></para></entry><entry colname="COLSPEC1" colsep="0"
rowsep="0" valign="top"><para>Select this option to run the command in a terminal window.
Select this option for a browser that does not create a window in which to
run.</para></entry></row>
</tbody>
</tgroup>
</table>
</sect2>
<sect2 id="goscustlookandfeel-31">
<title>Text Editor Settings</title>
<indexterm><primary>preferred applications</primary><secondary>text editor
</secondary></indexterm><indexterm><primary>text editor, preferred application
</primary></indexterm><para>Use the <application>Text Editor</application>
tabbed section to configure your preferred text editor.</para>
<para><xref linkend="goscustdoc-TBL-1"/> lists the preferred text
editor settings that you can configure.</para>
<table frame="topbot" id="goscustdoc-TBL-1">
<title>Settings for Preferred Text Editor</title>
<tgroup cols="2" colsep="1" rowsep="1">

<colspec colname="COLSPEC0" colwidth="18.86*"/><colspec colname="COLSPEC1"
colwidth="47.14*"/>
<thead>
<row><entry colsep="0" rowsep="1" valign="top"><para>Option</para></entry>
<entry colsep="0" rowsep="1" valign="top"><para>Function</para></entry></row>
</thead>
<tbody>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Select
an Editor</guilabel></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>
Select this option if you want to use a standard text editor. Use the drop-down
combination box to specify your preferred text editor.</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Custom
Editor</guilabel></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>
Select this option if you want to use a custom text editor. A <guilabel>Custom
Editor Properties</guilabel> dialog is displayed.</para><itemizedlist>
<listitem><para><guilabel>Name</guilabel>: Type the name of the custom text
editor.</para></listitem>
<listitem><para><guilabel>Command</guilabel>: Enter the command to execute
to start the custom text editor.</para></listitem>
<listitem><para><guilabel>This application can open multiple files</guilabel>:
Select this option if the default text editor can open multiple files.</para>
</listitem>
<listitem><para><guilabel>This application needs to be run in a shell</guilabel>:
Select this option to run the command in a terminal window. Select this option
for an editor that does not create a window in which to run.</para></listitem>
</itemizedlist></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guibutton>Properties
</guibutton></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>
Click on this button to display the <guilabel>Custom Editor Properties</guilabel>
dialog. Use the dialog to modify the properties of the custom text editor.
</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Use this
editor to open text files in the file manager</guilabel></para></entry><entry
colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>Select this option if you want
the file manager to start the custom text editor to display text files.</para></entry>
</row>
</tbody>
</tgroup>
</table>
</sect2>
<sect2 id="goscustlookandfeel-34">
<title>Terminal Settings</title>
<indexterm><primary>preferred applications</primary><secondary>terminal</secondary>
</indexterm><indexterm><primary>terminal, preferred application</primary>
</indexterm><para>Use the <application>Terminal</application> tabbed section
to configure your preferred terminal.</para>
<para><xref linkend="goscustlookandfeel-TBL-35"/> lists the preferred
terminal settings that you can configure.</para>
<table frame="topbot" id="goscustlookandfeel-TBL-35">
<title>Settings for Preferred Terminal</title>
<tgroup cols="2" colsep="1" rowsep="1">

<colspec colname="COLSPEC0" colwidth="18.86*"/><colspec colname="COLSPEC1"
colwidth="47.14*"/>
<thead>
<row><entry colsep="0" rowsep="1" valign="top"><para>Option</para></entry>
<entry colsep="0" rowsep="1" valign="top"><para>Function</para></entry></row>
</thead>
<tbody>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Select
a Terminal</guilabel></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>
Select this option if you want to use a standard terminal. Use the drop-down
combination box to specify your preferred terminal.</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Custom
Terminal</guilabel></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>
Select this option if you want to use a custom terminal. </para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Command
</guilabel></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>
Enter the command to execute to start the custom terminal.</para></entry>
</row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>Exec
Flag</guilabel></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0" valign="top"><para>
Enter the <command>exec</command> option to use with the command.</para></entry>
</row>
</tbody>
</tgroup>
</table>
</sect2>
</sect1>
<sect1 id="goscustsession-5">
<title>Configuring Sessions</title>
<indexterm><primary>preference tools</primary><secondary>Sessions</secondary>
</indexterm><indexterm><primary>sessions</primary><secondary>customizing properties
</secondary></indexterm><indexterm><primary>startup applications</primary>
<secondary>customizing</secondary></indexterm><para>The <application>Sessions
</application> preference tool enables you to manage your sessions. You can
set session preferences, and specify which applications to start when you
start a session. You can configure sessions to save the state of applications
on your desktop, and to restore the state when you start another session.
You can also use this preference tool to manage multiple GNOME sessions.</para>
<para>You can customize the settings for sessions and startup applications
in the following functional areas:</para>
<itemizedlist>
<listitem><para><guilabel>Session Options</guilabel></para></listitem>
<listitem><para><guilabel>Current Session</guilabel></para></listitem>
<listitem><para><guilabel>Startup Programs</guilabel></para></listitem>
</itemizedlist>
<sect2 id="goscustsession-16">
<title>Setting Session Options</title>
<indexterm><primary>sessions</primary><secondary>setting options</secondary>
</indexterm><para>Use the <guilabel>Session Options</guilabel> tabbed section
to manage multiple sessions, and to set preferences for the current session.
</para>
<para><xref linkend="goscustsession-TBL-11"/> lists the session
options settings that you can configure.</para>
<table frame="topbot" id="goscustsession-TBL-11">
<title>Settings for Session Options</title>
<tgroup cols="2" colsep="1" rowsep="1">

<colspec colname="COLSPEC0" colwidth="18.86*"/><colspec colname="COLSPEC1"
colwidth="47.14*"/>
<thead>
<row><entry colsep="0" rowsep="1" valign="top"><para>Option</para></entry>
<entry colsep="0" rowsep="1" valign="top"><para>Function</para></entry></row>
</thead>
<tbody>
<row><entry colsep="0" rowsep="0" valign="top"><para><guilabel>Show splash
screen on login</guilabel></para></entry><entry colsep="0" rowsep="0" valign="top"><para>
Select this option to display a splash screen when you start a session. </para></entry>
</row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>
Prompt on logout</guilabel></para></entry><entry colname="COLSPEC1" colsep="0"
rowsep="0" valign="top"><para>Select this option to display a confirmation
dialog when you end a session. </para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>
Automatically save changes to session</guilabel></para></entry><entry colname="COLSPEC1"
colsep="0" rowsep="0" valign="top"><indexterm><primary>startup applications
</primary><secondary>session-managed</secondary></indexterm><para>Select this
option if you want the session manager to save the current state of your session.
The session manager saves the session-managed applications that are open,
and the settings associated with the session-managed applications. The next
time that you start a session, the applications start automatically, with
the saved settings.</para><para> If you do not select this option, when you
end you session the <guilabel>Logout Confirmation</guilabel> dialog displays
a <guilabel>Save current setup</guilabel> option.</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>
Sessions</guilabel></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0"
valign="top"><para>Use this area of the dialog to manage multiple sessions
on the desktop, as follows:</para><itemizedlist>
<listitem><para>To create a new session, click on the <guibutton>Add</guibutton>
button.  The <guilabel>Add a new session</guilabel> dialog is displayed. Use
this dialog to specify a name for your session.</para></listitem>
<listitem><para>To change the name of a session, select the session in the <guilabel>
Choose Current Session</guilabel> table. Click on the <guibutton>Edit</guibutton>
button. The <guilabel>Edit session name</guilabel> dialog is displayed. Type
a new name for your session.</para></listitem>
<listitem><para>To delete a session, select the session in the <guilabel>
Choose Current Session</guilabel> table. Click on the <guibutton>Delete</guibutton>
button.</para></listitem>
</itemizedlist>
<para>When you log in on GDM, you choose a session. When you choose a session,
you can select which of the multiple sessions to use.</para>
</entry></row>
</tbody>
</tgroup>
</table>
</sect2>
<sect2 id="goscustlookandfeel-27">
<title>Setting Session Properties</title>
<indexterm><primary>startup applications</primary><secondary>session-managed
</secondary></indexterm><indexterm><primary>sessions</primary><secondary>
setting properties</secondary></indexterm><para>Use the <guilabel>Current
Session</guilabel> tabbed section to specify startup order values, and to
choose restart styles for the session-managed applications in your current
session. </para>
<para><xref linkend="sessprop01"/> lists the session properties
that you can configure. </para>
<table frame="topbot" id="sessprop01">
<title>Session Properties</title>
<tgroup cols="2" colsep="1" rowsep="1">

<colspec colname="COLSPEC0" colwidth="18.86*"/><colspec colname="COLSPEC1"
colwidth="47.14*"/>
<thead>
<row><entry colsep="0" rowsep="1" valign="top"><para>Option</para></entry>
<entry colsep="0" rowsep="1" valign="top"><para>Function</para></entry></row>
</thead>
<tbody>
<row><entry colsep="0" rowsep="0" valign="top"><para><guilabel>Order</guilabel></para></entry>
<entry colsep="0" rowsep="0" valign="top"><para>The <guilabel>Order</guilabel>
setting specifies the order in which the session manager starts session-managed
startup applications. The session manager starts applications with lower order
values first. The default value is 50.</para><para>To specify the startup
order of an application, select the application in the table. Use the <guilabel>
Order</guilabel> spin box to specify the startup order value.</para></entry>
</row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guilabel>
Style</guilabel></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0"
valign="top"><para>The <guilabel>Style</guilabel> setting determines the restart
style of an application. To select a restart style for an application, select
the application in the table, then choose one of the following styles:</para><itemizedlist>
<listitem><para><guilabel>Normal</guilabel></para>
<para>Starts automatically when you start a GNOME session. Use the <command>
kill</command> command to terminate applications with this restart style during
a session.</para></listitem>
<listitem><para><guilabel>Respawn</guilabel></para>
<para>Restarts automatically whenever you close or terminate the application.
Choose this style for an application if the application must run continuously
during your  session. To terminate an application with this restart style,
select the application in the table, then click on the <guibutton>Remove</guibutton>
button.</para></listitem>
<listitem><para><guilabel>Trash</guilabel></para>
<para>Does not start when you start a GNOME session.</para></listitem>
<listitem><para><guilabel>Settings</guilabel></para>
<para>Starts automatically when you start a  session. Applications with this
style usually have a low startup order, and store your configuration settings
for GNOME and session-managed applications.</para></listitem>
</itemizedlist></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0" valign="top"><para><guibutton>
Remove</guibutton></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0"
valign="top"><para>Click on the <guibutton>Remove</guibutton> button to delete
the selected application from the list. The application is removed from the
session manager,  and closed. Application that you delete are not started
the next time that you start a session.</para></entry></row>
<row><entry colname="COLSPEC0" colsep="0" rowsep="0"><para><guibutton>Apply
</guibutton></para></entry><entry colname="COLSPEC1" colsep="0" rowsep="0"><para>
Click on the <guibutton>Apply</guibutton> button to apply changes to the startup
order and the restart style.</para></entry></row>
</tbody>
</tgroup>
</table>
</sect2>
<sect2 id="goscustsession-12">
<title>Configuring Startup Applications</title>
<indexterm><primary>startup applications</primary><secondary>non-session-managed
</secondary></indexterm><para>Use the <guilabel>Startup Programs</guilabel>
tabbed section of the <application>Session Properties &amp; Startup Programs
</application> preference tool to specify non-session-managed <glossterm>
startup applications</glossterm>. Startup applications are applications that
start automatically when you start a session. You specify the commands that
run the non-session-managed applications in the <guilabel>Startup Programs
</guilabel> tabbed section. The commands execute automatically when you log
in.</para>
<para>You can also start session-managed applications automatically. For more
information, <xref linkend="goscustsession-16"/>.</para>
<para><xref linkend="goscustsession-TBL-19"/> lists the startup
applications settings that you can configure.</para>
<table frame="topbot" id="goscustsession-TBL-19">
<title>Settings for Startup Programs</title>
<tgroup cols="2">

<colspec colname="col1" colwidth="18.86*"/><colspec colname="col2" colwidth="47.14*"/>
<thead>
<row><entry colname="col1" colsep="0" valign="top"><para>Option</para></entry>
<entry colname="col2" colsep="0" valign="top"><para>Function</para></entry>
</row>
</thead>
<tbody>
<row><entry colname="col1" colsep="0" rowsep="0" valign="top"><para><guilabel>
 Additional startup programs</guilabel></para></entry><entry colname="col2"
colsep="0" rowsep="0" valign="top"><para>Use this table to manage non-session-managed
startup applications as follows:</para><itemizedlist>
<listitem><para>To add a startup application, click on the <guibutton>Add
</guibutton> button. The <guilabel>Add Startup Program</guilabel> dialog is
displayed. Enter the command to start the application in the <guilabel>Startup
Command</guilabel> field. Alternatively, you can use the <guibutton>Browse
</guibutton> button to choose a command to run. You can also use the <guibutton>
Browse</guibutton> button to choose a file to append to the command line.
For example, you can enter <command>emacs</command> on the command line, then
choose a file to edit. </para>
<para>If you specify more than one startup application, use the <guilabel>
Priority</guilabel> spin box to specify the startup order of the each application.
The startup order is the order in which you want the startup applications
to start.</para></listitem>
<listitem><para>To edit a startup application, select the startup application,
then click on the <guibutton>Edit</guibutton> button. The <guilabel>Edit Startup
Program</guilabel> dialog is displayed. Use the dialog to modify the command
and the startup order for the startup application.</para></listitem>
<listitem><para>To delete a startup application, select the startup application,
then click on the <guilabel>Delete</guilabel> button.</para></listitem>
</itemizedlist></entry></row>
</tbody>
</tgroup>
</table>
</sect2>
</sect1>
</chapter>