The Philippines National Keyboard Layout for Linux Is Now Out!


Today, 23rd of October 2010, Filipino Linux users around the world can now download and use the first release of the Philippines National Keyboard Layout, officially launched at the Philippines Ubuntu 10.10 Maverick Meerkat Release Party!

What is this all about? Simple: being able to type the characters that Filipinos use, especially the ₱eso sign and ᜊᜌ᜔ᜊᜌᜒᜈ᜔ (Baybayin) glyphs that has been available for use since Unicode 3.2 (March 2002). Other characters are: Ññ, ©, ®, ™, ¢, ¥, ¶, Pahilís (acute diacritic), Paiwà (grave diacritic), Pakupyâ (circumflex diacritic), Ng̃ (the shortened form of nan͠g), and many more.

How about Windows users? You will have to wait more or less 2 weeks, it will be usable for Windows 7, Vista, and XP; both 64-bit and 32-bit installations. It is now available for download here. Windows is too complicated as compared to Linux (seriously).

Without further ado, here are the steps to get you started with using our very own National Keyboard Layout.


  1. Download the PNKL-Linux file (available in 7-zip and zip format) here
  2. Extract the content of the archive file you just downloaded
  3. Install the font included so your system can display Baybayin (Alibata) glyphs
  4. Then copy the file “ph” to the correct folder by typing in the terminal (be sure to adjust ~/Downloads/ to where the file is on your end)
    sudo cp ~/Downloads/ph /usr/share/X11/xkb/symbols
  5. Open these two files by typing:
    gksu gedit /usr/share/X11/xkb/rules/evdev.lst
    gksu gedit /usr/share/X11/xkb/rules/base.lst
  6. Search for:
    ! layout
  7. After it add:
    ph              Philippines
  8. Search for:
    ! variant
  9. After it add:
    qwerty-bay            ph: QWERTY (Baybayin)
    capewell-dvorak       ph: Capewell-Dvorak (Latin)
    capewell-dvorak-bay   ph: Capewell-Dvorak (Baybayin)
    capewell-qwerf2k6     ph: Capewell-QWERF 2006 (Latin)
    capewell-qwerf2k6-bay ph: Capewell-QWERF 2006 (Baybayin)
    colemak               ph: Colemak (Latin)
    colemak-bay           ph: Colemak (Baybayin)
    dvorak                ph: Dvorak (Latin)
    dvorak-bay            ph: Dvorak (Baybayin)
  10. Open these two files by typing:
    gksu gedit /usr/share/X11/xkb/rules/evdev.xml
    gksu gedit /usr/share/X11/xkb/rules/base.xml
  11. Search for:
    <layoutlist>
  12. After it add:
    <layout>
      <configItem>
        <name>ph</name>
        <shortDescription>Phi</shortDescription>
        <description>Philippines</description>
        <languageList><iso639Id>eng</iso639Id>
                      <iso639Id>bik</iso639Id>
                      <iso639Id>ceb</iso639Id>
                      <iso639Id>fil</iso639Id>
                      <iso639Id>hil</iso639Id>
                      <iso639Id>ilo</iso639Id>
                      <iso639Id>pam</iso639Id>
                      <iso639Id>pag</iso639Id>
                      <iso639Id>phi</iso639Id>
                      <iso639Id>tgl</iso639Id>
                      <iso639Id>war</iso639Id></languageList>
      </configItem>
      <variantList>
        <variant>
          <configItem>
            <name>qwerty-bay</name>
            <description>QWERTY (Baybayin)</description>
            <languageList><iso639Id>bik</iso639Id>
                          <iso639Id>ceb</iso639Id>
                          <iso639Id>fil</iso639Id>
                          <iso639Id>hil</iso639Id>
                          <iso639Id>ilo</iso639Id>
                          <iso639Id>pam</iso639Id>
                          <iso639Id>pag</iso639Id>
                          <iso639Id>phi</iso639Id>
                          <iso639Id>tgl</iso639Id>
                          <iso639Id>war</iso639Id></languageList>
          </configItem>
        </variant>
        <variant>
          <configItem>
            <name>capewell-dvorak</name>
            <description>Capewell-Dvorak (Latin)</description>
          </configItem>
        </variant>
        <variant>
          <configItem>
            <name>capewell-dvorak-bay</name>
            <description>Capewell-Dvorak (Baybayin)</description>
            <languageList><iso639Id>bik</iso639Id>
                          <iso639Id>ceb</iso639Id>
                          <iso639Id>fil</iso639Id>
                          <iso639Id>hil</iso639Id>
                          <iso639Id>ilo</iso639Id>
                          <iso639Id>pam</iso639Id>
                          <iso639Id>pag</iso639Id>
                          <iso639Id>phi</iso639Id>
                          <iso639Id>tgl</iso639Id>
                          <iso639Id>war</iso639Id></languageList>
          </configItem>
        </variant>
        <variant>
          <configItem>
            <name>capewell-qwerf2k6</name>
            <description>Capewell-QWERF 2006 (Latin)</description>
          </configItem>
        </variant>
        <variant>
          <configItem>
            <name>capewell-qwerf2k6-bay</name>
            <description>Capewell-QWERF 2006 (Baybayin)</description>
            <languageList><iso639Id>bik</iso639Id>
                          <iso639Id>ceb</iso639Id>
                          <iso639Id>fil</iso639Id>
                          <iso639Id>hil</iso639Id>
                          <iso639Id>ilo</iso639Id>
                          <iso639Id>pam</iso639Id>
                          <iso639Id>pag</iso639Id>
                          <iso639Id>phi</iso639Id>
                          <iso639Id>tgl</iso639Id>
                          <iso639Id>war</iso639Id></languageList>
          </configItem>
        </variant>
        <variant>
          <configItem>
            <name>colemak</name>
            <description>Colemak (Latin)</description>
          </configItem>
        </variant>
        <variant>
          <configItem>
            <name>colemak-bay</name>
            <description>Colemak (Baybayin)</description>
            <languageList><iso639Id>bik</iso639Id>
                          <iso639Id>ceb</iso639Id>
                          <iso639Id>fil</iso639Id>
                          <iso639Id>hil</iso639Id>
                          <iso639Id>ilo</iso639Id>
                          <iso639Id>pam</iso639Id>
                          <iso639Id>pag</iso639Id>
                          <iso639Id>phi</iso639Id>
                          <iso639Id>tgl</iso639Id>
                          <iso639Id>war</iso639Id></languageList>
          </configItem>
        </variant>
        <variant>
          <configItem>
            <name>dvorak</name>
            <description>Dvorak (Latin)</description>
          </configItem>
        </variant>
        <variant>
          <configItem>
            <name>dvorak-bay</name>
            <description>Dvorak (Baybayin)</description>
            <languageList><iso639Id>bik</iso639Id>
                          <iso639Id>ceb</iso639Id>
                          <iso639Id>fil</iso639Id>
                          <iso639Id>hil</iso639Id>
                          <iso639Id>ilo</iso639Id>
                          <iso639Id>pam</iso639Id>
                          <iso639Id>pag</iso639Id>
                          <iso639Id>phi</iso639Id>
                          <iso639Id>tgl</iso639Id>
                          <iso639Id>war</iso639Id></languageList>
          </configItem>
        </variant>
      </variantList>
    </layout>

