#27976: Awesome window manager decodes key presses incorrectly. --------------------------------+------------------------------------------- Reporter: sipefree@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: awesome --------------------------------+------------------------------------------- Comment(by cubranic@…): I figured out the cause of the problem: it's simply that the keycodes expected in the default config file do not match those on the Mac keyboard. Specifically, the Mod+[1..9] keybindings are defined using keycodes "i+9", while on my Mac (with a mini wireless keyboard) they are totally different, and more importantly, not in order. The fix is to instead of keycodes use the keysym, i.e., "1" instead of "#10", etc. (The drawback is that this will probably also bind the numeric keypad, but I don't have it and so can't test.) I'm attaching the diff against the default config. -- Ticket URL: <https://trac.macports.org/ticket/27976#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS