Unfortunately both xkm files are useless - they contain single us group ("xkbcomp foobar.xkm -xkb out.xkb").
Regarding the keymap file, in libxklavier:
if (xkl_debug_level < 500) { /* don't remove on high debug levels! */ if (remove(xkm_fn)
So I was wrong - the file stays with debug level > 500.
But it really looks like a bug in Xorg server - it is against any rules, to switch the groups. out_gnome.xkb IMNSHO clearly indicates that.
Unfortunately both xkm files are useless - they contain single us group ("xkbcomp foobar.xkm -xkb out.xkb").
Regarding the keymap file, in libxklavier:
So I was wrong - the file stays with debug level > 500.
But it really looks like a bug in Xorg server - it is against any rules, to switch the groups. out_gnome.xkb IMNSHO clearly indicates that.