Category: fdo

Post relating to Freedesktop.org

Microsoft Windows tax refund, from Dell

I just got a credit note from Dell for £31, by rejecting Windows Vista Home Premium SP1 and Microsoft Works 9.0.

Continue reading

Permanent link to this article: https://blog.simos.info/microsoft-windows-tax-refund-from-dell/

Layout editor keyboard

This is a screenshot of the keyboard for the layout editor. The keyboard is a widget which is composed of individual widgets of each key. I did not use glade-3 for the keyboard at this time. Although it is possible to create custom widgets in Python and install them in Glade, the current distributed packages …

Continue reading

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

Keyboard layout editor UI concept

(click for bigger image) At the top we select the keyboard layout file, the variant, and set the corresponding verbose name. The keyboard layout editor shows a standard keyboard, where each keyboard key can show up to four levels. When you select a key, the bottor-left window shows the characters that have been set (here …

Continue reading

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

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/

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/

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/