I am making a keyboard layout in xkb for Punjabi language. The default ones are outdated. In windows I could assign a keyboard key to a sequence of Unicode characters. But in xkb I think I cannot. But in some Arabic layouts it has been done. I want the mapping to be Punjabi specific only and do not want to ruin my default English mapping. e.g. I have assigned " ਾ"(sounds like 'aa',Unicode 0A3E) to 'w' and want to assign 'W' to " ਾਂ"(sounds like 'aan',Unicode 0A3E+0A02)", which is composed of two Unicode characters " ਾ"(Unicode 0A3E) + " ਂ"(Unicode 0A02).

Can anyone help me,please?

  • 1
    See if my answer here, might help you. – Mitch Jun 15 '13 at 17:13
  • 13.04? That was end-of-life long ago. Upgrading to a supported version of Ubuntu might fix the problem in the first place ("The default ones are outdated."). – QwertyChouskie Mar 5 '16 at 21:24
  • Even in the newer version its a issue – Nagaraju Mar 9 '16 at 4:45
  • 1
    Strictly speaking, this is not possible, although this answer describes a clever workaround. Basically, that's not what xkb is designed to do; your question is flawed in presuming that xkb is the correct software to solve your problem. – Aoeuid Mar 11 '16 at 1:42

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.