[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#518154: x11-xkb-utils: missing multimedia keys / Ubuntu global workaround



Package: x11-xkb-utils
Version: 7.4+1
Severity: important

On my laptop with debian lenny ia32, multimedia keys (sound wheel etc)
did not work until i did an ugly copy of kubuntu 8.04 workaround.

symptom:
when i turn the sound wheel, xev said
on debian lenny :  state 0x0, keycode 174 (keysym 0x0, NoSymbol),
on ubuntu 8.04  :  state 0x0, keycode 174 (keysym 0x1008ff11,
XF86AudioLowerVolume)

further investigations showed how kubuntu 8.04 efficiently solved my
problem with 2 files, one system wide configuration for X, and the
xmodmap datas.

# ------------------------------------------------------
$ cat /etc/X11/Xsession.d/80ubuntu-xmodmap 
# Set the Ubuntu laptop keycode -> xkeysyms mapping (used by KDE)
#
# This file is sourced by Xsession(5), not executed.
# The "|| true" is to ensure that the Xsession script does not terminate
# on
error
/usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true

USRMODMAP="$HOME/.Xmodmap"

if [ -x /usr/bin/xmodmap ]; then
        if [ -f "$USRMODMAP" ]; then
                /usr/bin/xmodmap "$USRMODMAP" || true
        fi
fi

# ------------------------------------------------------
$ cat /usr/share/apps/kxkb/ubuntu.xmodmap
keycode 229 = XF86Search
keycode 235 = XF86MyComputer
keycode 236 = XF86Mail
keycode 237 = XF86AudioMedia
keycode 118 = XF86Music
keycode 178 = XF86WWW
keycode 161 = XF86Calculator

keycode 162 = XF86AudioPause
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext

keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume

keycode 230 = XF86Favorites
keycode 231 = XF86Refresh
keycode 232 = XF86Stop
keycode 233 = XF86Forward
keycode 234 = XF86Back

keycode 223 = XF86Standby
keycode 165 = XF86Sleep

keycode 204 = XF86Eject
keycode 245 = XF86Launch0
keycode 159 = XF86LaunchA
keycode 241 = XF86LaunchB
keycode 205 = XF86LaunchC
keycode 101 = XF86LaunchD
keycode 212 = XF86LaunchE
keycode 132 = XF86LightBulb
# ------------------------------------------------------

Now all my multimedia keys are working (i have no more reason to use ubuntu ;-)
The only remaining problem is the huge popup window in the middle of the
screen, when ubuntu shows only a tiny one (maybe this is another topic)

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages x11-xkb-utils depends on:
ii  cpp                           4:4.3.2-2  The GNU C preprocessor (cpp)
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libice6                       2:1.0.4-1  X11 Inter-Client Exchange library
ii  libsm6                        2:1.0.3-2  X11 Session Management library
ii  libx11-6                      2:1.1.5-2  X11 client-side library
ii  libxaw7                       2:1.0.4-2  X11 Athena Widget library
ii  libxkbfile1                   1:1.0.5-1  X11 keyboard file manipulation lib
ii  libxmu6                       2:1.0.4-1  X11 miscellaneous utility library
ii  libxt6                        1:1.0.5-3  X11 toolkit intrinsics library
ii  x11-common                    1:7.3+18   X Window System (X.Org) infrastruc

x11-xkb-utils recommends no packages.

x11-xkb-utils suggests no packages.

-- no debconf information




Reply to: