Clavier BÉPO presque complet sur un appareil SailfishOS

Création: 2019.02.22 • présentation du bépo • claviers: minimal · optimal · maximal

Aperçu de la disposition. Les chiffres et symboles, accessibles par la touche ?123, sont à droite.

# 1 2 3 4 5 6 7 8 9 0 °          ¶ „ “ ” ≤ ≥ □ ¬ ¼ ½ ¾ ′
B É P O È ! V D L J Z W          ¦ □ § Œ ` □ □ Ð Ł IJ Ə ‰
A U I E ; C T S R N M Ç          Æ Ù □ ¤ □ ſ Þ ẞ ™ Ñ º □
Ê À Y X : K Q G H F  <x          □ □ ‘ ’ · □ □ Ĝ ‡ ª  <x
Sft ?123 [        ] ?           2/2 ?123 [        ] ¿ 

$ " « » ( ) @ + - / * =          – — < > [ ] ^ ± − ÷ × ≠
b é p o è □ v d l j z w          | ˝ & œ ` ¡ □ ð ł ij ə %
a u i e , c t s r n m ç          æ ù □ € ’ © þ ß ® ñ ¯ □
ê à y x . k q g h f  <x          / \ { } … ~ □ ĝ † □  <x
Sft ?123 [        ] ’           1/2 ?123 [        ] ' 

Fichiers à éditer

Un premier fichier est nécessaire, du nom de layout_bepo.conf. Le [nom entre crochet] doit correspondre au nom du second fichier.

[bepo12.qml]
name=Bépo
languageCode=FR
handler=Xt9InputHandler.qml

Le second est le fichier de description de la disposition de clavier bepo12.qml. Attention! le système est susceptible: une répétition de deux items pour la même touche, un point-virgule ou deux points qui manquent, des accolades ou des guillemets non fermés... empêchent la disposition de fonctionner. Le guillemet double se code \", la barre inverse \\

/*
No copyright (C)... Enjoy! Done by RbN (Jan 2014)
BÉPO “12 character rows” keyboard for SailfishOS 3.0 by jchrbe (2019.02.22)
*/

import QtQuick 2.0
import com.jolla.keyboard 1.0
import ".."

