Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194909 - x11-misc/xkeyboard-config - Make the Danish keyboard work on a MacBook Pro laptop
Summary: x11-misc/xkeyboard-config - Make the Danish keyboard work on a MacBook Pro la...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-06 14:07 UTC by Jules Colding
Modified: 2007-10-06 15:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Modified xkb files (xkb.tar.gz,101.67 KB, application/octet-stream)
2007-10-06 14:08 UTC, Jules Colding
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jules Colding 2007-10-06 14:07:14 UTC
I recently purchased a MacBook Pro (the new model) with the express purpose of getting Gentoo on it. Well, that was not a simple task. The most annoying thing was the keyboard. 

The physical layout is a more or less standard Danish qwerty layout, but no of the layouts in X would convince the MacBook of actually printing the character that was on the key. 

It took about a week or so of trial and error in "/usr/share/X11/xkb" to produce a layout that worked and was choosable with the Gnome Keyboard Preferences application. 

I've no idea on how to submit patches to Xorg so I hereby submit a tar-ball with my modified xkb files in the hope that they can get into the Gentoo tree.
Comment 1 Jules Colding 2007-10-06 14:08:47 UTC
Created attachment 132730 [details]
Modified xkb files

You will need to add:

"/usr/bin/eject"
  XF86Eject

to your ~/.xbindkeysrc file if you want the Eject key to work.
Comment 2 Jules Colding 2007-10-06 14:09:43 UTC
colding@athero ~/work/src/omc/evolution-brutus $ emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
Timestamp of tree: Sat, 06 Oct 2007 13:20:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://gentoo.tiscali.nl/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avahi avi berkdb bitmap-fonts bzip2 cdr cli colordiff cracklib crypt cscope cups dbus dri dvd dvdr emacs gdbm gnome gphoto2 gpm gtk hal iconv ipv6 jpeg lm-sensors madwifi midi mmx mudflap ncurses nls nptl nptlonly nvidia openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl tao tcpd tetex toolkit-scroll-bars truetype-fonts type1-fonts unicode wifi xorg xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-06 14:10:32 UTC
This goes to https://bugs.freedesktop.org/ - xkeyboard-config product, not here. :)
Comment 4 Jules Colding 2007-10-06 14:23:00 UTC
OK, thanks. Submitted.