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

xkb problem



i have a problem with xkb which cannot solve.
i use sid (but the problem arose while sarge was installed on my
laptop);
after a crash provoked by hibernate, apparently, something was
corrupted.
gnome started but a couple of pop-up win's appeared warning that an
error
had occurred while activating XKB conf probably because of an internal
error of the xfree server and alt and alt-gr (at least) did not work.
after a while the fact that the responsible was actually xfree and not
gnome
was clear, in fact:

aldo@paperinik:~$ grep -i xkb /var/log/XFree86.0.log
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "it"
(**) XKB: layout: "it"
Error loading keymap /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm

therefore i started a search through google and did dpkg -S of all the
files
and dir i deemed useful to try to find out the pkgs affected.
i have found that the command:
xkbsel -v --debug -s "xfree86(it)"
gave an error so i apt-get install --reinstall xkbsel but with no avail
and
then libx11-6 which gave a workaround, now running the above command
everything seems to work but launching:
xprop -root | grep XKB
i get
XKBSEL_CURRENT_KEYBOARD(STRING) = "xfree86(it it"
_XKB_RULES_NAMES_BACKUP(STRING) = "xfree86", "pc105", "it", "", ""
_XKB_RULES_NAMES(STRING) = "xfree86", "pc105", "it", "", ""
one more line (the first above) is added to the two which i get before
running the command

in order to try to settle everything i decided to:
first upgrade to sid, but this did not solve the question
second reinstall xfree (apt-get install --reinstall of all (or almost
all)the
relevant pkg's lib's included)
but the problem is still there, as far as vc's are concerned, they work
correctly, anyway, prudently, i reinstalled locales and console-data.
i am tempted by installing xorg from ubuntu, but before entering in a
further
mess :-) i have decided to bother you with my problem.
thanks
aldo

p.s. herebelow please find my XF86Config-4 and the output of
xkbsel -v --debug -s "xfree86(it)" (if they can be of any help)

aldo@paperinik:~$ xkbsel -v --debug -s "xfree86(it)"
Parsing locale name it_IT@euro
Reading configuration from /etc/xkbsel/xkbsel.conf

Read configuration line:
Section:      shortcut
Name:         cs
Qualifier:
Values:       "cssk(cs)"

Adding into maps: 0: cs cssk(cs)
Read configuration line:
Section:      shortcut
Name:         cs_y
Qualifier:
Values:       "cssk(cs_qwerty)"

Adding into maps: 1: cs_y cssk(cs_qwerty)
Read configuration line:
Section:      shortcut
Name:         sk
Qualifier:
Values:       "cssk(sk)"

Adding into maps: 2: sk cssk(sk)
Read configuration line:
Section:      shortcut
Name:         sk_y
Qualifier:
Values:       "cssk(sk_qwerty)"

Adding into maps: 3: sk_y cssk(sk_qwerty)
Read configuration line:
Section:      shortcut
Name:         us
Qualifier:
Values:       "xfree86(us)"

Adding into maps: 4: us xfree86(us)
Read configuration line:
Section:      shortcut
Name:         dvorak
Qualifier:
Values:       "xfree86(dvorak)"

Adding into maps: 5: dvorak xfree86(dvorak)
Read configuration line:
Section:      mapset
Name:         map
Qualifier:    cs
Values:       "us" "cs" "sk_y" "sk"

Read configuration line:
Section:      mapset
Name:         map
Qualifier:    sk
Values:       "us" "sk_y" "sk" "cs"

Read configuration line:
Section:      mapset
Name:         map
Qualifier:
Values:       "us" "sk" "sk_y" "cs" "cs_y" "dvorak"

Adding into maps: 0: us xfree86(us)
Adding into maps: 1: sk cssk(sk)
Adding into maps: 2: sk_y cssk(sk_qwerty)
Adding into maps: 3: cs cssk(cs)
Adding into maps: 4: cs_y cssk(cs_qwerty)
Adding into maps: 5: dvorak xfree86(dvorak)
Running /usr/X11R6/bin/xkbcomp -o ':0.0'
'/home/aldo/.xkbsel/compiled/xfree86/it.xkm'

aldo@paperinik:~$ cat /etc/X11/XF86Config-4

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/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
EndSection

Section "InputDevice"
	Identifier	"USB Mouse"
	Driver		"mouse"
	Option		"Device" "/dev/input/mice"
	Option		"SendCoreEvents" "true"
	#Option		"Protocol" "IMPS/2"
	Option		"Protocol" "ExplorerPS/2"
	Option		"Buttons"	"5"
	Option		"ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
        Identifier     "Touchpad"
        Driver         "synaptics"
	Option		"SendCoreEvents"  "true"
	Option		"SHMConfig"		"on"
        #Option         "Protocol"              "event"
        Option         "Device"                "/dev/input/mouse0"
	#Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
        #Option          "Edges"                 "1900 5400 1800 3900"
	Option		"TopEdge"		"1350"
	Option		"BottomEdge"		"4700"
	Option		"LeftEdge"		"1280"
	Option		"RightEdge"		"5400"
	Option		"FingerLow"		"25"
	Option		"FingerHigh"		"30"
        #Option          "Finger"                "25 30"
        Option          "MaxTapTime"            "180"
        Option          "MaxTapMove"            "220"
        Option          "EmulateMidButtonTime"  "75"
        Option          "VertScrollDelta"       "100"
        Option          "MinSpeed"              ".08" # "0.02"
        Option          "MaxSpeed"              "0.18"
        Option          "AccelFactor"           "0.0010"
	Option		"LockedDrags"		"off"
	Option		"UpDownScrolling"	"on"
	Option		"RTCornerButton"	"0"
	Option		"RBCornerButton"	"0"
	Option		"LTCornerButton"	"0"
	Option		"LBCornerButton"	"0"
	Option		"TapButton1"		"1"
	Option		"TapButton1"		"0"
	Option		"TapButton1"		"0"

EndSection


Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon Mobility U1"
	Driver		"ati"
	Option		"AGPMode"	"4"
	Option		"AGPFastWrite"	"on"
	Option		"EnablePageFlip"	"on"

EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	30-60
	VertRefresh	50-75
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon Mobility U1"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Touchpad" 		"CorePointer"
	InputDevice	"USB Mouse" 		"CorePointer"


EndSection

Section "ServerFlags"
	Option	"AllowMouseOpenFail" "true"
	Option          "BlankTime" "0"
	Option          "StandbyTime" "0"
	Option          "SuspendTime" "5"
	Option          "OffTime" "15"
EndSection

Section "DRI"
	Mode	0666
EndSection



Reply to: