• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1### alsamixer configuration file
2#
3# location: ~/alsamixer.rc  or  ~/.config/alsamixer.rc  or  ~/.alsamixer.rc
4
5
6### color configuration
7# color <element> <fg-color> <bg-color> [<attr> ...]
8#
9# color:
10#   default, black, red, green, yellow, blue, magenta, cyan, white
11#
12# attr:
13#   bold, reverse, standout, dim, underline, italic, normal, blink
14#
15# element:
16#   mixer_frame, mixer_text, mixer_active, ctl_frame, ctl_mute, ctl_nomute,
17#   ctl_capture, ctl_nocapture, ctl_label, ctl_label_focus, ctl_mark_focus,
18#   ctl_bar_lo, ctl_bar_mi, ctl_bar_hi, ctl_inactive, ctl_label_inactive,
19#   errormsg, infomsg, textbox, textfield, menu, menu_selected
20
21#color mixer_frame               cyan    default
22#color mixer_text                cyan    default
23#color mixer_active              yellow  default bold
24#color ctl_frame                 cyan    default bold
25#color ctl_mute                  cyan    default
26#color ctl_nomute                white   green   bold
27#color ctl_capture               red     default bold
28#color ctl_nocapture             white   default
29#color ctl_label                 white   blue    bold
30#color ctl_label_focus           red     blue    bold
31#color ctl_mark_focus            red     default bold
32#color ctl_bar_lo                green   green   bold
33#color ctl_bar_mi                white   white   bold
34#color ctl_bar_hi                red     red     bold
35#color ctl_inactive              white   default
36#color ctl_label_inactive        white   default reverse
37#color errormsg                  white   red     bold
38#color infomsg                   white   blue    bold
39#color textbox                   white   blue    bold
40#color textfield                 white   default reverse
41#color menu                      white   blue    bold
42#color menu_selected             white   blue    reverse
43
44
45### key bindings
46# bind <key> [mixer] <mixer-cmd>
47# bind <key> textbox <textbox-cmd>
48#
49# mixer-cmd:
50#   help, close, refresh, select_card, system_information, mode_all,
51#   mode_capture, mode_playback, mode_toggle, balance_control, next[_<N>],
52#   previous[_<N>], control_focus_<[_left|_right]N>,
53#   control_up[_<N>][_left|_right], control_down[_<N>][_left|_right],
54#   control_set_<N>[_left|_right], toggle_mute[_left|_right],
55#   toggle_capture[_left|_right]
56#
57# textbox-cmd:
58#   close, down, up, left, right, page_down, page_up, page_left, page_right,
59#   top, bottom
60#
61# key: a key definition may be:
62#   - a single character (A, a, Z, z, ...)
63#   - a character with control-modifier (^x, C-x, c-x, ...)
64#   - a character with meta/alt-modifier (M-x, m-x, A-x, a-x, ...)
65#   - a character with both modifiers (C-M-x, M-C-x, M-^x, ...)
66#   - a curses keyname, no modifiers allowed (KEY_HOME, Home, F1, F(1), ...)
67
68#bind Escape    mixer close
69#bind Cancel    mixer close
70#bind F10       mixer close
71#bind F1        mixer help
72#bind Help      mixer help
73#bind H         mixer help
74#bind h         mixer help
75#bind ?         mixer help
76#bind F2        mixer system_information
77#bind /         mixer system_information
78#bind F3        mixer mode_playback
79#bind F4        mixer mode_capture
80#bind F5        mixer mode_all
81#bind Tab       mixer mode_toggle
82#bind F6        mixer select_card
83#bind S         mixer select_card
84#bind s         mixer select_card
85#bind Refresh   mixer refresh
86#bind ^L        mixer refresh
87#bind L         mixer refresh
88#bind l         mixer refresh
89#bind Left      mixer previous
90#bind P         mixer previous
91#bind p         mixer previous
92#bind Right     mixer next
93#bind N         mixer next
94#bind n         mixer next
95#bind PPage     mixer control_up_5
96#bind NPage     mixer control_down_5
97#bind LL        mixer control_set_0
98#bind END       mixer control_set_0
99#bind 0         mixer control_set_0
100#bind 1         mixer control_set_10
101#bind 2         mixer control_set_20
102#bind 3         mixer control_set_30
103#bind 4         mixer control_set_40
104#bind 5         mixer control_set_50
105#bind 6         mixer control_set_60
106#bind 7         mixer control_set_70
107#bind 8         mixer control_set_80
108#bind 9         mixer control_set_90
109#bind Up        mixer control_up
110#bind +         mixer control_up
111#bind K         mixer control_up
112#bind k         mixer control_up
113#bind W         mixer control_up
114#bind w         mixer control_up
115#bind Down      mixer control_down
116#bind -         mixer control_down
117#bind J         mixer control_down
118#bind j         mixer control_down
119#bind X         mixer control_down
120#bind x         mixer control_down
121#bind Q         mixer control_up_left
122#bind q         mixer control_up_left
123#bind Y         mixer control_down_left
124#bind y         mixer control_down_left
125#bind Z         mixer control_down_left
126#bind z         mixer control_down_left
127#bind E         mixer control_up_right
128#bind e         mixer control_up_right
129#bind C         mixer control_down_right
130#bind c         mixer control_down_right
131#bind M         mixer toggle_mute
132#bind m         mixer toggle_mute
133#bind <         mixer toggle_mute_left
134#bind ,         mixer toggle_mute_left
135#bind >         mixer toggle_mute_right
136#bind .         mixer toggle_mute_right
137#bind Space     mixer toggle_capture
138#bind IC        mixer toggle_capture_left
139#bind ;         mixer toggle_capture_left
140#bind DC        mixer toggle_capture_right
141#bind '         mixer toggle_capture_right
142#bind B         mixer balance_control
143#bind b         mixer balance_control
144#bind =         mixer balance_control
145
146#bind Escape    textbox close
147#bind Cancel    textbox close
148#bind Enter     textbox close
149#bind Close     textbox close
150#bind Exit      textbox close
151#bind Down      textbox down
152#bind SF        textbox down
153#bind J         textbox down
154#bind j         textbox down
155#bind X         textbox down
156#bind x         textbox down
157#bind Up        textbox up
158#bind SR        textbox up
159#bind K         textbox up
160#bind k         textbox up
161#bind W         textbox up
162#bind w         textbox up
163#bind Left      textbox left
164#bind H         textbox left
165#bind h         textbox left
166#bind P         textbox left
167#bind p         textbox left
168#bind Right     textbox right
169#bind L         textbox right
170#bind l         textbox right
171#bind N         textbox right
172#bind n         textbox right
173#bind NPage     textbox page_down
174#bind SPace     textbox page_down
175#bind PPage     textbox page_up
176#bind Backspace textbox page_up
177#bind B         textbox page_up
178#bind b         textbox page_up
179#bind Home      textbox top
180#bind Beg       textbox top
181#bind LL        textbox bottom
182#bind End       textbox bottom
183#bind Tab       textbox page_right
184#bind BTab      textbox page_left
185
186
187### misc configuration
188# set mouse_wheel_step [0..100]
189# set mouse_wheel_focuses_control [0|1]
190
191#set mouse_wheel_step            1
192#set mouse_wheel_focuses_control 1
193