Special Characters made easier in Ubuntu

If you are using Ubuntu Dapper Drake, you could press CTRL+SHIFT and then the unicode for special characters so you didn’t have to copy and paste them from the Character palette every time you wanted to use them.

Solution1

If you are using Edgy this will not work any more here is simple tip how to use Special Characters.You need to use compose key

If you want to enable compose key go to System —> Preferences —> Keyboard

Once it opens you should see the following screen

Now you need to select Layout Options tab from the above screen

Now you need to expand on Compose key position


Choose Right-Win key is compose, click Close.

To use it, hold the Compose key down and then type in the characters you want to mash together.For Example check the following ones
RightWin + C + = produces €
RightWin + = + C produces €
RightWin + C + O produces ©
RightWin + O + C produces ©
RightWin + a + ‘ produces á

Solution2

Another option is you can proceed the following procedure

If you can’t make fractions like ½ with the above solution you can fix that using the following procedure

you need to edit the /etc/environment file using the following command

sudo vi /etc/environment

add the following line

export GTK_IM_MODULE=xim

Save the file and exit

Now you need to copy this file to your home directory

cp /usr/share/X11/locale/en_US.UTF-8/Compose ~/.XCompose

This will give you a more complete character set.For example that your keyboard doesn’t have a tilde (~). You can change the lines that require entering a tilde so that a simple “t” (or whatever you like) will work. Just don’t use a key combination that’s already in use.

Sponsored Link

4 thoughts on “Special Characters made easier in Ubuntu

  1. “If you are using Ubuntu Dapper Drake, you could press CTRL+SHIFT and then the unicode for special characters”

    “If you are using Edgy this will not work any more”

    What you do now is CTRL+SHIFT+U

    Then release those keys.

    Then enter your Unicode code.

  2. What you do now is:

    press and release those keys,
    enter your Unicode code for the special char.
    press ENTER

    or

    press and don’t release those keys,
    press U
    enter your Unicode code.
    release keys

  3. Brilliant

    I have been looking for a way to write the special Danish characters and this compose key is the perfect solution.

    Thank you very much.

    Special Danish characters
    RightWin + a + a produces å
    RightWin + a + e produces æ
    RightWin + o + / produces ø

    I also found the following useful

    RightWin + o + o produces °

Leave a comment

Your email address will not be published. Required fields are marked *