mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Fixed issue related to the F key trigger Control like behavior when shift is held on terminal. Also updated keymap profiles to be set properly on all installs - chromebook update broke it.
This commit is contained in:
@@ -41,21 +41,30 @@ partial xkb_symbols "mac_global" {
|
|||||||
// RedirectKey(key=<AC06>,modifiers=Super,clearmods=Control+Shift)
|
// RedirectKey(key=<AC06>,modifiers=Super,clearmods=Control+Shift)
|
||||||
// ]
|
// ]
|
||||||
// };
|
// };
|
||||||
// Maximize Window Ctrl + Cmd + F = Alt+F10
|
|
||||||
replace key <AC04> {
|
//
|
||||||
type[Group1]= "ONE_LEVEL_CTRL",
|
// Some sort of glitch occurs on shifting F while this segment is active
|
||||||
symbols[Group1]= [
|
// it is like the Control key is being held down when it isn't.
|
||||||
f,
|
//
|
||||||
F,
|
// // Maximize Window Ctrl + Cmd + F = Alt+F10
|
||||||
F
|
// replace key <AC04> {
|
||||||
],
|
// type[Group1]= "ONE_LEVEL_CTRL",
|
||||||
actions[Group1]= [
|
// symbols[Group1]= [
|
||||||
NoAction(),
|
// f,
|
||||||
NoAction(),
|
// F,
|
||||||
RedirectKey(key=<FK10>,modifiers=Mod1,clearmods=Control+Shift)
|
// F
|
||||||
]
|
// ],
|
||||||
};
|
// actions[Group1]= [
|
||||||
// Close App Cmd + Q/W = Alt + F4
|
// // Base
|
||||||
|
// NoAction(),
|
||||||
|
// // Shift
|
||||||
|
// NoAction(),
|
||||||
|
// // Ctrl + Shift
|
||||||
|
// RedirectKey(key=<FK10>,modifiers=Mod1,clearmods=Control+Shift)
|
||||||
|
// ]
|
||||||
|
// };
|
||||||
|
|
||||||
|
// Close App Cmd + Q = Alt + F4
|
||||||
replace key <AD01> {
|
replace key <AD01> {
|
||||||
type[Group1]= "ONE_LEVEL_CTRL",
|
type[Group1]= "ONE_LEVEL_CTRL",
|
||||||
symbols[Group1]= [
|
symbols[Group1]= [
|
||||||
@@ -69,19 +78,7 @@ partial xkb_symbols "mac_global" {
|
|||||||
RedirectKey(key=<FK04>,modifiers=Mod1,clearmods=Control+Shift)
|
RedirectKey(key=<FK04>,modifiers=Mod1,clearmods=Control+Shift)
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
replace key <AD02> {
|
|
||||||
type[Group1]= "ONE_LEVEL_CTRL",
|
|
||||||
symbols[Group1]= [
|
|
||||||
w,
|
|
||||||
W,
|
|
||||||
F4
|
|
||||||
],
|
|
||||||
actions[Group1]= [
|
|
||||||
NoAction(),
|
|
||||||
NoAction(),
|
|
||||||
RedirectKey(key=<FK04>,modifiers=Mod1,clearmods=Control+Shift)
|
|
||||||
]
|
|
||||||
};
|
|
||||||
// Show Desktop Cmd + F3 = Super + D
|
// Show Desktop Cmd + F3 = Super + D
|
||||||
replace key <FK03> {
|
replace key <FK03> {
|
||||||
type[Group1]= "ONE_LEVEL_CTRL",
|
type[Group1]= "ONE_LEVEL_CTRL",
|
||||||
|
4
setup.py
4
setup.py
@@ -268,8 +268,8 @@ cmdline('sed -i '' -e "' + types_line + 's/\\"/' + keyboardconfigs[defaultkb-1][
|
|||||||
|
|
||||||
# Set chrome file accordingly for chromebooks or normal
|
# Set chrome file accordingly for chromebooks or normal
|
||||||
if default != 3:
|
if default != 3:
|
||||||
cmdline('sed -i '' -e "' + symbols_line + 's/\\"/' + keyboardconfigs[defaultkb-1]['xkb_symbols_gui'].replace("+mac_gui(mac_levelssym)+mac_gui(mac_appcycle_chromebook)","+mac_gui(mac_levelssym)+mac_gui(mac_browsers)") + '\\"/2" ~/.xkb/keymap/kbd.mac.gui.browsers')
|
cmdline('sed -i '' -e "' + symbols_line + 's/\\"/' + keyboardconfigs[defaultkb-1]['xkb_symbols_gui'].replace("+mac_gui(mac_levelssym)+mac_gui(mac_appcycle)","+mac_gui(mac_levelssym)+mac_gui(mac_browsers)") + '\\"/2" ~/.xkb/keymap/kbd.mac.gui.browsers')
|
||||||
cmdline('sed -i '' -e "' + symbols_line + 's/\\"/' + keyboardconfigs[defaultkb-1]['xkb_symbols_gui'].replace("+mac_gui(mac_levelssym)+mac_gui(mac_appcycle_chromebook","+mac_gui(mac_browsers)+mac_gui(mac_chrome)") + '\\"/2" ~/.xkb/keymap/kbd.mac.gui.chrome')
|
cmdline('sed -i '' -e "' + symbols_line + 's/\\"/' + keyboardconfigs[defaultkb-1]['xkb_symbols_gui'].replace("+mac_gui(mac_levelssym)+mac_gui(mac_appcycle)","+mac_gui(mac_browsers)+mac_gui(mac_chrome)") + '\\"/2" ~/.xkb/keymap/kbd.mac.gui.chrome')
|
||||||
else:
|
else:
|
||||||
# Fix multicursor in mac_gui
|
# Fix multicursor in mac_gui
|
||||||
cmdline('sed -i "s/\/\/ RedirectKey(key=<UP>), \/\/ C/RedirectKey(key=<UP>), \/\/ C/g" ~/.xkb/symbols/mac_gui')
|
cmdline('sed -i "s/\/\/ RedirectKey(key=<UP>), \/\/ C/RedirectKey(key=<UP>), \/\/ C/g" ~/.xkb/symbols/mac_gui')
|
||||||
|
Reference in New Issue
Block a user