个人工具

“UbuntuHelp:UbuntuLTSP/DisablePCSpeaker”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
第8行: 第8行:
 
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 [[UbuntuHelp:NumLock|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. ;)
 
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 [[UbuntuHelp:NumLock|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.
 
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:
+
First, create a file: /opt/ltsp/arch/etc/modprobe.d/blacklist-pcspkr.conf:
 
<pre><nowiki>
 
<pre><nowiki>
sudo vim /opt/ltsp/arch/etc/modprobe.d/blacklist-pcspkr
+
sudo vi /opt/ltsp/arch/etc/modprobe.d/blacklist-pcspkr.conf
 
</nowiki></pre>
 
</nowiki></pre>
blacklist-pcspkr:
+
blacklist-pcspkr.conf:
 
<pre><nowiki>
 
<pre><nowiki>
 
# Blacklists PC Speaker module (pcspkr)
 
# Blacklists PC Speaker module (pcspkr)

2009年11月17日 (二) 20:51的最新版本

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.