[csw-maintainers] setxkbmap investigation

Dagobert Michelsen dam at opencsw.org
Wed Jul 29 08:46:30 CEST 2009


Hi Maciej,

Am 29.07.2009 um 01:16 schrieb Maciej (Matchek) Blizinski:
> I have a reference binary in /var/tmp, which reads the keymap from a
> known location: /usr/X11/lib/X11/xkb/symbols. For instance, when I run
> 'setxkbmap pl', the file /usr/X11/lib/X11/xkb/symbols/pl gets read.
> When I run my setxkbmap, they 'pl' keymap must get loaded from
> someplace else, because it's not my (patched) keymap. But I can't
> figure out, where it is being read from.

You can try "opensnoop" from the dtracetoolkit (pkg-get -i  
dtracetoolkit):

root at ncsw [global]:/root > opensnoop
   UID    PID COMM          FD PATH
     0  16783 mibiisa        2 /dev/kstat
     0  16783 mibiisa       -1 /dev/e
     0  16783 mibiisa        2 /dev/kstat
     0  18355 sysstatd     551 /proc/5045/psinfo
     0  18355 sysstatd     552 /proc/5045/status
     0  18355 sysstatd     569 /proc/5033/psinfo
     0  18355 sysstatd     570 /proc/5033/status
     0  18355 sysstatd     599 /proc/5031/psinfo
     0  18355 sysstatd     600 /proc/5031/status
     0  18355 sysstatd     899 /proc/5046/psinfo
     0  18355 sysstatd     900 /proc/5046/status
10000   5047 setxkbmap     -1 /var/ld/ld.config
10000   5047 setxkbmap      3 /lib/libc.so.1
10000   5047 setxkbmap      3 /usr/lib/libxkbfile.so.4
10000   5047 setxkbmap      3 /platform/SUNW,SPARC-Enterprise-T5220/ 
lib/libc_psr.so.1
10000   5047 setxkbmap      3 /usr/lib/libX11.so.4
10000   5047 setxkbmap      3 /lib/libsocket.so.1
10000   5047 setxkbmap      3 /lib/libnsl.so.1
10000   5047 setxkbmap      4 /etc/netconfig
10000   5047 setxkbmap      4 /dev/udp
10000   5047 setxkbmap      4 /var/run/name_service_door
10000   5047 setxkbmap      5 /etc/default/nss
10000   5047 setxkbmap      5 /dev/udp6
10000   5047 setxkbmap      5 /home/dam/.Xauthority
10000   5047 setxkbmap     -1 /usr/X11R6/lib/X11/xkb/rules/xorg-C.lst
10000   5047 setxkbmap      5 /usr/X11R6/lib/X11/xkb/rules/xorg.lst
10000   5047 setxkbmap     -1 /usr/X11R6/lib/X11/xkb/rules/xorg-C
10000   5047 setxkbmap      5 /usr/X11R6/lib/X11/xkb/rules/xorg
10000   5047 setxkbmap     -1 ./rules/xorg-C.lst
10000   5047 setxkbmap     -1 ./rules/xorg.lst
     1  17464 nfsmapid       8 /etc/resolv.conf
     0  16448 nscd           4 /etc/inet/ipnodes
^C

However, setxkbmap doesn't work in my environment:

dam at build10st [build10st]:/home/dam > setxkbmap pl
Couldn't interpret _XKB_RULES_NAMES property
Use defaults: rules - 'xorg' model - 'pc101' layout - 'us'
Error loading new keyboard description
zsh: 5047 exit 251   setxkbmap pl



Best regards

   -- Dago



More information about the maintainers mailing list