[xmodmap] Problem with e and n
Dirk Wallenstein
halsmit at t-online.de
Tue Nov 17 02:39:59 PST 2009
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
More information about the xorg
mailing list