Compose key with XFCE

The compose key is very useful to type special letters that are not on keyboard (letters with accents for ex.):
compose+,+c = ç

There is no menu entry in the keyboard layout for the compose key in XFCE. You have to edit /etc/X11/xorg.conf, and add it in the “InputDevice” section:

Section "InputDevice"
Identifier   "Generic Keyboard"
Driver       "kbd"
Option      "CoreKeyboard"
Option      "XkbRules"      "xorg"
Option      "XkbModel"      "pc105"
Option      "XkbLayout"     "fr"
Option      "XkbOptions"    "lv3:ralt_switch, compose:rwin"

Here I choose right win key. You can choose the one you want (lwin, ralt, caps…). Restart X with CTRL-ALT-Backspace.

Reference:


http://ubuntuforums.org/showpost.php?p=2377176&postcount=5

About these ads

5 Comments to “Compose key with XFCE”

  1. There is a in my opinion better and easier option: Go to the XFCE settings, startup options and add the command

    setxkbmap -option “compose:rwin” de nodeadkeys

    (or which layout you want). Now, check “systemwide settings” in the keyboard settings so that XFCE doesn’t change anything. Works for me and I can go on living without a xorg.conf.

  2. There is also an easier way, without any configuration needed:
    use ++ “special letter”
    e.g.: ++”ç” gives “Ç”

    source: https://help.ubuntu.com/community/ComposeKey

  3. (‘greater’ and ‘less’ symbols would not be displayed in the formular and I cannot edit my comment):

    I meant to write : use “shift”+”altgr”+”special key”

    Cheers! Arkaitz

  4. I’m using xubuntu 12.10. There’s no xorg.conf, but the /etc/default/keyboard file has the XKBOPTIONS variable that you can set as you did with XkbOptions.
    Hope it helps.

  5. When someone writes an paragraph he/she maintains the plan of a
    user in his/her mind that how a user can know it. Therefore that’s why this piece of writing is great. Thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 91 other followers

%d bloggers like this: