Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a US English keyboard. How do I enter a euro symbol in Ubuntu? I can't find the symbol in character map, and I don't really want to change keyboard layout just to type one symbol occasionally.

share|improve this question
    
You can check the US with euro on 5 keyboard layout. –  Andrea Corbellini Oct 28 '13 at 17:53
    
I am using the latest version of Ubuntu and the only explanation that works is the changes in terminal, however, each time the computer is restarted it reverts to the old setting. The further explanation to make it permanent is not clearly described and needs to be expanded- remembering that we are not all at the same level :) –  user292146 Jun 10 at 7:43

7 Answers 7

up vote 8 down vote accepted

In Character Map, select Common.

enter image description here

share|improve this answer

Method 1) Use the compose key.

Compose key sequences for €

compose key+c+=
or
compose key+e+=

In fact, you can type the characters following the compose key in either order.

So compose key+=+c or compose key+=+e also work.

To set the compose key in 13.10,

  1. Go to System Settings >> Keyboard >> Shortcuts or System Settings >> Text Entry >> Keyboard Settings.
  2. Choose Typing in the left column.
  3. Click Compose Key and choose an option from the pop-up list. Right-Alt is a common choice.

To set the compose key in earlier versions,

  1. Go to System Settings >> Keyboard Layout >> Options.
  2. Click Compose Key Position to expand the list of options.

Compose key options are hard-coded in Gnome-based systems. See the Gtk compose key table.

Method 2) Use the Alternative Characters Key (also called the 3rd level chooser in earlier versions

This way is a little more complicated to set up, but will give you a 2-character sequence.

This requires dconf-editor. sudo apt-get install dconf-editor

  1. From the Shortcuts >> Typing as above, click Alternative Characters Key, and choose an option from the pop-up. (You do not have to set the compose key to use this option, but if you set it, make sure the compose key and alternative characters are set to different keys.)

  2. In dconf-editor, navigate to org >> gnome >> desktop >> input-sources

  3. To the setting xkb-options add one of the following:

    'eurosign:e' 'eurosign:2' 'eurosign:4' 'eurosign:5'

The single-quotes are required. If you already have options listed, separate strings with commas.

For example, I have the compose key set to right-alt, the alternative character set to menu, and euro set to 4. The setting looks like this:

['eurosign:4','lv3:menu_switch','compose:ralt']

The order of the strings doesn't matter. You can see that I chose the menu key and put the euro symbol on 4.

Now, alternative char key+4 produces .

share|improve this answer

If you use English (US) keyboard layout and you don't want to change it, the the fastest way would be to use Ctrl+Shift+U key combination and then type 20ac followed by Space(or Enter) which will turn into .


Now if you want, for example, to change the $ sign (which you can type it using Shift+4 shortcut when you have an US English keyboard) with sign, you can use the following command in terminal in terminal:

xmodmap -e "keycode  13 = 4 EuroSign 4 EuroSign"

From now you can type using Shift+4 shortcut.

To switch back to $ sign, use:

xmodmap -e "keycode  13 = 4 dollar 4 dollar"

To get this change for every session, create a file called .xmodmap, with the following command:

xmodmap -pke > .xmodmap

Then, create a file called .xinitrc in your home directory, containing the following line/command:

xmodmap .xmodmap

In the same mode you can set any other key combination to type symbol. Use xmodmap -pke command to see all keycodes and their map assignment.

share|improve this answer

Alt Gr + 5 = € .

share|improve this answer
    
it's not the same (E≠5) and it works om my US layout –  user154126 Oct 29 '13 at 11:33

On a Ubuntu 13.10 equipped macbook air 2013 with a English (mac) keyboard, the shortcut is

shift + Right-Alt + 2

share|improve this answer

Alt Gr + 4 = € on my keyboard

so clearly different depending on keyboard mine bought in UK

share|improve this answer

Use this shortcut with hit on keyboard: Alt Gr + E

share|improve this answer
1  
This shortcut will never work when you use English (US) keyboard layout (as the OP said that is using). –  Radu Rădeanu Oct 28 '13 at 17:57

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.