OpenBSD на рабочей станции: различия между версиями

Материал из OpenBSD-Wiki
Перейти к навигации Перейти к поиску
(Новая страница: «Вольный перевод статьи [http://eradman.com Eric Radman] [http://eradman.com/posts/openbsd-workstation.html An OpenBSD Workstation]. == Power…»)
 
Строка 15: Строка 15:
 
As of the 5.4 release wsconsctl no longer seems to work. You an also disable the bell using
 
As of the 5.4 release wsconsctl no longer seems to work. You an also disable the bell using
  
<code># .xinitrc<br />
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'''# .xinitrc'''<br />
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'''xset -b'''
  xset -b</code>
 
  
 
or
 
or
  
# rc.conf.local
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'''# rc.conf.local'''<br />
mixerctl inputs.spkr.mute=on
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'''mixerctl inputs.spkr.mute=on'''

Версия 01:28, 5 августа 2014

Вольный перевод статьи Eric Radman An OpenBSD Workstation.

Power Button Shutdown

This nifty option in /etc/sysctl.conf can only be set before entering securelevel 1, and allows you to shut off your computer gracefully by pressing the power button.

     hw.allowpowerdown=1

No More Annoying Beep

One of the many useful and unexpected things you'll learn in Absolute OpenBSD 2nd Edition is how to disable the annoying UNIX bell in /etc/wsconsctl.conf

     keyboard.bell.volume=0

As of the 5.4 release wsconsctl no longer seems to work. You an also disable the bell using

     # .xinitrc
     xset -b

or

     # rc.conf.local
     mixerctl inputs.spkr.mute=on