« Utilisateur:Olympi » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 18 : | Ligne 18 : | ||
</center> | </center> | ||
La touche Caps-Lock devient la touche Mode-Édition. Elle devrait s'utiliser comme Maj ou Alt-Gr c'est à dire sans lock, il faudrait donc laisser la touche enfoncer pour rester en mode-édition. | La touche Caps-Lock devient la touche Mode-Édition. Elle devrait s'utiliser comme Maj ou Alt-Gr c'est à dire sans lock, il faudrait donc laisser la touche enfoncer pour rester en mode-édition. | ||
Installation : taper xkbcomp -w v0.6.7_overlay_oly.xkb :0 dans un terminal. | |||
Le fichier v0.6.7_overlay_oly.xkb a partir de celui de [[Utilisateur:Nbrodu|Nbrodu]], il est en commentaire dans le l'onglet « modifier » | |||
<!-- | |||
xkb_keymap { | |||
xkb_keycodes { include "xfree86+aliases(azerty)" }; | |||
xkb_types { | |||
include "complete" | |||
type "ALTGR_TWO" { | |||
modifiers = LevelThree; | |||
map[None] = Level1; | |||
map[LevelThree] = Level2; | |||
level_name[Level1] = "Base"; | |||
level_name[Level2] = "AltGr"; | |||
}; | |||
}; | |||
xkb_compatibility { | |||
include "complete" | |||
indicator "Scroll Lock" { controls = Overlay1; allowExplicit = True; drivesKeyboard = True; }; | |||
interpret F31 { | |||
action = Redirect(Key=<I71>, modifiers=Control); | |||
}; | |||
interpret F32 { | |||
action = Redirect(Key=<I72>, modifiers=Control); | |||
}; | |||
interpret F33 { | |||
action = Redirect(Key=<I73>, modifiers=Control); | |||
}; | |||
interpret F34 { | |||
action = Redirect(Key=<I74>, modifiers=Control); | |||
}; | |||
interpret F35 { | |||
action = Redirect(Key=<I75>, modifiers=Control); | |||
}; | |||
//interpret F36 { | |||
// action = Redirect(Key=<I76>, modifiers=Control); | |||
//}; | |||
//interpret F37 { | |||
// action = Redirect(Key=<I77>, modifiers=Control); | |||
//}; | |||
}; | |||
partial alphanumeric_keys | |||
xkb_symbols "dvorak" { | |||
name[Group1]= "France - Bepo, ergonomic, Dvorak way (v0.6.6)"; | |||
include "pc(pc105)" | |||
key <TLDE> { | |||
type[group1] = "FOUR_LEVEL" , [ dollar , numbersign , endash , section ], | |||
overlay1 = <I70> | |||
}; // $ # – § | |||
key <AE01> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ quotedbl , 1 , emdash , doublelowquotemark ], | |||
overlay1 = <I70> | |||
}; // " 1 — „ | |||
key <AE02> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ guillemotleft , 2 , less , leftdoublequotemark ], | |||
overlay1 = <I70> | |||
}; // « 2 < “ | |||
key <AE03> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ guillemotright , 3 , greater , rightdoublequotemark ], | |||
overlay1 = <PGUP> | |||
}; // » 3 > ” | |||
key <AE04> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ parenleft , 4 , bracketleft , lessthanequal ], | |||
overlay1 = <PGDN> | |||
}; // ( 4 [ | |||
key <AE05> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ parenright , 5 , bracketright , greaterthanequal ], | |||
overlay1 = <I70> | |||
}; // ) 5 ] | |||
key <AE06> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ at , 6 , notsign , VoidSymbol ], | |||
overlay1 = <I70> | |||
}; // @ 6 ¬ | |||
key <AE07> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ plus , 7 , plusminus , degree ], | |||
overlay1 = <I70> | |||
}; // + 7 ± ° | |||
key <AE08> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ minus , 8 , U2212 , minutes ], | |||
overlay1 = <PGUP> | |||
}; // - 8 − ′ | |||
key <AE09> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ slash , 9 , division , seconds ], | |||
overlay1 = <PGDN> | |||
}; // / 9 ÷ ″ | |||
key <AE10> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ asterisk , 0 , multiply , VoidSymbol ], | |||
overlay1 = <I70> | |||
}; // * 0 × | |||
key <AE11> { | |||
type[group1] = "THREE_LEVEL" , [ equal , asciicircum , notequal ], | |||
overlay1 = <I70> | |||
}; // = ^ ≠ | |||
key <AE12> { | |||
type[group1] = "THREE_LEVEL" , [ percent , grave , U2030 ], | |||
overlay1 = <I70> | |||
}; // % ` ‰ | |||
key <AD01> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ b , B , bar , brokenbar ], | |||
overlay1 = <I7E> | |||
}; // b B | ¦ | |||
key <AD02> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ eacute , Eacute , dead_acute , dead_doubleacute ], | |||
overlay1 = <I7D> | |||
}; // é É ´ ˝ | |||
key <AD03> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ p , P , ampersand , paragraph ], | |||
overlay1 = <I7E> | |||
}; // p P & ¶ | |||
key <AD04> { | |||
type[group1] = "FOUR_LEVEL_ALPHABETIC" , [ o , O , oe , OE ], | |||
overlay1 = <END> | |||
}; // o O œ Œ | |||
key <AD05> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ egrave , Egrave , dead_grave , grave ], | |||
overlay1 = <BKSP> | |||
}; // è È ` ` | |||
key <AD06> { | |||
type[group1] = "FOUR_LEVEL" , [ dead_circumflex, exclam , dead_caron , exclamdown ], | |||
overlay1 = <BKSP> | |||
}; // ^ ! ˇ ¡ | |||
key <AD07> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ v , V ], | |||
overlay1 = <HOME> | |||
}; // v V | |||
key <AD08> { | |||
type[group1] = "FOUR_LEVEL_ALPHABETIC" , [ d , D , eth , ETH ], | |||
overlay1 = <UP> | |||
}; // d D ð Ð | |||
key <AD09> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ l , L , UFDD0 , VoidSymbol ], | |||
overlay1 = <END> | |||
}; // l L / | |||
key <AD10> { | |||
type[group1] = "FOUR_LEVEL_ALPHABETIC" , [ j , J , U0133 , U0132 ], | |||
overlay1 = <I7E> | |||
}; // j J ij IJ | |||
key <AD11> { | |||
type[group1] = "FOUR_LEVEL_ALPHABETIC" , [ z , Z , schwa , SCHWA ], | |||
overlay1 = <I70> | |||
}; // z Z ə Ə | |||
key <AD12> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ w , W , dead_breve , VoidSymbol ], | |||
overlay1 = <I70> | |||
}; // w W ˘ | |||
key <AC01> { | |||
type[group1] = "FOUR_LEVEL_ALPHABETIC" , [ a , A , ae , AE ], | |||
overlay1 = <LFSH> | |||
}; // a A æ Æ | |||
key <AC02> { | |||
type[group1] = "FOUR_LEVEL_ALPHABETIC" , [ u , U , ugrave , Ugrave ], | |||
overlay1 = <I7A> | |||
}; // u U ù Ù | |||
key <AC03> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ i , I , dead_diaeresis , dead_abovedot ], | |||
overlay1 = <I7B> | |||
}; // i I ¨ ˙ | |||
key <AC04> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ e , E , EuroSign , UFDD1 ], | |||
overlay1 = <I7C> | |||
}; // e E € ¤ | |||
key <AC05> { | |||
type[group1] = "THREE_LEVEL" , [ comma , semicolon ], | |||
overlay1 = <RTRN> | |||
}; // , ; ’ | |||
key <AC06> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ c , C , copyright , U017F ], | |||
overlay1 = <RTRN> | |||
}; // c C © ſ | |||
key <AC07> { | |||
type[group1] = "FOUR_LEVEL_ALPHABETIC" , [ t , T , thorn , THORN ], | |||
overlay1 = <LEFT> | |||
}; // t T þ Þ | |||
key <AC08> { | |||
type[group1] = "FOUR_LEVEL_ALPHABETIC", [ s , S , ssharp , U1E9E ], | |||
overlay1 = <DOWN> | |||
}; // s S ß ẞ | |||
key <AC09> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ r , R , registered , trademark ], | |||
overlay1 = <RGHT> | |||
}; // r R ® ™ | |||
key <AC10> { | |||
type[group1] = "FOUR_LEVEL_ALPHABETIC" , [ n , N , ntilde , Ntilde ], | |||
overlay1 = <RTSH> | |||
}; // n N ñ Ñ | |||
key <AC11> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ m , M , dead_macron , masculine ], | |||
overlay1 = <I70> | |||
}; // m M ¯ º | |||
key <BKSL> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ ccedilla , Ccedilla , dead_cedilla , UFDD3 ], | |||
overlay1 = <I70> | |||
}; // ç Ç ¸ , | |||
key <LSGT> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ ecircumflex , Ecircumflex , slash , VoidSymbol ], | |||
overlay1 = <I7D> | |||
}; // ê Ê / | |||
key <AB01> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ agrave , Agrave , backslash , VoidSymbol ], | |||
overlay1 = <I7F> | |||
}; // à À \ | |||
key <AB02> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ y , Y , braceleft , leftsinglequotemark ], | |||
overlay1 = <I7A> | |||
}; // y Y { ‘ | |||
key <AB03> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ x , X , braceright , rightsinglequotemark ], | |||
overlay1 = <I7B> | |||
}; // x X } ’ | |||
key <AB04> { | |||
type[group1] = "FOUR_LEVEL" , [ period , colon , ellipsis , periodcentered ], | |||
//overlay1 = <I69> | |||
overlay1 = <I70> | |||
}; // . : … · | |||
key <AB05> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ k , K , asciitilde , dead_tilde ], | |||
//overlay1 = <I76> | |||
overlay1 = <I70> | |||
}; // k K ~ ~ | |||
key <AB06> { | |||
type[group1] = "FOUR_LEVEL" , [ apostrophe , question , U02BC , questiondown ], | |||
overlay1 = <I7C> | |||
}; // ' ? ¿ | |||
key <AB07> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ q , Q , dead_abovering , VoidSymbol ], | |||
overlay1 = <I7B> | |||
}; // q Q ˚ | |||
key <AB08> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ g , G , UFDD2 , VoidSymbol ], | |||
overlay1 = <I7A> | |||
}; // g G µ | |||
key <AB09> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ h , H , dagger , doubledagger ], | |||
overlay1 = <DELE> | |||
}; // h H † ‡ | |||
key <AB10> { | |||
type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ f , F , dead_ogonek , ordfeminine ], | |||
overlay1 = <I7D> | |||
}; // f F ˛ ª | |||
key <SPCE> { | |||
type[group1] = "FOUR_LEVEL" , [ space , nobreakspace, underscore , U202F ], | |||
overlay1 = <RCTL> | |||
}; // _ | |||
// Unused keys mapped to ctrl+letter actions | |||
key <I70> { [ VoidSymbol ] }; | |||
key <I71> { [ x ] }; | |||
key <I72> { [ c ] }; | |||
key <I73> { [ v ] }; | |||
key <I74> { [ z ] }; | |||
key <I75> { [ y ] }; | |||
//key <I76> { [ s ] }; | |||
//key <I77> { [ f ] }; | |||
// For some reason there are SOMETIMES (not always!) errors with this code: | |||
// key <I7A> { actions[group1] = [ Redirect(keycode=<I71>, modifiers=Control) ] }; // ctrl-x | |||
// key <I7B> { actions[group1] = [ Redirect(keycode=<I72>, modifiers=Control) ] }; // ctrl-c | |||
// key <I7C> { actions[group1] = [ Redirect(keycode=<I73>, modifiers=Control) ] }; // ctrl-v | |||
// key <I7D> { actions[group1] = [ Redirect(keycode=<I74>, modifiers=Control) ] }; // ctrl-z | |||
// key <I7E> { actions[group1] = [ Redirect(keycode=<I75>, modifiers=Control) ] }; // ctrl-y | |||
// However passing the action in the « interpret » section for an unsused symbol seems to work | |||
key <I7A> { [ F31 ] }; // ctrl-x | |||
key <I7B> { [ F32 ] }; // ctrl-c | |||
key <I7C> { [ F33 ] }; // ctrl-v | |||
key <I7D> { [ F34 ] }; // ctrl-z | |||
key <I7E> { [ F35 ] }; // ctrl-y | |||
//key <I7F> { [ F36 ] }; // ctrl-s | |||
//key <I69> { [ F37 ] }; // ctrl-f | |||
// La modification actuelle: transforme CAPS en lock de couche alternative « déplacement/édition », et garde le caps-lock habituel en AltGr | |||
// remplacer « SetControls » par « LockControls » pour que le mode se bloque (comme le caps lock) | |||
key <CAPS> { type = "ALTGR_TWO", actions = [ SetControls(controls=Overlay1) ] }; | |||
// Pour échanger Shift et Caps_Lock | |||
// key <CAPS> { [ Shift_L ] }; | |||
// key <LFSH> { [ Caps_Lock ] }; | |||
// Pour transformer CAPS en un AltGr gauche, en gardant le lock habituel en AltGr | |||
// key <CAPS> { type = "ALTGR_TWO", [ ISO_Level3_Shift, Caps_Lock ], actions = [ SetMods(modifiers=LevelThree), LockMods(modifiers=Lock) ] }; | |||
// Pour transformer LWIN en un AltGr gauche | |||
// key <LWIN> { [ ISO_Level3_Shift ], actions = [ SetMods(modifiers=LevelThree) ] }; | |||
// Pour mettre un Compose sur RWIN | |||
key <RWIN> { [ Multi_key, Multi_key, Multi_key, Multi_key ] }; | |||
// Échange CTRL et Alt Gauches. Et puisque LWIN est réaffectée, garde un modificateur META en niveau 3 et 4 (AltGr) | |||
// Note: Activer cette option fonctionne mieux lorsque que l'on échange aussi les raccourcis du style Alt+Tab… | |||
// key <LALT> { [ Control_L ], actions = [ SetMods(modifiers=Control) ] }; | |||
// key <LCTL> { type[group1] = "FOUR_LEVEL", [ Alt_L, Alt_L, Meta_L, Meta_L ], actions = [ SetMods(modifiers=Mod1), SetMods(modifiers=Mod1), SetMods(modifiers=Mod4), SetMods(modifiers=Mod4) ] }; | |||
include "level3(ralt_switch)" | |||
}; | |||
xkb_geometry { include "pc(pc105)" }; | |||
}; | |||
--> |
Version du 8 août 2008 à 12:19
┌────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────╔═════════╗ │ │ │ │ │ │ ║ │ │ │ │ │ │ ║ ║ │ │ 1 │ 2 │ 3 │ 4 │ 5 ║ 6 │ 7 │ 8 │ 9 │ 0 │ │ ║ <-- ║ ╔════╧══╗─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─╚══╦══════╣ ║ |<- ║ │Ctrl│Ctrl│ │ ║ │Supp│ │ <−|│ │ │ ║ | ║ ║ ->| ║ │ z │ y │ │ ║ │ │ ↑ │ │ │ │ ║ <-' ║ ╠═══════╩╗───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───╚╗ ║ ║ MODE ║ │Ctrl│Ctrl│Ctrl│ ║ │ │ │ │|−> │ │ ║ ║ ║ EDITION║ Maj│ x │ c │ v │ ║ <--│ ← │ ↓ │ → │ │ │ ║ ║ ╠══════╦═╝──┬─┴──┬─┴──┬─┴─══─┴──┬─┴──┬─┴─══─┴──┬─┴──┬─┴──┬─┴──╔═╧════╩═════╣ ║ ║ │Ctrl│ │ │Ctrl│ ║ |│In- │ | │ ^ │ ║ ║ ║ Maj ║ │ s │ │ │ f │ ║ <-'│sert│ V │ | │ ║ Maj ║ ╠══════╩╦═══╧══╦═╧═══╦╧════╧════╧════╧════╧════╧═╦══╧══╦═╧════╬═════╦══════╣ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ Ctrl ║ WinG ║ Alt ║ Espace ║AltGr║ WinD ║WinM ║ Ctrl ║ ╚═══════╩══════╩═════╩═══════════════════════════╩═════╩══════╩═════╩══════╝
La touche Caps-Lock devient la touche Mode-Édition. Elle devrait s'utiliser comme Maj ou Alt-Gr c'est à dire sans lock, il faudrait donc laisser la touche enfoncer pour rester en mode-édition.
Installation : taper xkbcomp -w v0.6.7_overlay_oly.xkb :0 dans un terminal.
Le fichier v0.6.7_overlay_oly.xkb a partir de celui de Nbrodu, il est en commentaire dans le l'onglet « modifier »