Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 99719

Summary: Some scancodes not mapped to keycodes in gnome-terminal
Product: Gentoo Linux Reporter: Jules Colding <colding>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jules Colding 2005-07-20 13:38:35 UTC
I have an IBM Model M Space Saver keyboard (Part number 1394054). It has a
standard US layout but, as I am Danish, I want to shift to a Danish keyboard
layout whenever I need the spacial Danish characters. These are (from 
/usr/share/keymaps/i386/qwerty/dk-latin1.map.gz):

Keycode 26: +aring
Keycode 39: +ae
Keycode 40: +oslash

I am therefore using the Gnome Keyboard Indicator applet to switch between US
and DK layout. The problem is that the scancodes from the keys are unmapped to
keycodes when using gnome-terminal 2.10.0. 

xev shows the scancodes to be mapped to a different scancode/keycode pair then
under the console (CTRL-ALT-f1). The reason for referring toi the console is
that I couldn't make "showkey -s" work in gnome-terminal. However, "showkey -a"
shows that no keycode is mapped to whatever scancode is produced by the keyboard.

So the 3 Danish special characters does not show up in gnome-terminal, but they
do work in other X programs such as firefox where I can type the Danish
characters in the URL address line after CRTL-l. Emacs and xterm works fine too.
Only gnome-terminal seems to show the problem.




Reproducible: Always
Steps to Reproduce:
1. Switch to Danish keyboard layout
2. Try using it in gnome-terminal...
3.

Actual Results:  
No special characters showed up in gnome-terminal.

Expected Results:  
They should have shown up.

colding@omc-1 /usr/src/linux $ emerge --info

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/
http://gentoo.prz.rzeszow.pl http://ftp.du.se/pub/os/gentoo
ftp://mirror.pudas.net/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X apm berkdb bitmap-fonts bzip2 cdr crypt cups curl eds emacs emboss
fam fbcon foomaticdb fortran gdbm gif gnome gstreamer gtk gtk2 gtkhtml hal imlib
ipv6 jpeg libg++ libwww motif mozilla mpeg ncurses nls nptl opengl pam pdflib
perl png python quicktime readline sdl spell ssl symlink tcpd tetex tiff
truetype truetype-fonts type1-fonts unicode xml2 xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Jules Colding 2005-07-20 13:42:08 UTC
I should add that the Danish special character are at the following keys (using
the US mapping):

+ae will show up instead of ;
+oslash will show up instead of '
+aring will show up instead of [

Comment 2 John N. Laliberte (RETIRED) gentoo-dev 2006-02-20 15:08:32 UTC
does this still happen in gnome-terminal-2.12 ?

Thanks
Comment 3 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-03-05 00:00:59 UTC
No response from reporter, assuming fixed.
Comment 4 Jules Colding 2006-04-28 03:37:48 UTC
Sorry for the _very_ late response, but it took some time getting the right keyboard hooked up to my new box. 

Anyway, yes - this does still happen with gnome-terminal-2.12.
Comment 5 RĂ©mi Cardona (RETIRED) gentoo-dev 2006-12-03 11:14:47 UTC
Jules,

Does it still happen in gnome-term 2.14 or 2.16 ? If so, don't hesitate to reopen this bug. (Closing as it's more than 6 months old)

Thanks
Comment 6 Jules Colding 2006-12-04 00:19:12 UTC
I just checked gnome-terminal 2.14.2 where it finally works :-)

Closing.

Best regards,
  jules