From 6d998c3f8c7960338621bd5317522249ca234d70 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 15 Sep 2023 15:01:13 +0200 Subject: fix wayland on nvidia; fix keyboard layout on kde wayland --- xkb/symbols/fr-custom-lx | 577 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 577 insertions(+) create mode 100644 xkb/symbols/fr-custom-lx (limited to 'xkb/symbols/fr-custom-lx') diff --git a/xkb/symbols/fr-custom-lx b/xkb/symbols/fr-custom-lx new file mode 100644 index 0000000..77a1e9f --- /dev/null +++ b/xkb/symbols/fr-custom-lx @@ -0,0 +1,577 @@ +xkb_symbols "fr-custom-lx" { + + name[group1]="French (LX custom AZERTY)"; + + key { [ Escape ] }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ twosuperior, threesuperior, onesuperior, dead_cedilla ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ asciicircum, bracketleft, twosuperior, threesuperior ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ ampersand, 1, dead_caron, dead_ogonek ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ braceleft, 1, dead_caron, dead_ogonek ] + }; + + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ eacute, 2, asciitilde, Eacute ] + }; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ quotedbl, 3, numbersign, dead_breve ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ apostrophe, 4, braceleft, U2014 ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ apostrophe, 4, dead_acute, U2014 ] + }; + + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ parenleft, 5, bracketleft, U2013 ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ minus, 6, bar, U2011 ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ minus, 6, section, U2011 ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ egrave, 7, grave, Egrave ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ dead_grave, 7, grave, Egrave ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ underscore, 8, backslash, trademark ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ underscore, 8, onesuperior, U2014 ] + }; + + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ ccedilla, 9, asciicircum, Ccedilla ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ agrave, 0, at, Agrave ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ braceright, 0, at, Agrave ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ parenright, degree, bracketright, notequal ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ parenright, bracketright, bracketright, degree ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ equal, plus, braceright, plusminus ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ equal, plus, notequal, plusminus ] + }; + + key { [ BackSpace, BackSpace ] }; + key { [ Tab, ISO_Left_Tab ] }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ a, A, ae, AE ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ z, Z, acircumflex, Acircumflex ] + }; + key { + type= "FOUR_LEVEL_SEMIALPHABETIC", + symbols[Group1]= [ e, E, EuroSign, cent ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ r, R, ecircumflex, Ecircumflex ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ t, T, thorn, THORN ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ y, Y, ydiaeresis, Ydiaeresis ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ u, U, ucircumflex, Ucircumflex ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ i, I, icircumflex, Icircumflex ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ o, O, oe, OE ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ p, P, ocircumflex, Ocircumflex ] + }; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ dead_circumflex, dead_diaeresis, dead_tilde, dead_abovering ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ dollar, sterling, oslash, Oslash ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ dollar, at, oslash, Oslash ] + }; + + key { [ Return ] }; + key { [ Control_L ] }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ q, Q, adiaeresis, Adiaeresis ] + }; + key { + type= "FOUR_LEVEL_SEMIALPHABETIC", + symbols[Group1]= [ s, S, ssharp, doublelowquotemark ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ d, D, ediaeresis, Ediaeresis ] + }; + key { + type= "FOUR_LEVEL_SEMIALPHABETIC", + symbols[Group1]= [ f, F, leftsinglequotemark, singlelowquotemark ] + }; + key { + type= "FOUR_LEVEL_SEMIALPHABETIC", + symbols[Group1]= [ g, G, rightsinglequotemark, yen ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ h, H, eth, ETH ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ j, J, udiaeresis, Udiaeresis ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ k, K, idiaeresis, Idiaeresis ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ l, L, U0140, U013F ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ m, M, odiaeresis, Odiaeresis ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ ugrave, percent, dead_acute, Ugrave ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ backslash, percent, dead_acute, Ugrave ] + }; + + key { [ Shift_L ] }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ asterisk, mu, dead_grave, dead_macron ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ asterisk, bar, dead_grave, dead_macron ] + }; + + key { + type= "FOUR_LEVEL_SEMIALPHABETIC", + symbols[Group1]= [ w, W, guillemotleft, leftdoublequotemark ] + }; + key { + type= "FOUR_LEVEL_SEMIALPHABETIC", + symbols[Group1]= [ x, X, guillemotright, rightdoublequotemark ] + }; + key { + type= "FOUR_LEVEL_SEMIALPHABETIC", + symbols[Group1]= [ c, C, copyright, registered ] + }; + key { + type= "FOUR_LEVEL_SEMIALPHABETIC", + symbols[Group1]= [ v, V, U202F, leftarrow ] + }; + key { + type= "FOUR_LEVEL_SEMIALPHABETIC", + symbols[Group1]= [ b, B, downarrow, uparrow ] + }; + key { + type= "FOUR_LEVEL_SEMIALPHABETIC", + symbols[Group1]= [ n, N, notsign, rightarrow ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ comma, question, questiondown, U2026 ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ comma, question, dead_cedilla, questiondown ] + }; + + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ semicolon, period, multiply, U22C5 ] + }; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ colon, slash, division, U2215 ] + }; + + #key { + # type= "FOUR_LEVEL", + # symbols[Group1]= [ exclam, section, exclamdown, U2212 ] + #}; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ exclam, ampersand, exclamdown, U2212 ] + }; + + key { [ Shift_R ] }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ KP_Multiply, U22C5, 0x10000d7, VoidSymbol, XF86ClearGrab ] + }; + + key { [ Alt_L, Meta_L ] }; + #key { [ Super_L ] }; + + key { + type= "EIGHT_LEVEL", + symbols[Group1]= [ space, space, space, nobreakspace, space, U202F, NoSymbol, NoSymbol ] + }; + + #key { [ Caps_Lock ] }; + #key { [ Super_L ] }; + key { [ Escape ] }; + + key { + type= "CTRL+ALT", + symbols[Group1]= [ F1, F1, F1, F1, XF86Switch_VT_1 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F2, F2, F2, F2, XF86Switch_VT_2 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F3, F3, F3, F3, XF86Switch_VT_3 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F4, F4, F4, F4, XF86Switch_VT_4 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F5, F5, F5, F5, XF86Switch_VT_5 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F6, F6, F6, F6, XF86Switch_VT_6 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F7, F7, F7, F7, XF86Switch_VT_7 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F8, F8, F8, F8, XF86Switch_VT_8 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F9, F9, F9, F9, XF86Switch_VT_9 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F10, F10, F10, F10, XF86Switch_VT_10 ] + }; + key { [ Num_Lock ] }; + key { [ Scroll_Lock ] }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_Home, KP_7, U2196, U21D6 ] + }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_Up, KP_8, U2191, U21D1 ] + }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_Prior, KP_9, U2197, U21D7 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ KP_Subtract, U2212, U2212, VoidSymbol, XF86Prev_VMode ] + }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_Left, KP_4, U2190, U21D0 ] + }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_Begin, KP_5, U2194, U21D4 ] + }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_Right, KP_6, U2192, U21D2 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ KP_Add, 0x100002b, 0x100002b, VoidSymbol, XF86Next_VMode ] + }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_End, KP_1, U2199, U21D9 ] + }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_Down, KP_2, U2193, U21D3 ] + }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_Next, KP_3, U2198, U21D8 ] + }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_Insert, KP_0, U2195, U21D5 ] + }; + key { + type= "FOUR_LEVEL_MIXED_KEYPAD", + symbols[Group1]= [ KP_Delete, period, comma, U202F ] + }; + key { + type= "ONE_LEVEL", + symbols[Group1]= [ ISO_Level3_Shift ] + }; + key { + type= "FOUR_LEVEL", + symbols[Group1]= [ less, greater, lessthanequal, greaterthanequal ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F11, F11, F11, F11, XF86Switch_VT_11 ] + }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ F12, F12, F12, F12, XF86Switch_VT_12 ] + }; + key { [ Katakana ] }; + key { [ Hiragana ] }; + key { [ Henkan_Mode ] }; + key { [ Hiragana_Katakana ] }; + key { [ Muhenkan ] }; + key { [ KP_Enter ] }; + key { [ Control_R ] }; + key { + type= "CTRL+ALT", + symbols[Group1]= [ KP_Divide, U2215, 0x10000f7, VoidSymbol, XF86Ungrab ] + }; + key { + type= "PC_ALT_LEVEL2", + symbols[Group1]= [ Print, Sys_Req ] + }; + key { + type= "ONE_LEVEL", + symbols[Group1]= [ ISO_Level3_Shift ] + }; + key { [ Linefeed ] }; + key { [ Home ] }; + key { [ Up ] }; + key { [ Prior ] }; + key { [ Left ] }; + key { [ Right ] }; + key { [ End ] }; + key { [ Down ] }; + key { [ Next ] }; + key { [ Insert ] }; + key { [ Delete ] }; + key { [ XF86AudioMute ] }; + key { [ XF86AudioLowerVolume ] }; + key { [ XF86AudioRaiseVolume ] }; + key { [ XF86PowerOff ] }; + key { [ KP_Equal ] }; + key { [ plusminus ] }; + key { + type= "PC_CONTROL_LEVEL2", + symbols[Group1]= [ Pause, Break ] + }; + key { [ XF86LaunchA ] }; + key { [ KP_Decimal, KP_Decimal ] }; + key { [ Hangul ] }; + key { [ Hangul_Hanja ] }; + + key { [ Super_L ] }; + #key { [ Alt_L, Meta_L ] }; + + key { [ Super_R ] }; + key { [ Menu ] }; + key { [ Cancel ] }; + key { [ Redo ] }; + key { [ SunProps ] }; + key { [ Undo ] }; + key { [ SunFront ] }; + key { [ XF86Copy ] }; + key { [ XF86Open ] }; + key { [ XF86Paste ] }; + key { [ Find ] }; + key { [ XF86Cut ] }; + key { [ Help ] }; + key { [ XF86MenuKB ] }; + key { [ XF86Calculator ] }; + key { [ XF86Sleep ] }; + key { [ XF86WakeUp ] }; + key { [ XF86Explorer ] }; + key { [ XF86Send ] }; + key { [ XF86Xfer ] }; + key { [ XF86Launch1 ] }; + key { [ XF86Launch2 ] }; + key { [ XF86WWW ] }; + key { [ XF86DOS ] }; + key { [ XF86ScreenSaver ] }; + key { [ XF86RotateWindows ] }; + key { [ XF86TaskPane ] }; + key { [ XF86Mail ] }; + key { [ XF86Favorites ] }; + key { [ XF86MyComputer ] }; + key { [ XF86Back ] }; + key { [ XF86Forward ] }; + key { [ XF86Eject ] }; + key { [ XF86Eject, XF86Eject ] }; + key { [ XF86AudioNext ] }; + key { [ XF86AudioPlay, XF86AudioPause ] }; + key { [ XF86AudioPrev ] }; + key { [ XF86AudioStop, XF86Eject ] }; + key { [ XF86AudioRecord ] }; + key { [ XF86AudioRewind ] }; + key { [ XF86Phone ] }; + key { [ XF86Tools ] }; + key { [ XF86HomePage ] }; + key { [ XF86Reload ] }; + key { [ XF86Close ] }; + key { [ XF86ScrollUp ] }; + key { [ XF86ScrollDown ] }; + key { [ parenleft ] }; + key { [ parenright ] }; + key { [ XF86New ] }; + key { [ Redo ] }; + key { [ XF86Tools ] }; + key { [ XF86Launch5 ] }; + key { [ XF86Launch6 ] }; + key { [ XF86Launch7 ] }; + key { [ XF86Launch8 ] }; + key { [ XF86Launch9 ] }; + key { [ XF86AudioMicMute ] }; + key { [ XF86TouchpadToggle ] }; + key { [ XF86TouchpadOn ] }; + key { [ XF86TouchpadOff ] }; + key { [ Mode_switch ] }; + key { [ NoSymbol, Alt_L ] }; + key { [ NoSymbol, Meta_L ] }; + key { [ NoSymbol, Super_L ] }; + key { [ NoSymbol, Hyper_L ] }; + key { [ XF86AudioPlay ] }; + key { [ XF86AudioPause ] }; + key { [ XF86Launch3 ] }; + key { [ XF86Launch4 ] }; + key { [ XF86LaunchB ] }; + key { [ XF86Suspend ] }; + key { [ XF86Close ] }; + key { [ XF86AudioPlay ] }; + key { [ XF86AudioForward ] }; + key { [ Print ] }; + key { [ XF86WebCam ] }; + key { [ XF86AudioPreset ] }; + key { [ XF86Mail ] }; + key { [ XF86Messenger ] }; + key { [ XF86Search ] }; + key { [ XF86Go ] }; + key { [ XF86Finance ] }; + key { [ XF86Game ] }; + key { [ XF86Shop ] }; + key { [ Cancel ] }; + key { [ XF86MonBrightnessDown ] }; + key { [ XF86MonBrightnessUp ] }; + key { [ XF86AudioMedia ] }; + key { [ XF86Display ] }; + key { [ XF86KbdLightOnOff ] }; + key { [ XF86KbdBrightnessDown ] }; + key { [ XF86KbdBrightnessUp ] }; + key { [ XF86Send ] }; + key { [ XF86Reply ] }; + key { [ XF86MailForward ] }; + key { [ XF86Save ] }; + key { [ XF86Documents ] }; + key { [ XF86Battery ] }; + key { [ XF86Bluetooth ] }; + key { [ XF86WLAN ] }; + key { [ XF86MonBrightnessCycle ] }; + key { [ XF86WWAN ] }; + key { [ XF86RFKill ] }; + modifier_map Control { }; + modifier_map Shift { }; + modifier_map Shift { }; + modifier_map Mod1 { }; + #modifier_map Mod1 { }; + + ## COMMENT THIS TO DEACTIVATE + #modifier_map Lock { }; + + modifier_map Mod2 { }; + modifier_map Mod5 { }; + modifier_map Control { }; + modifier_map Mod4 { }; + #modifier_map Mod4 { }; + modifier_map Mod4 { }; + modifier_map Mod5 { }; + modifier_map Mod1 { }; + modifier_map Mod4 { }; + modifier_map Mod4 { }; +}; -- cgit v1.2.3