mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Updated files to support app switching on chromebooks with xfce
This commit is contained in:
@@ -292,6 +292,36 @@ default partial xkb_symbols "mac_levelssym" {
|
|||||||
// actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=<PRSC>,clearmods=Control) ]
|
// actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=<PRSC>,clearmods=Control) ]
|
||||||
// };
|
// };
|
||||||
};
|
};
|
||||||
|
partial xkb_symbols "mac_appcycle_chromebook" {
|
||||||
|
// Cycle App and In App Tab Switching
|
||||||
|
key <FK13> { [ F13 ] };
|
||||||
|
key <FK14> { [ F14 ] };
|
||||||
|
replace key <TAB> {
|
||||||
|
type[Group1]= "ONE_LEVEL_CMD",
|
||||||
|
symbols[Group1]= [
|
||||||
|
Tab,
|
||||||
|
Tab,
|
||||||
|
F14,
|
||||||
|
F13,
|
||||||
|
NoSymbol,
|
||||||
|
NoSymbol
|
||||||
|
],
|
||||||
|
actions[Group1]= [
|
||||||
|
// Alt
|
||||||
|
Redirect(key=<TAB>,mods=Control,clearmods=Mod1),
|
||||||
|
// Alt + Shift
|
||||||
|
Redirect(key=<TAB>,mods=Control,clearmods=Mod1),
|
||||||
|
// Control
|
||||||
|
Redirect(key=<FK14>),
|
||||||
|
// Control + Shift
|
||||||
|
Redirect(key=<FK13>),
|
||||||
|
// Super
|
||||||
|
NoAction(),
|
||||||
|
// Super + Shift
|
||||||
|
NoAction()
|
||||||
|
]
|
||||||
|
};
|
||||||
|
};
|
||||||
partial xkb_symbols "mac_appcycle" {
|
partial xkb_symbols "mac_appcycle" {
|
||||||
// Cycle App and In App Tab Switching
|
// Cycle App and In App Tab Switching
|
||||||
key <FK13> { [ F13 ] };
|
key <FK13> { [ F13 ] };
|
||||||
@@ -307,11 +337,17 @@ partial xkb_symbols "mac_appcycle" {
|
|||||||
NoSymbol
|
NoSymbol
|
||||||
],
|
],
|
||||||
actions[Group1]= [
|
actions[Group1]= [
|
||||||
|
// Alt
|
||||||
NoAction(),
|
NoAction(),
|
||||||
|
// Alt + Shift
|
||||||
NoAction(),
|
NoAction(),
|
||||||
|
// Control
|
||||||
Redirect(key=<FK14>),
|
Redirect(key=<FK14>),
|
||||||
|
// Control + Shift
|
||||||
Redirect(key=<FK13>),
|
Redirect(key=<FK13>),
|
||||||
|
// Super
|
||||||
Redirect(key=<TAB>,mods=Control,clearmods=Mod4+Super),
|
Redirect(key=<TAB>,mods=Control,clearmods=Mod4+Super),
|
||||||
|
// Super + Shift
|
||||||
Redirect(key=<TAB>,mods=Control,clearmods=Mod4+Super)
|
Redirect(key=<TAB>,mods=Control,clearmods=Mod4+Super)
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
@@ -45,40 +45,40 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 4,
|
"id": 4,
|
||||||
"name":"Chromebook",
|
"name":"Chromebook (xfce)",
|
||||||
"type":"chromebook",
|
"type":"chromebook",
|
||||||
"active": false,
|
"active": false,
|
||||||
"description":"Standard Chromebook Keyboards",
|
"description":"Standard Chromebook Keyboards",
|
||||||
"gui":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.gui $DISPLAY",
|
"gui":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.gui $DISPLAY",
|
||||||
"term":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.term $DISPLAY",
|
"term":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.term $DISPLAY",
|
||||||
"xkb_symbols_gui":"+chromebook(swap_lalt_lctrl)+mac_gui(mac_levelssym)+mac_gui(mac_appcycle)",
|
"xkb_symbols_gui":"+chromebook(swap_lalt_lctrl)+mac_gui(mac_levelssym)+mac_gui(mac_appcycle_chromebook)",
|
||||||
"xkb_symbols_term":"+altwin(swap_alt_win)+mac_term_chromebook(mac_levelssym)",
|
"xkb_symbols_term":"+altwin(swap_alt_win)+mac_term_chromebook(mac_levelssym)",
|
||||||
"xkb_types_gui":"+mac_gui(addmac_levels)",
|
"xkb_types_gui":"+mac_gui(addmac_levels)",
|
||||||
"xkb_types_term":"+mac_term(addmac_levels)"
|
"xkb_types_term":"+mac_term(addmac_levels)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 5,
|
"id": 5,
|
||||||
"name":"Chromebook - Windows",
|
"name":"Chromebook (xfce) - Windows",
|
||||||
"type":"chromebook",
|
"type":"chromebook",
|
||||||
"active": false,
|
"active": false,
|
||||||
"description":"Chromebook with Windows 104 Keyboard",
|
"description":"Chromebook with Windows 104 Keyboard",
|
||||||
"gui":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.gui $DISPLAY; setxkbmap -device $usbid -option altwin:ctrl_alt_win",
|
"gui":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.gui $DISPLAY; setxkbmap -device $usbid -option altwin:ctrl_alt_win",
|
||||||
"term":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.term $DISPLAY",
|
"term":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.term $DISPLAY",
|
||||||
"fallbackgui":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.gui $DISPLAY",
|
"fallbackgui":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.gui $DISPLAY",
|
||||||
"xkb_symbols_gui":"+chromebook(swap_lalt_lctrl)+mac_gui(mac_levelssym)+mac_gui(mac_appcycle)",
|
"xkb_symbols_gui":"+chromebook(swap_lalt_lctrl)+mac_gui(mac_levelssym)+mac_gui(mac_appcycle_chromebook)",
|
||||||
"xkb_symbols_term":"+altwin(swap_alt_win)+mac_term_chromebook(mac_levelssym)",
|
"xkb_symbols_term":"+altwin(swap_alt_win)+mac_term_chromebook(mac_levelssym)",
|
||||||
"xkb_types_gui":"+mac_gui(addmac_levels)",
|
"xkb_types_gui":"+mac_gui(addmac_levels)",
|
||||||
"xkb_types_term":"+mac_term(addmac_levels)"
|
"xkb_types_term":"+mac_term(addmac_levels)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 6,
|
"id": 6,
|
||||||
"name":"Chromebook - Mac",
|
"name":"Chromebook (xfce) - Mac",
|
||||||
"type":"chromebook",
|
"type":"chromebook",
|
||||||
"active": false,
|
"active": false,
|
||||||
"description":"Chromebook with Mac Keyboard",
|
"description":"Chromebook with Mac Keyboard",
|
||||||
"gui":"setxkbmap -option;setxkbmap -option ctrl:swap_lwin_lctl; xkbcomp -w0 -i $internalid -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.gui $DISPLAY",
|
"gui":"setxkbmap -option;setxkbmap -option ctrl:swap_lwin_lctl; xkbcomp -w0 -i $internalid -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.gui $DISPLAY",
|
||||||
"term":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.term $DISPLAY",
|
"term":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.mac.term $DISPLAY",
|
||||||
"xkb_symbols_gui":"+chromebook(swap_lalt_lctrl)+mac_gui(mac_levelssym)+mac_gui(mac_appcycle)",
|
"xkb_symbols_gui":"+chromebook(swap_lalt_lctrl)+mac_gui(mac_levelssym)+mac_gui(mac_appcycle_chromebook)",
|
||||||
"xkb_symbols_term":"+altwin(swap_alt_win)+mac_term_chromebook(mac_levelssym)",
|
"xkb_symbols_term":"+altwin(swap_alt_win)+mac_term_chromebook(mac_levelssym)",
|
||||||
"xkb_types_gui":"+mac_gui(addmac_levels)",
|
"xkb_types_gui":"+mac_gui(addmac_levels)",
|
||||||
"xkb_types_term":"+mac_term(addmac_levels)"
|
"xkb_types_term":"+mac_term(addmac_levels)"
|
||||||
|
Reference in New Issue
Block a user