The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Multimedia Keys == | == Multimedia Keys == | ||
We learned that multimedia keys are available by using | We learned that multimedia keys are available by using ''showkey''. To use it, one has to go to a text terminal, start ''showkey'' and press the buttons in question. | ||
The shown keycodes should be placed in <tt>~/.Xmodmap</tt> | |||
Example (ThinkPad X201): | |||
<source lang="lua"> | |||
keycode 234 = XF86Back | |||
keycode 233 = XF86Forwardpre | |||
keycode 144 = XF86AudioPrev | |||
keycode 164 = XF86AudioStop | |||
keycode 162 = XF86AudioPlay | |||
keycode 153 = XF86AudioNext | |||
keycode 160 = XF86AudioMute | |||
keycode 174 = XF86AudioLowerVolume | |||
keycode 176 = XF86AudioRaiseVolume | |||
</source> | |||
Example (ThinkPad X61): | Example (ThinkPad X61): | ||
<source lang="lua"> | <source lang="lua"> | ||
keycode 113 = | keycode 113 = Volume Mute | ||
keycode 114 = | keycode 114 = Volume Down | ||
keycode 115 = | keycode 115 = Volume Up | ||
keycode 148 = | keycode 143 = FnKey itsel | ||
keycode 163 = | keycode 148 = ThinkVantage Button | ||
keycode 164 = | keycode 152 = ScreenLock (Fn+F2) | ||
keycode 165 = | keycode 163 = Media Next | ||
keycode 166 = | keycode 164 = Media Play/Pause | ||
keycode 165 = Media Previous | |||
keycode 166 = Media Stop | |||
keycode 191 = Trackpoint/Touchpad Switch (Fn+F8) | |||
keycode 194 = Dock Eject (Fn+F9) | |||
keycode 224 = Brightness Down | |||
keycode 225 = Brightness Up | |||
keycode 227 = Monitor (Fn+F7) | |||
keycode 236 = Battery (Fn+F3) | |||
keycode 238 = WLAN (Fn+F5) | |||
keycode 372 = Fn+Space | |||
</source> | </source> | ||
ArchWiki [https://wiki.archlinux.org/index.php/Xmodmap Xmodmap] | ArchWiki [https://wiki.archlinux.org/index.php/Xmodmap Xmodmap] | ||
Line 44: | Line 63: | ||
* pavucontrol (GTK based mixer application) | * pavucontrol (GTK based mixer application) | ||
* paprefs (GTK based configuration tool) | * paprefs (GTK based configuration tool) | ||
Note: in order to discover remote soundcards, one has to start ''avahi-daemon''! | Note: in order to discover remote soundcards, one has to start ''avahi-daemon''! | ||