X and Fluxbox :: xfree86 & xkb
Hi, I'm trying to get the "ca" (canadian french) keyboard layout from xfree, but I get the following problems (note that my XF86Config-4 file is valid, it worked with a Debian install with xfree.org's 4.3 version):
First, I get these errors in the output window (ctrl-alt-F1):
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Couldn't load xkb keymap, falling back to pre-xkb keymap.
I followed the symlinks to xserver dir, which points to /etc/X11.
It also complained about symbols not found. So I installed the XF86Config.dsl, and just loading it at startup (I have a frugal install with all I can pointed to a separate partition - mydsl, opt, home). With this, it goes a little further (it seems to add some files like keymaps and symbols), but it gives me this error:
sh: line 1: /usr/X11R6/xkb/xkbcomp: no such file or directory.
What can I do? this keyboard layout is vital for me since my primary use for this is to take notes in class... Anyone else had problems or success with this??
Thanks,
Charles.
hello _CD
Have you a solution for your problem , i've got exactly the same , for my keboard french , alt gr , don't work .
the log xfree is error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Couldn't load xkb keymap, falling back to pre-xkb keymap.
i google , i found , it'a problem with xlibs , i try to update xlibs but with no success .
look at :
http://sysadminforum.com/showthread.php?t=127452
http://lists.debian.org/debian-x/2003/12/msg00204.html)
I hope someone have a solution , it's very important for me too .
franck
ok find ,
I use this topic :
http://damnsmalllinux.org/cgi-bin....;t=6769
and that my .xmodmap-box :
!
! This is an `xmodmap' input file for
! PC 105 key, wide Delete, tall Enter (XFree86; French) keyboards.
! Automatically generated on Sun Oct 2 14:04:02 2005 by dsl with
! XKeyCaps 2.46; Copyright © 1999 Jamie Zawinski <jwz@jwz.org>.
! http://www.jwz.org/xkeycaps/
!
! This file makes the following changes:
!
! The "##" key generates NoSymbol
keycode 0x09 = Escape
keycode 0x43 = F1
keycode 0x44 = F2
keycode 0x45 = F3
keycode 0x46 = F4
keycode 0x47 = F5
keycode 0x48 = F6
keycode 0x49 = F7
keycode 0x4A = F8
keycode 0x4B = F9
keycode 0x4C = F10
keycode 0x5F = F11
keycode 0x60 = F12
keycode 0x6F = Print Execute
keycode 0x4E = Scroll_Lock
keycode 0x6E = Pause Break
keycode 0x31 = twosuperior asciitilde notsign
keycode 0x0A = ampersand 1 onesuperior exclamdown
keycode 0x0B = eacute 2 asciitilde oneeighth
keycode 0x0C = quotedbl 3 numbersign sterling
keycode 0x0D = apostrophe 4 braceleft dollar
keycode 0x0E = parenleft 5 bracketleft threeeighths
keycode 0x0F = minus 6 bar fiveeighths
keycode 0x10 = egrave 7 grave seveneighths
keycode 0x11 = underscore 8 backslash trademark
keycode 0x12 = ccedilla 9 asciicircum plusminus
keycode 0x13 = agrave 0 at degree
keycode 0x14 = parenright degree bracketright questiondown
keycode 0x15 = equal plus braceright dead_ogonek
keycode 0x16 = BackSpace
keycode 0x6A = Insert
keycode 0x61 = Home
keycode 0x63 = Prior
keycode 0x4D = Num_Lock Pointer_EnableKeys
keycode 0x70 = KP_Divide
keycode 0x3F = KP_Multiply
keycode 0x52 = KP_Subtract
keycode 0x17 = Tab ISO_Left_Tab
keycode 0x18 = a A ae AE
keycode 0x19 = z Z guillemotleft less
keycode 0x1A = e E
keycode 0x1B = r R paragraph registered
keycode 0x1C = t T tslash Tslash
keycode 0x1D = y Y leftarrow yen
keycode 0x1E = u U downarrow uparrow
keycode 0x1F = i I rightarrow idotless
keycode 0x20 = o O oslash Ooblique
keycode 0x21 = p P thorn THORN
keycode 0x22 = dead_circumflex dead_diaeresis dead_diaeresis dead_abovering
keycode 0x23 = dollar sterling currency dead_macron
keycode 0x24 = Return
keycode 0x6B = Delete
keycode 0x67 = End
keycode 0x69 = Next
keycode 0x4F = KP_Home KP_7
keycode 0x50 = KP_Up KP_8
keycode 0x51 = KP_Prior KP_9
keycode 0x56 = KP_Add
keycode 0x42 = Caps_Lock
keycode 0x26 = q Q at Greek_OMEGA
keycode 0x27 = s S ssharp section
keycode 0x28 = d D eth ETH
keycode 0x29 = f F dstroke ordfeminine
keycode 0x2A = g G eng ENG
keycode 0x2B = h H hstroke Hstroke
keycode 0x2C = j J
keycode 0x2D = k K kra ampersand
keycode 0x2E = l L lstroke Lstroke
keycode 0x2F = m M mu masculine
keycode 0x30 = ugrave percent dead_circumflex dead_caron
keycode 0x33 = asterisk mu dead_grave dead_breve
keycode 0x53 = KP_Left KP_4
keycode 0x54 = KP_Begin KP_5
keycode 0x55 = KP_Right KP_6
keycode 0x32 = Shift_L
keycode 0x5E = less greater bar brokenbar
keycode 0x34 = w W lstroke Lstroke
keycode 0x35 = x X guillemotright greater
keycode 0x36 = c C cent copyright
keycode 0x37 = v V leftdoublequotemark grave
keycode 0x38 = b B rightdoublequotemark apostrophe
keycode 0x39 = n N
keycode 0x3A = comma question dead_acute dead_doubleacute
keycode 0x3B = semicolon period horizconnector multiply
keycode 0x3C = colon slash periodcentered division
keycode 0x3D = exclam section dead_belowdot dead_abovedot
keycode 0x3E = Shift_R
keycode 0x62 = Up
keycode 0x57 = KP_End KP_1
keycode 0x58 = KP_Down KP_2
keycode 0x59 = KP_Next KP_3
keycode 0x6C = KP_Enter
keycode 0x25 = Control_L
keycode 0x73 = Meta_L
keycode 0x40 = Alt_L
keycode 0x41 = space
keycode 0x71 = Mode_switch
keycode 0x74 = Multi_key
keycode 0x75 = NoSymbol
keycode 0x6D = Control_R
keycode 0x64 = Left
keycode 0x68 = Down
keycode 0x66 = Right
keycode 0x5A = KP_Insert KP_0
keycode 0x5B = KP_Delete KP_Decimal
clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
add Shift = Shift_L Shift_R
add Lock = Caps_Lock
add Control = Control_L Control_R
add Mod1 = Alt_L
add Mod2 = Num_Lock
add Mod3 = Mode_switch
add Mod4 = Meta_L
add Mod5 = Scroll_Lock
and then I run xmodmap .xmodmap-box
Not sure if you solved your problem or not, but here's my solution :
- grabbed the whole /etc/X11/xkb dir from my Knoppix 4 dvd (running), but replacing the symlibk to xkbcomp with the real one.
- copied to a dir on my mydsl partition
- make a symlink /etc/X11/xkb pointing to the previous dir.
- copied the SecurityPolicy from Knoppix to /etc/X11/xserver
- put etc/X11/xkb and /etc/X11/xserver/SecurityPolicy to my .filetool.lst
I have no idea what SecurityPolicy does, and it would work without it but with an error message.
Now it works, but I get an error from xkbcomp complaining about an extra symbol.
The only problem left is that dead keys don't work. No idea why. but I modified my xkb/symbols/pc/ca file to put the accented letters on altgr.
original here.