Prev | Current Page 171 | Next

Chris Tyler

"X Power Tools"

10
6.10 Killing a Rogue Client 105
if [ -s $MAIL ]
then
xset led 3
else
xset -led 3
fi
done
This script can be executed in the background by a line in your shell profile:
mailled &
6.9 Killing a Rogue Client
The xkill utility enables you to kill an X client by clicking on it. Actually, it doesn??™t
kill the client process, but it does kill the connection between the X server and the
client. In most cases, that??™s enough to cause the client to terminate; in any case, it
gets it off the screen.
xkill is usually run without any arguments:
$ xkill
The mouse cursor will change to a skull-and-crossbones or a type of crosshair,
depending on the version of xkill installed. Click on the offending window to kill it;
middle-click to abort xkill.
KDE will invoke an internal version of xkill when you press Ctrl-Alt-
ESC, turning the cursor into a skull-and-crossbones. Pressing Ctrl-Alt-
ESC again will turn off xkill mode.
6.10 Examining Part of the Display in Detail
xmag is a simple utility that magnifies part of the display and displays the color code
of selected pixels. Start it without any arguments:
$ xmag
The cursor will change into an upper-left frame (??®). Click on the upper-left corner of
the area you wish to magnify.


Pages:
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
botox Kraków wyświetlacz xperia Wczasy nad morzem baseny ogrodowe tłumacz niemieckiego