Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any standard way of creating a custum input method for X11/linux in general?

I've poked around scim and iBus but I can't seem to find any example of it having been done before.

In reality I need to create a custom keyboard layout with much more Mod keys than presently exist in solutions like xkbmap.

share|improve this question

Creating an input method for X11 is really a software development task rather than a user task. Thus this question might be more appropriate on the site Stack Overflow. The following questions might be helpful:

The X.org documentation points out that Xlib is a widely used API for the X11, but that for new development, a toolkit such as GTK+ or Qt is preferred.

Xlib has a documented way of Manipulating the Keyboard Encoding. If that isn't enough control, it also has a documented Input Methods interface.

The GTK API offers Key Values, "Functions for manipulating keyboard codes".

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .