Re: adjusting volume of sparc system beep?

From: Jorgen Moquist (jorgen.moquist_at_n.o.s.p.a.m.mailbox.swipnet.se)
Date: 02/19/05


Date: Sat, 19 Feb 2005 00:18:13 +0100

bl8n8r wrote:
> Jorgen Moquist wrote:
> <snip>
>
>>:0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner
>>-audiobell
>>froze my x11 at a single beep ;-)
>>/Jörgen
>
>
>
> Hi Jörgen.
>
> I might be on to something here. I did a strings | grep ^- Xsun and
> found some interesting switches [2]. Among them were -pit and -dur.
> Editing the line in my /etc/dt/config/Xservers file [1], I was able to
> at least get things down to a "click"....more tweaking...
>
>
> [1] - /etc/dt/config/Xservers
> --------------------------------------------------------------------------
> :0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner
> -pit 500 -dur 1
>
>
> [2] - Xsun switches
> --------------------------------------------------------------------------
> # strings /usr/openwin/bin/Xsun | grep ^-
> -Kana_Lock
> -ISO_Fast_Cursor_Right
> -minus
> -debug
> -ar1
> -ar2
> -audiobell
> -XpFile
> -debug
> -defclass
> -defdepth
> -dev
> -dur
> -flipPixels
> -mden
> -mono
> -pit
> -accessX
> -banner
> -blackpixel
> -dpsfileops
> -nobanner
> -nominexp
> -sharedretainedpath
> -whitepixel
> -audit
> -auth
> -core
> -dpi
> -dpms
> -deferglyphs
> -help
> -logo
> -nolisten
> -norestart
> -terminate
> -tst
> -xinerama
> -xoverlap
> -yoverlap
> -nkeyboard
> -nmouse
> -clients
> -config
> -query
> -broadcast
> -multicast
> -indirect
> -port
> -once
> -class
> -displayID
> -xkbmap
> -xkbdb
> -noloadxkb
> -accessx
> -ar1
> -ar2
> -debug not supported in OpenWindows server
> -defclass: Visual Class "%s" not recognized
> -defdepth: Invalid color depth %s
> -mono not supported in OpenWindows server
> -XpFile specifies an alternate `Xprinters' file(Xprt
> only)
> -accessX enable accessx feature using shift key
> -banner enable Solaris banner
> -dev framebuffer name of device to open
> -defclass <visual> visual to report as default for devices that
> don't
> -defdepth # depth of visual to report as default for devices
> that
> -dpsfileops enable DPS file operators
> -dur set bell duration
> -flipPixels reverse black and white pixel values
> -mden set pointer acceleration denominator
> -nobanner disable Solaris banner
> -nominexp disable minimized exposure
> -pit set bell pitch
> -sharedretainedpath path defines a file system path
> -a # mouse acceleration (pixels)
> -ac disable access control restrictions
> -audit int set audit trail level
> -auth file select authorization file
> -bs disable any backing store support
> -c turns off key-click
> -cc int default color visual class
> -clients [128|1024] set maximum client connections
> -co file color database file
> -config file read options from file
> -core generate core dump on fatal error
> -dpi int screen resolution in dots per inch
> -dpms disables VESA DPMS monitor control
> -deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
> -ep string default encodings path
> -f # bell base (0-100)
> -fc string cursor font
> -fn string default font name
> -fp string default font path
> -help prints message with these options
> -I ignore all remaining arguments
> -ld int limit data space to N Kb
> -lf int limit number of open files to N
> -ls int limit stack space to N Kb
> -logo enable logo in screen saver
> -nolisten string don't listen for connections on specified
> transport
> -p # screen-saver pattern duration (minutes)
> -pn accept failure to listen on all ports
> -r turns off auto-repeat
> -s # screen-saver timeout (minutes)
> -sp file security policy file
> -su disable any save under support
> -t # mouse threshold (pixels)
> -terminate terminate at server reset
> -to # connection time out
> -tst disable testing extensions
> -v screen-saver without video blanking
> -wm WhenMapped default backing-store
> -xinerama Disable XINERAMA extension
> -xoverlap X-Overlap between adjacent screen in XINERAMA
> extension
> -yoverlap Y-Overlap between adjacent screen in XINERAMA
> extension
> -nkeyboard Disable Null Keyboard (override OWconfig)
> -nmouse Disable Null Mouse (override OWconfig)
> -x string loads named extension at init time
> -query host-name contact named host for XDMCP
> -broadcast broadcast for XDMCP
> -multicast [addr [hops]] IPv6 multicast for XDMCP
> -indirect host-name contact named host for indirect XDMCP
> -port port-num UDP port number to send messages to
> -once Terminate server after one session
> -class display-class specify display class to send in manage
> -displayID display-id manufacturer display ID for request
> -kb disable the X Keyboard Extension
> -ar1 set XKB autorepeat delay
> -ar2 set XKB autorepeat interval
> -noloadxkb don't load XKB keymap description
> -xkbcomp default keymap compiler
> -xkbdb file that contains default XKB keymaps
> -xkbmap XKB keyboard description to load on startup
>
great is that pitch & duration.
/Jörgen