Arch Teapot Notes 12-02-18: Difference between revisions

From Chaosdorf Wiki
No edit summary
No edit summary
Line 3: Line 3:
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.
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>
The shown keycodes (example X201) should be placed in <tt>~/.Xmodmap</tt>
<source lang="xorg_conf">
<source lang="xorg_conf">
keycode 234 = XF86Back
keycode 234 = XF86Back
Line 15: Line 15:
keycode 176 = XF86AudioRaiseVolume
keycode 176 = XF86AudioRaiseVolume
</source>
</source>
== Multimedia Keys for X61s ==
113  Volume Mute
114  Volume Down
115  Volume Up
143  FnKey itsel
148  ThinkVantage Button
152  ScreenLock (Fn+F2)
163  Media Next
164  Media Play/Pause
165  Media Previous
166  Media Stop
191  Trackpoint/Touchpad Switch (Fn+F8)
194  Dock Eject (Fn+F9)
224  Brightness Down
225  Brightness Up
227  Monitor (Fn+F7)
236  Battery (Fn+F3)
238  WLAN (Fn+F5)
372  Fn+Space


== PulseAudio ==
== PulseAudio ==

Revision as of 18:23, 18 February 2012

Multimedia Keys

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 (example X201) should be placed in ~/.Xmodmap

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

Multimedia Keys for X61s

113  Volume Mute
114  Volume Down
115  Volume Up
143  FnKey itsel
148  ThinkVantage Button
152  ScreenLock (Fn+F2)
163  Media Next
164  Media Play/Pause
165  Media Previous
166  Media Stop
191  Trackpoint/Touchpad Switch (Fn+F8)
194  Dock Eject (Fn+F9)
224  Brightness Down
225  Brightness Up
227  Monitor (Fn+F7)
236  Battery (Fn+F3)
238  WLAN (Fn+F5)
372  Fn+Space

PulseAudio

PulseAudio is a sound system enabling us to control application volumes individually and use other computers soundcards over the network.

Recommended packages:

  • pulseaudio (the daemon, required)
  • pavucontrol (GTK based mixer application)
  • paprefs (GTK based configuration tool)

Note: in order to discover remote soundcards, one has to start avahi-daemon!