Skip to content

xset

Complete command reference for managing X11 settings using xset, including bell behavior, keyclick, DPMS power management, font paths, input acceleration, screen saver control, and auto-repeat configuration


turn bell off

xset -b
# aliases:
xset b off
xset b 0

set bell volume, pitch and duration

xset b [vol [pitch [dur]]]
# enable bell:
xset b on

disable bug compatibility mode

xset -bc

enable bug compatibility mode

xset bc

turn keyclick off

xset -c
# aliases:
xset c off
xset c 0

set keyclick volume

xset c [0-100]
# enable keyclick:
xset c on

control Display Power Management Signaling (DPMS) features

# DPMS features off/on:
xset -dpms
xset +dpms

# set timeouts (standby, suspend, off) in seconds:
xset dpms [standby [suspend [off]]]

# force DPMS states:
xset dpms force standby
xset dpms force suspend
xset dpms force off
xset dpms force on

set the font path

xset fp= path[,path...]

restore the default font path

xset fp default

have the server reread font databases

xset fp rehash

remove elements from font path

xset -fp path[,path...]
# alias:
xset fp- path[,path...]

prepend or append elements to font path

xset +fp path[,path...]
# alias:
xset fp+ path[,path...]

set LED states off or on

# numbered LED:
xset -led [1-32]
xset led  [1-32]

# named LED:
xset -led named 'name'
xset  led named 'name'

set mouse acceleration and threshold

xset m [acc_mult[/acc_div] [thr]]
# default:
xset m default

set pixel colors

xset p pixel_value color_name

turn auto-repeat off or on

xset -r [keycode]
xset  r [keycode]

# set repeat rate:
xset r rate [delay [rate]]

screen-saver control

xset s [timeout [cycle]]
# defaults / on:
xset s default
xset s on

# blanking:
xset s blank
xset s noblank
xset s off

# exposure:
xset s expose
xset s noexpose

# activate / reset:
xset s activate
xset s reset

status information

xset q

print version

xset -version

turn bell off

xset -b
# aliases:
xset b off
xset b 0

set bell volume, pitch and duration

xset b [vol [pitch [dur]]]
# enable bell:
xset b on

disable bug compatibility mode

xset -bc

enable bug compatibility mode

xset bc

turn keyclick off

xset -c
# aliases:
xset c off
xset c 0

set keyclick volume

xset c [0-100]
# enable keyclick:
xset c on

control Display Power Management Signaling (DPMS) features

# DPMS features off/on:
xset -dpms
xset +dpms

# set timeouts (standby, suspend, off) in seconds:
xset dpms [standby [suspend [off]]]

# force DPMS states:
xset dpms force standby
xset dpms force suspend
xset dpms force off
xset dpms force on

set the font path

xset fp= path[,path...]

restore the default font path

xset fp default

have the server reread font databases

xset fp rehash

remove elements from font path

xset -fp path[,path...]
# alias:
xset fp- path[,path...]

prepend or append elements to font path

xset +fp path[,path...]
# alias:
xset fp+ path[,path...]

set LED states off or on

# numbered LED:
xset -led [1-32]
xset led  [1-32]

# named LED:
xset -led named 'name'
xset  led named 'name'

set mouse acceleration and threshold

xset m [acc_mult[/acc_div] [thr]]
# default:
xset m default

set pixel colors

xset p pixel_value color_name

turn auto-repeat off or on

xset -r [keycode]
xset  r [keycode]

# set repeat rate:
xset r rate [delay [rate]]

screen-saver control

xset s [timeout [cycle]]
# defaults / on:
xset s default
xset s on

# blanking:
xset s blank
xset s noblank
xset s off

# exposure:
xset s expose
xset s noexpose

# activate / reset:
xset s activate
xset s reset

status information

xset q

print version

xset -version