summaryrefslogtreecommitdiffstats
path: root/doc/kcontrol/kcmnotify/index.docbook
blob: 538cacdc78ca43344db43e5c1db09a25aeb90498 (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
<?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 % English "INCLUDE" > <!-- change language only here -->
]>

<article lang="&language;">
<articleinfo>

<authorgroup>
<author>&Mike.McBride; &Mike.McBride.mail;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>

<date>2005-03-04</date>
<releaseinfo>3.4.0</releaseinfo>

<keywordset>
<keyword>KDE</keyword>
<keyword>KControl</keyword>
<keyword>system notification</keyword>
<keyword>notification</keyword>
</keywordset>
</articleinfo>

<sect1 id="sys-notify">
<title>System Notification Settings</title>

<para>&tde;, like all applications, needs to inform the user when a
problem occurs, a task is completed, or something has happened.  &tde;
uses a set of <quote>System Notifications</quote> to keep the user
informed on what is happening.</para>

<para>Using this module, you can determine what &tde; does to communicate
each event.</para>

<para>The panel consists of a large list of specific events which need
to be communicated to the user.  This list is organized into groups by applications.</para>

<para>To configure a notification, simply select the application from the drop down box at the top
of the dialog labeled <guilabel>Event source:</guilabel>.  This will lead to a list of 
all configurable notifications for the application. The list of notifications includes 6 columns to 
the left of the notification name.  These columns (from left to right) are:</para>

<variablelist>
<varlistentry>
<term><guiicon>Execute a program</guiicon></term>
<listitem><para>If an icon is present in this column, a seperate program will be executed when this notification is performed.  This can be used to execute a program to help restore data, shutdown a potentially compromised system or email another user to alert them to a problem.</para></listitem>
</varlistentry>

<varlistentry>
<term><guiicon>Print to standard error output</guiicon></term>
<listitem><para>If an icon is present in this column, &tde; will send a message to the computers standard output.</para></listitem>
</varlistentry>

<varlistentry>
<term><guiicon>Display a message box</guiicon></term>
<listitem><para>If an icon is present in this column, &tde; will open a message box and inform the user of the notification.  This is probably the most commonly selected option for alerting users to an error.</para></listitem>
</varlistentry>

<varlistentry>
<term><guiicon>Log to a file</guiicon></term>
<listitem><para>If an icon is present in this column, &tde; will write certain information to a file on disk for later retrieval.  This is useful for tracking problems or important system changes.</para></listitem>
</varlistentry>

<varlistentry>
<term><guiicon>Play a sound</guiicon></term>
<listitem><para>This does exactly what you think it does.  If an icon is present in this column, &tde; will play a specific sound over the speakers.  This is commonly used by games in &tde; for starting a new game, or other action within the game.</para></listitem>
</varlistentry>

<varlistentry>
<term><guiicon>Flash the taskbar entry</guiicon></term>
<listitem><para>If an icon is present in this column, &tde; will cause the taskbar to flash until the user has clicked the taskbar entry.  This is most useful when you want the user to look at the program (such as a new email message was received, or the users name was said on an IRC channel).</para></listitem>
</varlistentry>
</variablelist>

<sect2><title>Change a single notification</title>
<para>To make a change to a notification, click on the name of the notification once with the &LMB;.  The notification will be highlighted. 
Now click on the button labeled 
<guibutton>More options</guibutton> so you can see all the checkboxes.  </para>

<tip><para>You can have more than one event triggered by a single notification. As an example, it is easy to have a sound played and 
a message box appear in response to a system notification.  One notification does not prevent other notifications from operating.</para></tip>
<para>The following list details each of the notification types and how to use them. </para>

