Tag: xkb

Oct 03 2008

The Keyboard Layout Editor

Update Dec 2010: Get the latest version of the Keyboard Layout Editor from https://github.com/simos/keyboardlayouteditor (this entry is a repost, the original was lost in a database mishap.) As part of the 2008 GSoC program, I worked on a Keyboard Layout Editor for the X.Org Foundation. The Keyboard Layout Editor (KLE) is an application that allows …

Continue reading

Permanent link to this article: https://blog.simos.info/the-keyboard-layout-editor/

Jun 20 2008

Converting between XKB and XML

I completed the stage that takes keyboard layout files from XKB (X.Org) and converts them to XML documents, based on a keyboard layout Relax NG schema. Then, these XML documents can also be converted back to keyboard layout files. Here is an imaginary example of a keyboard layout file. // Keyboard layout for the Zzurope …

Continue reading

Permanent link to this article: https://blog.simos.info/converting-between-xkb-and-xml/

Jun 11 2008

ANTLR grammar for XKB, and Relax NG schema (draft)

I completed the ANTLRv3 grammar for symbols/ configuration files of XKB. The grammar can parse and create the abstract syntax tree (AST) for all keyboard layouts in xkeyboard-config. ANTLRv3 helps you create parsers for domain specific languages (DSL), an example of which is the configuration files in XKB. Having the ANTLRv3 grammar for a configuration …

Continue reading

Permanent link to this article: https://blog.simos.info/antlr-grammar-for-xkb-and-relax-ng-schema-draft/

May 28 2008

Looking into the symbol files

In the previous post, we talked about the ANTLR grammar that parses the XKB layout files. The grammar is available at http://code.google.com/p/keyboardlayouteditor/source/browse. I’ll rather push to the freedesktop repository once the project is completed. Now it’s too easy for me, just doing svn commit -m something. Below you can see the relevant layout files for …

Continue reading

Permanent link to this article: https://blog.simos.info/looking-into-the-symbol-files/

May 17 2008

Parsing XKB files with antlr

antlr (well, antlr3) is an amazing tool that replaces lex/flex, yacc/bison. One would use antlr3 if they want to deal with Domain-Specific Languages (DSL), an example of which are the text configuration files. In our case, we use antlr3 to parse some of the XKB configuration files, those found in /etc/X11/xkb/symbols/??. Our aim is to …

Continue reading

Permanent link to this article: https://blog.simos.info/parsing-xkb-files-with-antlr/

Apr 30 2008

Keyboard Layout Editor GSOC project

I got accepted for a GSOC project with the X.Org Foundation. My mentor is Sergey Udaltsov and I look forward working with him. The project is about creating a Keyboard Layout Editor, that can be used to edit XKB files with a nice GUI. I will be blogging about these from here (fdo category at …

Continue reading

Permanent link to this article: https://blog.simos.info/keyboard-layout-editor-gsoc-project/

Jan 08 2007

The OLPC and Greek

(oh, I am writing this through a lousy Net connection; thanks Engelados) I tried out the latest OLPC image, specifically build 218, on Qemu and my aim was to get Greek support configured, if it was not there already. The OLPC does not currently come with a good set of Greek fonts; you will need …

Continue reading

Permanent link to this article: https://blog.simos.info/the-olpc-and-greek/

Jun 12 2006

Can you read Coptic?

Coptic is the most recent phase of ancient Egyptian. It is the direct descendant of the ancient language written in Egyptian hieroglyphic, hieratic, and demotic scripts. The Coptic alphabet is a slightly modified form of the Greek alphabet, with some letters (which vary from dialect to dialect) deriving from demotic. As a living language of …

Continue reading

Permanent link to this article: https://blog.simos.info/can-you-read-coptic/

%d bloggers like this: