You are not logged in.

#1 2011-06-25 08:44:48

0mark
Member
From: earth
Registered: 2010-06-09
Posts: 162
Website

Compose Key

I have tried for around two hours to setup a compose key, nothing worked and now i have no mnore ideas how to make it work. I have tried:

Option "XkbOptions" "compose:caps"

in 10-keyboard.conf. Pressing caps does nothing, neither caps nor compose

setxkbmap -config compose:caps

same result

xmodmap -e "keycode 66 = Multi_key"

66 is, according to xev, my caps lock key. Does nothing, caps lock acts as caps lock.

I have tried some variants of these, eg with ralt or shift, as well as other keycode with xmodmap. I also tested some other, more weird things i found on the internet. Nothing worked.

I have two keyboards, one internal IBM notebook keyboard (US Layout) and one PS/2 keyboard (DE layout). By default, i have no keyboard settings in xorg (default us layout is good), but i map r-ctrl to win (xmodmap -e "keycode 105 = Super_L"; sleep 5; xmodmap -e "remove control = Super_L"; (dont ask me about the sleep command. It just dont work without.). I have tried everything without the remapping too, same results.

Any suggestion?


Ceterum autem censeo Systemdinem esse delendam

Offline

#2 2011-06-25 08:57:03

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Compose Key

I use this:

Section "InputClass"
    Identifier            "Keyboard Defaults"
    MatchIsKeyboard       "yes"
    Option                "XkbLayout" "us"
    Option                "XkbVariant" "alt-intl,nodeadkeys"
    Option                "XkbOptions" "compose:rwin"
EndSection

ᶘ ᵒᴥᵒᶅ

Offline

#3 2011-06-25 15:36:21

Guff
Member
Registered: 2009-09-30
Posts: 158
Website

Re: Compose Key

With xmodmap, at least, I think you might have to remove the lock too?

Like:

keycode 66 = Multi_key
clear Lock

I remap my caps lock to control, though, and my menu key to compose.

Offline

#4 2011-06-25 17:34:11

tacticalbread
Member
From: Bay Area, CA
Registered: 2011-04-09
Posts: 127
Website

Re: Compose Key

I've just got this in my ~/.xinitrc and it works fine.

xmodmap -e "keysym Scroll_Lock = Multi_key"

don't save us from the flames

Offline

#5 2011-06-26 04:23:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Compose Key

I have a bob each way...

In .xinitrc

# compose key
setxkbmap -option compose:ralt

# call Xmodap if the above fails
xmodmap ~/.Xmodmap

and in .Xmodmap

!! Compose key to Right Alt
keycode 108 = Multi_key

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2011-06-27 10:25:59

snakebite
Member
From: Norway
Registered: 2009-05-13
Posts: 42

Re: Compose Key

I have

setxkbmap -option compose:caps

in my .xinitrc and no other xmodmap or Xorg configs.

Offline

#7 2018-10-03 15:45:32

hydrocat
Member
Registered: 2018-10-03
Posts: 1
Website

Re: Compose Key

Thanks m8 :3

jasonwryan wrote:

I have a bob each way...

In .xinitrc

# compose key
setxkbmap -option compose:ralt

# call Xmodap if the above fails
xmodmap ~/.Xmodmap

and in .Xmodmap

!! Compose key to Right Alt
keycode 108 = Multi_key

Offline

#8 2018-10-03 15:49:48

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Compose Key

Please don't necrobump: https://wiki.archlinux.org/index.php/Co … bumping.22

Closing thread.

Offline

Board footer

Powered by FluxBB