Prev | Current Page 165 | Next

Chris Tyler

"X Power Tools"


6.5
6.5 Control That Bell! 101
The xset command holds the key to a number of runtime adjustments to the X
server. Here are some of them:
??? Changing the X bell (Section 6.5)
??? Setting the keyboard repeat options (Section 6.6)
??? Accelerating the mouse (Section 6.7)
??? Keeping the screen from blanking (Section 6.12)
??? Adjusting the font path (Section 10.2)
6.5 Control That Bell!
X includes a very basic bell facility??”actually, more of a beep than a bell. The term
bell comes from old teletype terminals, which (in the fashion of typewriters before
them) actually contained a bell that could be triggered remotely.
The xset command allows you to change the pitch, volume, and duration of the X
bell. Any application can trigger the bell, and most terminal programs (Section 7.4)
do so when an ASCII BEL character (code 7) is received.
On PC hardware, the bell is usually implemented through the system speaker instead
of a sound card, since almost every PC has a speaker installed. On some newer laptops
(and desktops), the speaker output is routed through the sound card mixer and
is sent to the main audio outputs, but many machines still use a separate built-in
speaker for the bell.


Pages:
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
elf bot skrypty Ennio Morricone Metal Church Brian May Amanda Marshall