I frequently use the compose key to type special characters. I now have a fresh install of Ubuntu 14.04, and in the keyboard settings it says "compose key: disabled". I can't find how to set the compose key.
5 Answers
In keyboard settings -> Shortcuts -> Typing -> Compose Key
Click the 'Disabled' across from Compose Key and select the key you want.

- 504
- 5
- 14
You will need to install dconf Editor from the Ubuntu Software Centre so it will appear in your applications.
If you use an applications list it appears under Sundry or if not in your Activities Overview (type dconf in the ~type to search~ box).
There are other ways of achieving your aim but this is a simple gui method not needing terminal skills.
$ dconf write /org/gnome/desktop/input-sources/xkb-options "['compose:{key}']"
where {key}
is your chosen key-name (e.g. "['compose:ralt']"
would make right alt your compose key.

- 156
- 4
-
1
-
This is crazy; why did they go backwards on the (very convenient) compose key? Update: see https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1245064 – Seth May 13 '14 at 14:29
-
3You don't "need" to install
dconf-editor
just for this purpose. See the answer from @lovestha below. – chaskes Jul 31 '14 at 04:04 -
7For completeness of this answer (mentioned in other answer): xkboptions can be found at
org > gnome > desktop > input-sources
. Options for key can be found in the manpage forxkeyboard-config
, which can be found by typingman xkeyboard-config
in a terminal, or in this page: http://www.dsm.fordham.edu/cgi-bin/man-cgi.pl?topic=XKEYBOARD-CONFIG§=7. Search for "Compose key" (which can be done in the terminal manpage by pressing/
and then typing your query, followed by enter). – Daan Wilmer Aug 25 '14 at 17:18 -
-1 for answer. All job have done by @DaanWilmer, who gave precise path for this option in dconf-editor. – Sep 19 '14 at 08:26
-
2
-
2@DavidDossot simpler if and only if you want to choose your compose key from that 6 given. because FU, thats why. – törzsmókus Mar 31 '15 at 16:33
-
From Ubuntu 14.04
Sundry → dconf → org → gnome → desktop → input-sources → xkboptions
e.g. to set the Alt Gr key as compose:
['compose:ralt']
-
I'm sorry, I need more help. The only "Sundry" I can find is a file named X-GNOME-Sundry.directory but it doesn't contain a directory name. – Christine Apr 23 '14 at 15:58
When you start the dconf editor, select the down pointing triangles in this order: org, desktop, input-sources all within the left pane. Each of these expands a menu where you can select the next option. After you pick input-sources, you will see the xkboptions in the right panel, select that and you can enter your choice as outlined above.
Just click on the "disabled" and choose any of the available keys in the appeared drop-down list. Than you can hit the key and type key combinations. For example
<Key> o / gives ø symbol.
<Key> . . gives … symbol
<Key> a ' gives à
and so one

- 11
dconf-editor
to setup hotkeys. +1 – ElefantPhace Jul 31 '14 at 04:12