Vmware installed Linux, in the Shell due to the wrong command or for various reasons, will be issued "dudu" rdquo; alarm sound, not the sound card issued, but The alarm of the motherboard, so it can not be solved by turning off the speaker. The sound that often sounded in the bedroom was very harsh. I found a solution on the Internet today, and wrote down:
Remove the # before the set bell-style none in /etc/inputrc, and then restart the system.
However, this method does not work, but the idea is correct. The range of bell-style is: none, visible, audible. If you want to remove the alarm, it should be
Remove the # before the set bell-style visible in /etc/inputrc. If you don't have this sentence, you can add it yourself.
Remove the linux alarm sound
In fact, the kernel module pcspkr is the module that drives the system speaker, disable it on the line. On the command line, type: sudo modprobe -r pcspkr. The best way is to add to the blacklist, as follows: In /etc/modprobe.d/blacklist, add blacklist pcspkr to test again, no nasty system speaker sound.
1>shell Alarm Sounds
Method 1
#vi /etc/inputrc
============= ===================
# do not bell on tab-completion
set bell-style none
============================================== Method 2
#echo " Set bell-style none" >> ~/.bashrc
Note: The above only removes the tab alarm sound in the shell. If there are other alarm sounds, you can use the following command:
Setterm -blength 0
or add it to /etc/bashrc.
2>gdm login alarm
#vi /etc/gdm/custom.conf
================= =========
[greeter]
Browser=true
SoundOnLogin=false
======== ==================
Or follow the command in the terminal
1:rmmod pcspkr
2 :xset b off
Setting the resolution under the Linux character interface
vi /boot/grub/menu.lst
|
640x480 800x600 1024x768 1280x1024
256 |
0x301 0x303 0x305 0x307
32k |
0x310 0x313 0x316 0x319
64k |
0x311 0x314 0x317 0x31A
16M |
0x312 0x315 0x318 0x31B
In fact, very simple, that is grub, edit grub.conf
in kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/rhgb quiet Add the resolution setting:
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/vga=791 rhgb quiet
Different colors and resolutions Value
depth-----640x480----800x600----1024x768-----1280x1024
8bit---------769--- -----771--------773----------775
15bit--------784-------- 787--------790----------793
16bit--------785--------788---- ----791----------794
24bit--------786--------789--------792 ----------795
lilo:
It seems to add a line vga=0x31? It will do (it hasn't used lilo for a long time, can't remember it)
Where 0x31? is to set the specific resolution value, please refer to the list, do not mess up
1280x1024 is 0x31a
1024x768 is 0x317
800x600 is 0x314< Br>
640x480 is 0x311
A summaryIn order to manage all server accounts and passwords in the enterprise, you can use the Wi
Format: printf("\\033[word background color; font color m string \\033[0m" ); printf("
If the liunx system is started, I just said about it, but the specific process is not well understo
6. Sfdisk & ndash; backup partition table If you install multiple systems, it can easily lead to
Detailed Linux operating system using Windows partition
Linux automatically deletes N days before backup
Linux environment variables (2)
Linux Network Protocol Stack Network Device Management
Create a mysql database note with c language under linux
Linux zombie process and its solution
Windows under the wrong formatted Linux SWAP partition recovery
NFS service common troubleshooting
Linux shutdown command shutdown
Centos configuration nfs and hangs on windows server 2008
7 command line tools for monitoring Linux systems
Linux environment programming - waitpid with fork and execlp
What should I do if win2003 opens the remote desktop connection and the computer keyboard fails?
Window xp uninstalls the screen saver in your computer.
Input method principle decryption
Clever use of life calendar holiday customization, work and life are not wrong
Microsoft adds music exclusive part to Win10 store Beta
What games can I play with this computer in my family?
Win10 Preview IE Security Patch Update: Fix Flash Issues
What can I do if the RNDIS driver cannot be installed in the win7 pure version?
Win7 system download file does not appear download dialog box how to do
Meitu Xiuxiu creates a beautiful pink photo album cover photo