<variablelist>
<varlistentry>
<term><guilabel>Play a sound</guilabel></term>
<listitem><para>If a mark is in this checkbox, &tde; will play a sound everytime this notification is initiated. To specify the sound, use the text box to the right of the checkbox to enter the folder location of the sound file you want &tde; to play.  You can use the folder button (located to the far right of the dialog box) to browse your directory tree.  To hear a test of your sound, simply click on the play button (small button directly to the right of <guilabel>Play a sound</guilabel>.)</para></listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Log to a file</guilabel></term>
<listitem><para>If a mark is in this checkbox, &tde; will write certain information to a file on disk for later retrieval.  To specify the log file to use, enter the pathname in the text box to the right of the checkbox.  You can use the folder button (located to the far right of the dialog box) to browse your directory tree.  </para></listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Execute a program</guilabel></term>
<listitem><para>If a mark is in this checkbox, a separate program will be executed when this notification is performed.  To specify the program to execute, enter the pathname in the text box to the right of the checkbox.  You can use the folder button (located to the far right of the dialog box) to browse your directory tree.  </para></listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Show a message in a pop up window</guilabel></term>
<listitem><para>If a mark is in this checkbox, &tde; will open a message box and inform the user of the notification.  The text of the box can not be changed from this dialog.  If you place a mark in the checkbox labeled <guilabel>Use a passive window that does not interrupt other work</guilabel>, &tde; will open the message box, but it will not change desktops and the message box will not appear until the user returns to the program sending the notification.  If that box is left empty, the user must respond to the message box even if it means they have to stop working on another program.</para></listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Print a message to standard error output</guilabel></term>
<listitem><para>If a mark is in this checkbox, &tde; will send a message to the computer's standard output.</para></listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Mark taskbar entry</guilabel></term>
<listitem><para>If a mark is in this checkbox, &tde; will cause the taskbar of the program sending the notification to flash until the user has clicked the taskbar entry.</para></listitem>
</varlistentry>
</variablelist>

<tip><para>You can use the icon columns (located to the left of the notifications) to quickly select or deselect the options. Clicking in the column with the &LMB; will toggle the notification on and off.</para></tip>

</sect2>
<sect2><title>Change all notifications in all &tde; applications</title>
<para>You can alter more than one notification at a time by using the section of the dialog labeled <guilabel>Quick Controls</guilabel>.</para>
<para>The first item in this section is a checkbox labeled <guilabel>Apply to all applications</guilabel>.  If there is a mark in this checkbox, any changes made in the <guilabel>Quick Controls</guilabel> area are applied to all applications (not just the selected application).  If there is no mark in this checkbox, any changes are limited to the application selected at the top of the dialog.</para>
<para>The next line consists of a button and a drop down box.  This is used to enable every notification of a single type. Simply select the notification type from the drop down box (on the right) and click the button labeled <guibutton>Turn On All</guibutton>.  This will enable all notifications of that type.</para>
<para>The bottom line operates the same, but when you select the button labeled <guibutton>Turn Off All</guibutton>, all the notifications of the selected type will be disabled.</para>
</sect2>
<sect2><title>Change sound player options</title>
<para>If you click the button labeled <guibutton>Player settings</guibutton>, a small dialog box will appear with three radio buttons:</para>
<variablelist>
<varlistentry>
<term><guilabel>Use the &tde; sound system</guilabel></term>
<listitem><para>If a mark is in this radio button, &tde; will play all sound notifications through the &tde; sound system (&arts;).  You can adjust the volume of system notifications using the slider.</para>
<note><para>The slider only affects &tde; system notifications.  Changes to this slider will not affect other sounds on your computer.</para></note></listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Use external player</guilabel></term>
<listitem><para>If a mark is in this radio button, &tde; will not use the &tde; sound system to play the sound.  This is a good choice if the sound format you want to use is not supported by the &tde; notification system or if you don't use the &arts; sound daemon. After checking the radio box, enter the full path and name of the program you want to use into the text field.  You can use the folder button (located along the right side) to browse the directory tree.</para></listitem>
</varlistentry>
<varlistentry>
<term><guilabel>No audio output</guilabel></term>
<listitem><para>Disables all sound notifications.</para></listitem>
</varlistentry>
</variablelist>
<para>When you have made your selection, click <guibutton>Apply</guibutton> to save changes but keep the dialog box open.  Click 
<guibutton>OK</guibutton> to save changes and close dialog box.  Click <guibutton>Cancel</guibutton> to close the dialog box without 
making any changes.</para>
</sect2>
</sect1>

</article>