Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

How to insert Arabic character for superscript Alef (like in هٰ) and subscript Alef (like in هٖ) from keyboard directly? Are they commonly used in Arabic or only used in Mushaf Uthmani of The Holy Quran?

Actually the subscript Alef is not rendered below ه in my computer (Ubuntu Raring), but on the left side of the letter instead. However the superscipt alef is rendered above the letter. I doubt I copied a wrong character :) Update: I've checked that it was a not a wrong character, because another machine renders the subscript Alef right below the character, so it was rendering problem in Raring.

share|improve this question
up vote 2 down vote accepted
  • Use Character Map find their Unicode code. like U+0656 ARABIC SUBSCRIPT ALEF

  • Then use Ctrl+Shift+u (a small under-lined u shows up), type Unicode code 656

See for other input-method options Cannot type “ć” on Hungarian layout

For faster input, you may modify your current keyboard layout or create a customized one. See these answers:

share|improve this answer
    
If only there's a faster way rather than 7-keyboard-stroke :D – BornToCode Aug 21 '14 at 1:47
    
@BornToCode, yep there is. updated my answer. – Sneetsher Aug 21 '14 at 8:25

Shift + W = هً

Shift + S = هٍ

Shift + R = هٌ

Shift + ` = هّ

Shift + ` then Shift + E = هُّ

Shift + X = هْ

Shift + Z = ~

Shift + ` then Shift + A = هِّ

Shift + E = هُ

Shift + Q = هَ

Shift + A = هِ

Shift + ` then Shift + Q = هَّ

share|improve this answer
    
You better delete this answer before someone vote it down. Please read the question carefully. – BornToCode Mar 30 at 22:40

As far as I know:

Shift + Q = هَ

Shift + A = هِ

Shift + W = هً

Shift + S = هٍ

Shift + E = هُ

Shift + ` = هّ

share|improve this answer

Here is another option I currently use. Instead of using that default keyboard layout which does not include superscript and subscript Alef, just use another keyboard layout.

Create a custom layout or get it from this custom Arabic keyboard layout. Place the layout file in /usr/share/X11/xkb/symbols/ directory and register it by modifying /usr/share/X11/xkb/rules/evdev.xml file, add it in <layoutList> node like this (taken from the link above):

<layoutList>
  ...
  <layout>
    <configItem>
      <name>SIMPLE FILE NAME, NOT FULL PATH</name>
      <shortDescription>USUALLY TWO-LETTER COUNTRY CODE</shortDescription>
      <description>USUALLY FULL COUNTRY NAME</description>
      <languageList>
        <iso639Id>THREE-LETTER LANGUAGE CODE</iso639Id>
      </languageList>
    </configItem>
    <variantList></variantList>
  </layout>
...
</layoutList>

Now just press ` (backtick/tilde key) for U+0670 ARABIC LETTER SUPERSCRIPT ALEF and Shift+R for U+0656 ARABIC SUBSCRIPT ALEF. There is also U+0657 ARABIC INVERTED DAMMA by pressing Shift+4.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.