i3wm,設置調節音量的快捷鍵
configure file:
~/.config/i3/config
add
# for sound control
bindsym XF86AudioRaiseVolume exec amixer set Master playback 5+
bindsym XF86AudioLowerVolume exec amixer set Master playback 5-
bindsym XF86AudioMute exec amixer set Master toggle
x200上靜音鍵可用,調節大小的按鍵沒有作用
修改
原來是數值太小,修改為
# for sound control
bindsym XF86AudioRaiseVolume exec amixer set Master playback 5000+
bindsym XF86AudioLowerVolume exec amixer set Master playback 5000-
bindsym XF86AudioMute exec amixer set Master toggle
可以使用, 可用
amixer
查看設置的值