Since I almost never used a PC before, I am a bit lost with the default keyboard layout. There is this annoying Windows key, the Alt key on the left is not the same as the right one, there is a Menu key, the Control key is very far on the right side. All in all, it’s not very well optimised, at least for programers.
Furthermore, I also recently learned touch-typing with a Bépo layout, so I don’t need to see the keyboard anymore, it’s all in my head.
So instead of the default layout, I reconfigured some modifiers keys like on the picture.
Here is the configuration I used in /usr/share/X11/xkb/symbols/altwin
partial modifier_keys
xkb_symbols "ctrl_alt_win" {
key <LALT> { [ Control_L, Control_L ] };
key <RALT> { [ Control_R, Control_R ] };
key <LCTL> { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ Super_L ] };
key <MENU> { [ Alt_L, Meta_L ] };
key <LWIN> { type[Group1]="ONE_LEVEL", symbols[Group1] = [ ISO_Level3_Shift ] };
key <RCTL> { type[Group1]="ONE_LEVEL", symbols[Group1] = [ ISO_Level3_Shift ] };
modifier_map Control { <LALT>, <RALT> };
modifier_map Mod1 { <MENU> };
modifier_map Mod5 { ISO_Level3_Shift };
};
It can probably be improved but it works.