You’re done! Sort of. You need to activate it to actually use it, follow the next few steps to do so.

  1. Go to: Preferences > Keyboard > Layouts
  2. Click the “Add…” button
  3. Search for the new keyboard you installed either “By country” (Philippines) or “By language” (English; Filipino; Cebuano; Philippine Languages; etc.)
  4. There are different variants that you can choose from:
    1. Philippines (default; QWERTY – Latin)
    2. Philippines – QWERTY (Baybayin)
    3. Philippines – Capewell-Dvorak (Latin)
    4. Philippines – Capewell-Dvorak (Baybayin)
    5. Philippines – Capewell-QWERF 2006 (Latin)
    6. Philippines – Capewell-QWERF 2006 (Baybayin)
    7. Philippines – Colemak (Latin)
    8. Philippines – Colemak (Baybayin)
    9. Philippines – Dvorak (Latin)
    10. Philippines – Dvorak (Baybayin)
  5. Click the “Add” button
  6. Select the new layout that you added then click the “Move Up” button and place it on top
    Philippines National Keyboard Layout.png

    Philippines National Keyboard Layout.png

Let’s not forget to add the first Baybayin (ᜊᜌ᜔ᜊᜌᜒᜈ᜔) keyboard layout, it is QWERTY-based. Simply repeat the process above but place it as second in your Layouts list. Then if you want to switch between Philippines Latin and Philippines Baybayin scripts, simply press Shift+CAPS_Lock. It is the default shortcut in Ubuntu 10.10 Maverick Meerkat.

The font included in the zip file is a Unicode-only and Website-embed compatible version of Nordenx‘s Baybayin brush font.

See the keyboard layout images here.

Official source repository: https://bitbucket.org/paninap/pnkl/
If you have suggestions or bugs to report, please do not hesitate to file a ticket here.

*** The Philippines National Keyboard Layout is a project of Ubuntu Philippines LoCo Team. Project contact: JC John Sese Cuneta; XMPP/Jabber [email protected] ***

Software Card
Author Rating
5

Software Name
The Philippines National Keyboard Layout
OS
GNU/Linux
Software Page

QR Code - Take this post Mobile!
Use this unique QR code with your smart device.  The code will save the URL of this page/post to the device for mobile sharing and storage.

Share and Enjoy

  • Google Plus
  • Facebook
  • Twitter
  • StumbleUpon
  • Tumblr

flattr this!