[xmodmap] Problem with e and n

walter harms wharms at bfs.de
Tue Nov 17 08:41:27 PST 2009



Dirk Wallenstein schrieb:
> On Tuesday 17 November 2009 09:56:35 walter harms wrote:
>> xkbcomp -xkm ${DISPLAY} -o keymap.xkm
>> Warning:          Could not load keyboard geometry for :0.0
>>                   BadAlloc (insufficient resources for operation)
>>                   Resulting keymap file will not describe geometry
>>
>>
>> xkbprint  keymap.xkm >keymap.ps
>> Error:            Couldn't read geometry from XKM file "keymap.xkm"
>>                   Exiting
> 
> 
> The keymap you get from the $DISPLAY does not contain the geometry, you must
> obtain it per setxkbmap/xkbcomp
> For example:
>         setxkbmap -model pc104 -print | xkbcomp -xkm -o keymap.xkm -
> Note the '-' at the end.
> Feeding keymap.xkm to xkbprint should now work.
> 
> By omitting '-model xxx' you get the geometry for the current keymap
> 
> 

yeees, this works for me. thx a lot.

perhaps you can spend some time to upgrade the kbd tools so so work as expected and give
useful error msg (if any).

re,
 wh




More information about the xorg mailing list