KeyboardLayout
  {
  splitSupported: true

  KeyboardRow
    {
    splitIndex: 5
    CharacterKey { caption: "$"; captionShifted: "#"; symView: "–"; symView2: "¶" }
    CharacterKey { caption: "\""; captionShifted: "1"; symView: "—"; symView2: "„" }
    CharacterKey { caption: "«"; captionShifted: "2"; symView: "<"; symView2: "“" }
    CharacterKey { caption: "»"; captionShifted: "3"; symView: ">"; symView2: "”" }
    CharacterKey { caption: "("; captionShifted: "4"; symView: "["; symView2: "≤" }
    CharacterKey { caption: ")"; captionShifted: "5"; symView: "]"; symView2: "≥" }
    CharacterKey { caption: "@"; captionShifted: "6"; symView: "^"; symView2: " " }
    CharacterKey { caption: "+"; captionShifted: "7"; symView: "±"; symView2: "¬" }
    CharacterKey { caption: "-"; captionShifted: "8"; accents: "-_"; symView: "−"; symView2: "¼" }
    CharacterKey { caption: "/"; captionShifted: "9"; symView: "÷"; symView2: "½" }
    CharacterKey { caption: "*"; captionShifted: "0"; symView: "×"; symView2: "¾" }
    CharacterKey { caption: "="; captionShifted: "°"; symView: "≠"; symView2: "′" }
    }

  KeyboardRow
    {
    splitIndex: 5
    CharacterKey { caption: "b"; captionShifted: "B"; symView: "|"; symView2: "¦" }
    CharacterKey { caption: "é"; captionShifted: "É"; symView: "″"; symView2: " " }
    CharacterKey { caption: "p"; captionShifted: "P"; symView: "&"; symView2: "§" }
    CharacterKey { caption: "o"; captionShifted: "O"; symView: "œ"; symView2: "Œ"; accents: "oôœóòöøǒō"; accentsShifted: "OÔŒÓÒÖØǑŌ" }
    CharacterKey { caption: "è"; captionShifted: "È"; symView: "`"; symView2: "`" }
    CharacterKey { caption: "^"; captionShifted: "!"; symView: "¡"; symView2: " " }
    CharacterKey { caption: "v"; captionShifted: "V"; symView: " "; symView2: " " }
    CharacterKey { caption: "d"; captionShifted: "D"; symView: "ð"; symView2: "Ð" }
    CharacterKey { caption: "l"; captionShifted: "L"; symView: "ł"; symView2: "Ł" }
    CharacterKey { caption: "j"; captionShifted: "J"; symView: "ij"; symView2: "IJ"; accents: "jĵ"; accentsShifted: "JĴ" }
    CharacterKey { caption: "z"; captionShifted: "Z"; symView: "ə"; symView2: "Ə" }
    CharacterKey { caption: "w"; captionShifted: "W"; symView: "%"; symView2: "‰" }
    }

  KeyboardRow
    {
    splitIndex: 5
    CharacterKey { caption: "a"; captionShifted: "A"; symView: "æ"; symView2: "Æ"; accents: "aâáãäåǎā"; accentsShifted: "AÂÁÃÄÅǍĀ" }
    CharacterKey { caption: "u"; captionShifted: "U"; symView: "ù"; symView2: "Ù"; accents: "uûúüǔū"; accentsShifted: "UÛÚÜǓŪ" }
    CharacterKey { caption: "i"; captionShifted: "I"; symView: " "; symView2: " "; accents: "iîïíìǐīı"; accentsShifted: "IÎÏÍÌĎǏĪ" }
    CharacterKey { caption: "e"; captionShifted: "E"; symView: "€"; symView2: "¤"; accents: "eëěē"; accentsShifted: "EËĚĒ" }
    CharacterKey { caption: ","; captionShifted: ";"; symView: "’"; symView2: " " }
    CharacterKey { caption: "c"; captionShifted: "C"; symView: "©"; symView2: "ſ" }
    CharacterKey { caption: "t"; captionShifted: "T"; symView: "þ"; symView2: "Þ"; accents: "tŧ"; accentsShifted: "TŦ" }
    CharacterKey { caption: "s"; captionShifted: "S"; symView: "ß"; symView2: "ẞ"; accents: "sŝ"; accentsShifted: "SŜ" }
    CharacterKey { caption: "r"; captionShifted: "R"; symView: "®"; symView2: "™" }
    CharacterKey { caption: "n"; captionShifted: "N"; symView: "ñ"; symView2: "Ñ" }
    CharacterKey { caption: "m"; captionShifted: "M"; symView: "¯"; symView2: "º" }
    CharacterKey { caption: "ç"; captionShifted: "Ç"; symView: " "; symView2: " " }
    }

  KeyboardRow
    {
    splitIndex: 5
    CharacterKey { caption: "ê"; captionShifted: "Ê"; symView: "/"; symView2: " " }
    CharacterKey { caption: "à"; captionShifted: "À"; symView: "\\"; symView2: " " }
    CharacterKey { caption: "y"; captionShifted: "Y"; symView: "{"; symView2: "‘"; accents: "ÿý"; accentsShifted: "ŸÝ" }
    CharacterKey { caption: "x"; captionShifted: "X"; symView: "}"; symView2: "’" }
    CharacterKey { caption: "."; captionShifted: ":"; symView: "…"; symView2: "·" }
    CharacterKey { caption: "k"; captionShifted: "K"; symView: "~"; symView2: " " }
    CharacterKey { caption: "q"; captionShifted: "Q"; symView: " "; symView2: " " }
    CharacterKey { caption: "g"; captionShifted: "G"; symView: "ĝ"; symView2: "Ĝ"; accents: "gĝ"; accentsShifted: "GĜ" }
    CharacterKey { caption: "h"; captionShifted: "H"; symView: "†"; symView2: "‡"; accents: "hĥ"; accentsShifted: "HĤ" }
    CharacterKey { caption: "f"; captionShifted: "F"; symView: " "; symView2: "ª" }
    BackspaceKey {}
    }

  KeyboardRow
    {
    splitIndex: 3
    ShiftKey { }
    SymbolKey { implicitWidth: symbolKeyWidthNarrow }
    SpacebarKey {}
    CharacterKey { caption: "’"; captionShifted: "?"; symView: "'"; symView2: "¿"
    implicitWidth: punctuationKeyWidthNarrow; fixedWidth: !splitActive }
    SpacebarKey { active: splitActive; languageLabel: "bépo12" }
    EnterKey {}
    }
  }

Installation

Avant toute chose, il faudra pouvoir administrer le système avec les droits du super-utilisateur, voir cette page.

1. Éditer et sauvegarder les deux fichiers avec leurs noms.

2. Sous connexion MTP (transfert de fichiers), les placer à la racine du répertoire utilisateur (/home/nemo)

3. Dans Règlages → Système → Outil du développeur, activer le Mode développeur).

4. Ouvrir le Terminal, qui vient de s'afficher au bas de l'écran des applications.

5. Saisir su et entrer le mot de passe super-utilisateur.

6. Saisir cp /home/nemo/bepo.qml /usr/share/maliit/plugins/com/jolla/layouts/

7. Saisir cp /home/nemo/layout_bepo.conf /usr/share/maliit/plugins/com/jolla/layouts/

8. Relancer le serveur des claviers: killall maliit-server

9. Dans Règlages → Système → Entrée de texte → bouton clavier, sélectionner Bépo.

10. Lorsque le clavier virtuel apparaît, maintenir le doigt sur la barre espace pemet de choisir sa disposition de clavier parmi celles sélectionnée en 9.