个人工具

UbuntuHelp:UbuntuLTSP/DisablePCSpeaker

来自Ubuntu中文

跳转至: 导航, 搜索
This page is specific to Ubuntu versions 8.04

If you find this information applicable to additional versions/releases, please edit this page and modify this header to reflect that. Please also include any necessary modifications for this information to apply to the additional versions.


This page is dedicated to disabling the PC speaker on LTSP thin-clients. PC speakers can be very annoying, especially upon login when users attempt to use the numeric keypad and the NumLock key isn't enabled, causing a system beep. Multiply this by 35 thin-clients in a computer lab, and you have enough reason to jump off a cliff. ;) We can disable LTSP client PC speakers by creating a file that will blacklist the pcspkr kernel module from loading upon thin-client bootup. First, create a file: /opt/ltsp/arch/etc/modprobe.d/blacklist-pcspkr.conf:

sudo vi /opt/ltsp/arch/etc/modprobe.d/blacklist-pcspkr.conf

blacklist-pcspkr.conf:

# Blacklists PC Speaker module (pcspkr)
blacklist pcspkr

Update the client chroot image:

sudo ltsp-update-image

Reboot thin-clients, and enjoy a beepless LTSP environment.