Hi !
For all Starcraft - Broodwar players that have problems with keyboard, with group of units selection not working, like being forced to press Alt to select units, here's the workaround.
First, create a dump of your current keyboard layout:
xkbcomp $DISPLAY current-layout.dump
And another one you will modify:
xkbcomp $DISPLAY craft-layout.dump
Now edit the craft layout, around lines 1100, where you see:
Code:
key <AE01> {
type= "FOUR_LEVEL",
symbols[Group1]= [ 1, ampersand, onesuperior, exclamdown ]
};
key <AE02> {
type= "FOUR_LEVEL",
symbols[Group1]= [ 2, eacute, asciitilde, oneeighth ]
};
Then you just have to swap number and characters from 1 to 0, e.g.:
Code:
key <AE01> {
type= "FOUR_LEVEL",
symbols[Group1]= [ ampersand, 1, onesuperior, exclamdown ]
};
key <AE02> {
type= "FOUR_LEVEL",
symbols[Group1]= [ eacute, 2, asciitilde, oneeighth ]
};
etc..
Now, before launching Starcraft:
Code:
xkbcomp craft-layout.dump $DISPLAY
And after, to get back to the normal layout:
Code:
xkbcomp normal-layout.dump $DISPLAY
On my french azerty keyboard, 5 doesn't work, so i swapped 5 and 0, so all keys from 1-9 are working perfectly, i can create and select groups without having to use Alt.