hidden partial modifier_keys xkb_symbols "swapescape" { key { [ Escape ] }; key { [ Caps_Lock ] }; }; default partial xkb_symbols "mac_levelssym" { // LEFT to Begin Line or Beginning of word replace key { type[Group1]= "ONE_LEVEL_CTRL", symbols[Group1]= [ Left, Left, NoSymbol,NoSymbol,Left ], actions[Group1]= [ NoAction(), RedirectKey(key=,modifiers=Control,clearmods=Mod1), RedirectKey(key=,clearmods=Control), RedirectKey(key=,modifiers=Shift,clearmods=Control+Mod1), RedirectKey(key=,modifiers=Shift+Control,clearmods=Mod1) ] }; // Right to End of Line or end of word replace key { type[Group1]= "ONE_LEVEL_CTRL", symbols[Group1]= [ Right, Right, NoSymbol, NoSymbol,Right ], actions[Group1]= [ NoAction(), RedirectKey(key=,modifiers=Control,clearmods=Mod1), RedirectKey(key=,clearmods=Control), RedirectKey(key=,modifiers=Shift,clearmods=Control+Mod1), RedirectKey(key=,modifiers=Shift+Control,clearmods=Mod1) ] }; // Up to Mac Home replace key { type[Group1]= "ONE_LEVEL_CTRL", symbols[Group1]= [ Up, Up, NoSymbol ], actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=) ] }; // Down to Mac End replace key { type[Group1]= "ONE_LEVEL_CTRL", symbols[Group1]= [ Down, Down, NoSymbol ], actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=) ] }; // Alt BKSP to DELETE replace key { type[Group1]= "ONE_LEVEL_CTRL", symbols[Group1]= [ BackSpace, BackSpace, NoSymbol ], actions[Group1]= [ NoAction(), RedirectKey(key=,clearmods=Mod1), NoAction() ] }; // // Full Print Screen // // GalliumOS // replace key { // type[Group1]= "ONE_LEVEL_CTRL", // symbols[Group1]= [ 3, 3, 3, F5 ], // actions[Group1]= [ NoAction(), NoAction(), NoAction(), RedirectKey(key=,clearmods=Shift) ] // }; // // Region Print Screen // // GalliumOS // replace key { // type[Group1]= "ONE_LEVEL_CTRL", // symbols[Group1]= [ 4, 4, 4, F5 ], // actions[Group1]= [ NoAction(), NoAction(), NoAction(), RedirectKey(key=) ] // }; // // Full Print Screen // // Standard Ubuntu // replace key { // type[Group1]= "ONE_LEVEL_CTRL", // symbols[Group1]= [ 3, 3, 3, F5 ], // actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=,clearmods=Shift+Control) ] // }; // // Region Print Screen // // Standard Ubuntu // replace key { // type[Group1]= "ONE_LEVEL_CTRL", // symbols[Group1]= [ 4, 4, 4, F5 ], // actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=,clearmods=Control) ] // }; }; partial xkb_symbols "mac_chrome" { // Back Button replace key { type[Group1]= "ONE_LEVEL_CTRL", symbols[Group1]= [ Left, Left, Left ], actions[Group1]= [ NoAction(), RedirectKey(key=), RedirectKey(key=,modifiers=Mod1,clearmods=Control) ] }; // Forwards Button replace key { type[Group1]= "ONE_LEVEL_CTRL", symbols[Group1]= [ Right, Right, Right ], actions[Group1]= [ NoAction(), RedirectKey(key=), RedirectKey(key=,modifiers=Mod1,clearmods=Control) ] }; };