keyboardlayouteditor

[Fork] Archive of the keyboard layout editor.
git clone https://git.jojolepro.com/keyboardlayouteditor.git
Log | Files | Refs | README | LICENSE

commit 5c5b4f02761dbe749b5396a7a9c1ff58272b02be
parent 88f5edf3db54d7e7ff2cfb22e72fff4584ac3a4d
Author: Simos Xenitellis <simos@users.noreply.github.com>
Date:   Wed, 26 Mar 2014 17:16:00 +0200

Merge pull request #4 from izidormatusov/master

Updates to source so that it runs better out of the box in current distros (2014). Thanks @izidormatusov.
Diffstat:
MKeyboardLayoutEditor | 4+++-
DREADME | 47-----------------------------------------------
AREADME.md | 24++++++++++++++++++++++++
3 files changed, 27 insertions(+), 48 deletions(-)

diff --git a/KeyboardLayoutEditor b/KeyboardLayoutEditor @@ -948,7 +948,9 @@ Please do not put punctuation marks." return False def unicodechars_clicked_callback(self, button): - os.system(Common.gucharmapapp) + if os.fork() == 0 : + os.system(Common.gucharmappath) + exit(0) def check_resize(self, container): pass # TODO: Make sure the keyboard does not get too small. diff --git a/README b/README @@ -1,47 +0,0 @@ -This is the Keyboard Layout Editor, a pygtk program that helps create or edit XKB keyboard layouts. - -This is the version that has been submitted to the GSoC xorg project; you can find the latest version -at http://github.com/simos/keyboardlayouteditor/tree/master - -The home page of the Keyboard Layout Editor is -http://code.google.com/p/keyboardlayouteditor/ - -You are strongly encouraged to use the version that is found at the above URL, -as it includes several bug fixes. - -The project was developed using Eclipse (Ganymede), with the Python (PyDev) and Antlr (AntlrIDE) add-ons. -If you also have SVN support in Eclipse, you can grab the latest source from within Eclipse. -There is also integration with Mylene so that you can get the list of issues/bugs/todo items -automatically. - -To run the application, you need the python binding packages for -* Cairo -* Pango -* GObject -* lxml - -and the Antlr 3.1.2 Runtime environment for Python. You grab that at -http://antlr.org/download/Python/ -Choose the appropriate *.egg file for the 3.1.2 version, then type - -sudo easy_install antlr_python_runtime-3.1.2-py2.5.egg - -('easy_install' is part of the 'python-setuptools' package; it is not installed by default). - -You need to process the ANTLR grammars in order to generate the necessary Python code. -All *.g files should be processed with ANTLR. -You can get the ANTLR 3.1.2 package from http://www.antlr.org/download/antlr-3.1.2.jar -Assuming you installed Antlr 3.1.2 in your CLASSPATH, you compile a grammar (*.g) with - java org.antlr.Tool *.g - -Here is a practical example with Antlr 3.1.2. - sudo apt-get install python-setuptools - wget http://antlr.org/download/Python/antlr_python_runtime-3.1.2-py2.5.egg - sudo easy_install antlr_python_runtime-3.1.2-py2.5.egg - wget http://antlr.org/download/antlr-3.1.2.jar - export CLASSPATH=$CLASSPATH:antlr-3.1.2.jar - java org.antlr.Tool *.g - -You finally run this program with - -./KeyboardLayoutEditor diff --git a/README.md b/README.md @@ -0,0 +1,24 @@ +# Keyboard Layout Editor + +PyGTK program that helps create or edit XKB keyboard layouts. Created by [@simos](https://github.com/simos) in Google Summer of Code 2008. [More information](http://simos.info/blog/archives/747/) + +![Screenshot](http://simos.info/blog/wp-content/uploads/2008/10/kle-intro.png) + +To run the application, you need the python binding packages for +* Cairo +* Pango +* GObject +* lxml +* ANTLR 3.1.2 + +You need to process the ANTLR grammars in order to generate the necessary Python code. +All *.g files should be processed with ANTLR: + + sudo apt-get install python-setuptools + pip install http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.2.tar.gz + wget http://www.antlr3.org/download/antlr-3.1.2.jar + java -classpath "antlr-3.1.2.jar" org.antlr.Tool *.g + +You finally run this program with: + + ./KeyboardLayoutEditor