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

Bug#328112: xlibs: Backspace, tty switch, others not working



Am Dienstag, 13. September 2005 21:37 schrieb Denis Barbier:
> On Tue, Sep 13, 2005 at 05:00:55PM +0200, Philipp Marek wrote:
> > I've got serious keyboard problems too, since about 3weeks.
> > ALTGR defunct, CTRL-ALT-F1 and other not working, no @, etc.
> > Last thing I tried was writing a complete .xmodmap with xkeycaps, but
> > that didn't help.
>
> Either your configuration or your xlibs package is broken.  The former
> looks good, so it is likely that the culprit is the xlibs package.
> You can download this package from another mirror, run
>   dpkg-deb -x xlibs_6.8.2.dfsg.1-6_all.deb /tmp/xlibs
>   diff -ur /tmp/xlibs/etc/X11/xkb /etc/X11/xkb
> and see if you find something strange.
Today I got 
	ii  xlibs                     6.8.2.dfsg.1-7
	ii  xlibs-data                6.8.2.dfsg.1-7
but that didn't help.
To be on the safe side I did 
	# dpkg -i --force-confmiss /var/cache/apt/archives/xlibs-data_6.8.2.dfsg.1-7_all.deb
afterwards.

So I searched again ...
	$ xprop -root | grep XKB
	$ strace -e open setxkbmap -model pc105 -layout de
	open("/etc/ld.so.cache", O_RDONLY)      = 3
	open("/usr/X11R6/lib/libxkbfile.so.1", O_RDONLY) = 3
	open("/usr/lib/libX11.so.6", O_RDONLY)  = 3
	open("/lib/tls/libc.so.6", O_RDONLY)    = 3
	open("/usr/lib/libXau.so.6", O_RDONLY)  = 3
	open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
	open("/lib/tls/libdl.so.2", O_RDONLY)   = 3
	open("/home/flip/.Xauthority", O_RDONLY) = 4
	Couldn't interpret _XKB_RULES_NAMES property
	Use defaults: rules - 'xorg' model - 'pc101' layout - 'us'
	open("./rules/xorg-C.lst", O_RDONLY)    = -1 ENOENT (No such file or 	directory)
	open("./rules/xorg.lst", O_RDONLY)      = -1 ENOENT (No such file or directory)
	open("/usr/X11R6/lib/X11/xkb/rules/xorg-C.lst", O_RDONLY) = -1 ENOENT (No such file or directory)
	open("/usr/X11R6/lib/X11/xkb/rules/xorg.lst", O_RDONLY) = -1 ENOENT (No such file or directory)
	Couldn't find rules file (xorg)

So I did a
	/usr/X11R6/lib/X11# ln -s /etc/X11/xkb .

	$ setxkbmap -model pc105 -layout de
	Couldn't interpret _XKB_RULES_NAMES property
	Use defaults: rules - 'xorg' model - 'pc101' layout - 'us'

and behold! my keys are working again: @~| (no smiley, the keys I fought so hard to get ;-)
And CTRL-ALT-F7 for console switch works again, too!!!

Thanks very much!


Regards,

Phil



Reply to: