Converting loadkeys to xmodmap
I've modified my Dvorak key layout to give myself some optimisations/Britishisms, and loaded it with loadkeys. It works fine in a console, but of course X just ignores it in favour of the plain layout specified with xmodmap.
Assuming that there's no way to get X using my loadkeys translation tables (I did try 'keycode [8..255] = ', and was subsequently very grateful for KDE's layout switcher), is there an easy way to convert them to the xmodmap format? The two are very similar, so I wouldn't have thought there'd be many problems - but X keycodes differ from the regular ones by a varying offset, so you'd need to translate those as well. I could always just use xev and do a manual conversion, but I'd quite like to know if there's a quicker/less tedious way beforehand.
Any thoughts?
|