i3wm 調節音量


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

查看設置的值


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM