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

Bug#277094: setxkbmap us_intl: Error loading new keyboard description



Package: xbase-clients
Version: 4.3.0.dfsg.1-8

Hi,

until recently, I was able to switch between a standard US and an international US keyboard layout in my XFree86. Since my last debian testing update, this is no longer the case.
The following commands are typed in the console:

#############################
I type:
setxkbmap us

works fine


##############################
I type:
setxkbmap de

works fine

##############################
I type:
setxkbmap us_intl

Output:
Error loading new keyboard description
(end output)
New keyboard layout is not loaded

##############################
I type:
strace -e trace=open setxkbmap us_intl

Output:
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/usr/X11R6/lib/libXext.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY)        = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/home/eperron/.Xauthority", O_RDONLY) = 4
open("./rules/xfree86-C.lst", O_RDONLY) = -1 ENOENT (No such file or directory) open("./rules/xfree86.lst", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/X11R6/lib/X11/xkb/rules/xfree86-C.lst", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/X11/xkb/rules/xfree86.lst", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/xkb/rules/xfree86-C", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/X11/xkb/rules/xfree86", O_RDONLY) = 4
Error loading new keyboard description
(end output)

#############################

Attached is my file /usr/X11R6/lib/X11/xkb/symbols/us_intl
and my file /etc/X11/XF86Config-4

Kernel version:
uname -a
Linux sam 2.4.27 #1 Mon Sep 6 09:08:53 CEST 2004 i686 GNU/Linux

Thanks a lot for looking at this issue
Etienne
//
// $XFree86: xc/programs/xkbcomp/symbols/us_intl,v 1.6 2003/05/29 12:41:58 pascal Exp $
//
// Dead-keys definition for a very simple US/ASCII layout.
// by Conectiva (http://www.conectiva.com.br)
// modified by Ricardo Y. Igarashi (iga@that.com.br)

// Added the following deadkeys, to make it truly international:
//
// dead_macron: on AltGr-minus
// dead_breve: on AltGr-parenleft
// dead_abovedot: on AltGr-period
// dead_abovering: on AltGr-0
// dead_doubleacute: on AltGr-equal (as quotedbl is already used)
// dead_caron: on AltGr-less (AltGr-shift-comma)
// dead_cedilla: on AltGr-comma
// dead_ogonek: on AltGr-semicolon
// dead_belowdot: on AltGr-underscore (AltGr-shift-minus)
// dead_hook: on AltGr-question
// dead_horn: on AltGr-plus (AltGr-shift-equal)
// dead_diaeresis: on AltGr-colon (Alt-shift-semicolon)
//
// those were already there:
// dead_grave
// dead_acute
// dead_circumflex
// dead_tilde
// dead_diaeresis

partial default alphanumeric_keys
xkb_symbols "basic" {

    name[Group1]= "US/ASCII";

    // Alphanumeric section
    key <TLDE> {	[ dead_grave,	dead_tilde	],
			[      grave,	asciitilde	]	};
    key <AE05> {	[	   5,	percent		],
			[   EuroSign			]	};
    key <AE06> {	[	   6,	dead_circumflex	],
			[ asciicircum,	asciicircum	]	};
    key <AE09> {	[	  9,	parenleft	],
			[  dead_breve,	dead_breve	]	};
    key <AE10> {	[	  0,	parenright	],
			[dead_abovering, dead_abovering	]	};
    key <AE11> {	[     minus,	underscore	],
			[ dead_macron,	dead_belowdot	]	};
    key <AE12> {	[     equal,	plus		],
			[ dead_doubleacute, dead_horn	]	};

    key <AC10> {	[ semicolon,	colon		],
			[ dead_ogonek,	dead_diaeresis	]	};
    key <AC11> {	[ dead_acute,	dead_diaeresis	],
			[ apostrophe,	quotedbl	]	};
			
    key <AB08> {	[     comma,	less		],
			[ dead_cedilla,	dead_caron	]	};
    key <AB09> {	[    period,	greater		],
			[ dead_abovedot,dead_circumflex	]	};
    key <AB10> {	[     slash,	question	],
			[   dead_hook,	dead_hook	]	};

    // End alphanumeric section
};

# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Module"
	Load   "GLcore"
	Load   "bitmap"
	Load   "ddc"
	Load   "freetype"
	Load   "int10"
	Load   "record"
	Load   "extmod"
	Load   "dbe"
	Load   "dri"
	Load   "glx"
	Load   "xtrap"
	Load   "type1"
#	Load   "speedo"
EndSection


#Section "Files"
#	FontPath	"unix/:7100"			# local font server
#	# if the local font server has problems, we can fall back on these
#	FontPath	"/usr/lib/X11/fonts/Type1"
#	FontPath	"/usr/lib/X11/fonts/CID"
#	FontPath	"/usr/lib/X11/fonts/Speedo"
#	FontPath	"/usr/lib/X11/fonts/misc"
#	FontPath	"/usr/lib/X11/fonts/cyrillic"
#	FontPath	"/usr/lib/X11/fonts/100dpi"
#	FontPath	"/usr/lib/X11/fonts/75dpi"
#EndSection

Section "Files"
	RgbPath         "/usr/X11R6/lib/X11/rgb"
	ModulePath	"/usr/X11R6/lib/modules"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc/"
#	FontPath	"/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath	"/usr/X11R6/lib/X11/fonts/CID/"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"i810"
#	VideoRam	"64000"
#      	VendorName	"Intel Corp."
#	BoardName	"852GM/852GME/855GM/855GME Chipset Graphics Controller"
#	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	VendorName	"Monitor Vendor"
      	ModelName	"Monitor Model"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
	EndSubSection
	SubSection "Display"
		Depth		4
	EndSubSection
	SubSection "Display"
		Depth		8
	EndSubSection
	SubSection "Display"
		Depth		15
	EndSubSection
	SubSection "Display"
		Depth		16
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
#		Modes "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		0   "Default Screen"  0  0
	InputDevice	"Generic Keyboard"  "CoreKeyboard"
	InputDevice	"Configured Mouse"  "CorePointer"
	InputDevice	"Generic Mouse"   "AlwaysCore"
EndSection


Section "DRI"
     Mode 0666
EndSection

Reply to: