[Solved] compose key

Share your own howto's etc. Not for support questions!

[Solved] compose key

Postby milomak » 2019-07-16 21:26

this is important for me when wanting euro and pound symbols (it especially help me with my mac keyboard)

so i have /etc/default/keyboard as
Code: Select all

# Consult the keyboard(5) manual page.



however even with the above it is still using ralt as the compose key.

what have i missed?

edit - i'm guessing there is some /etc/X11 override

edit - i am guessing that left alt being a windows thing, has been preserved somewhat

Code: Select all
$ grep "compose:" /usr/share/X11/xkb/rules/base.lst
  compose:ralt         Right Alt
  compose:lwin         Left Win
  compose:lwin-altgr   3rd level of Left Win
  compose:rwin         Right Win
  compose:rwin-altgr   3rd level of Right Win
  compose:menu         Menu
  compose:menu-altgr   3rd level of Menu
  compose:lctrl        Left Ctrl
  compose:lctrl-altgr  3rd level of Left Ctrl
  compose:rctrl        Right Ctrl
  compose:rctrl-altgr  3rd level of Right Ctrl
  compose:caps         Caps Lock
  compose:caps-altgr   3rd level of Caps Lock
  compose:102          <Less/Greater>
  compose:102-altgr    3rd level of <Less/Greater>
  compose:paus         Pause
  compose:prsc         PrtSc
  compose:sclk         Scroll Lock

went with lwin which is the cmd key on a mac (imac) keyboard

and the keystrokes you use to get the symbols are found here - /usr/share/X11/locale/en_US.UTF-8/Compose

for instance i've added to the file
Code: Select all
<Multi_key> <c> <minus>                 : "€"   EuroSign # EURO SIGN
<Multi_key> <minus> <c>                 : "€"   EuroSign # EURO SIGN
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: Lenovo ideapad Y700-15ISK - Sid, Win10, Solus
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Posts: 2085
Joined: 2009-06-09 22:20

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 10 guests