You are not logged in.
Pages: 1
I remap some dead keys on my keyboard with xmodmap. They're working with all programs but firefox. Could anyone help me? This is my ~/.xstart. I called it after system start.
~/.xinitrc:
exec ck-launch-session dbus-launch ~/.xstart
~/.xstart:
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
xmodmap -e "keycode 108 = 0x70" &
xmodmap -e "keycode 62 = 0xff52" &
xmodmap -e "keycode 105 = 0xff54" &
xmodmap -e "keycode 135 = 0xff1b" &
ibus-daemon -d -x &
nautilus -n &
pidgin &
firefox &
skype &
avant-window-navigator &
wicd-gtk -t &
gnome-do &
thunderbird &
dropboxd &
compiz --sm-disable --ignore-desktop-hints ccp
SOLVED:
Add/change a line:
Option "XkbVariant" "intl"
/etc/X11/xorg.conf.d/10-evdev.conf
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbModel" "asus_laptop"
Option "XkbVariant" "intl"
Option "XkbLayout" "us"
EndSection
Last edited by hoanglan87 (2012-07-05 07:23:55)
Offline
The 0xff.. are CJK full width characters, do they really work in other applications?
Just use the names:
xmodmap -e "keycode 108 = p P" &
xmodmap -e "keycode 62 = r R" &
xmodmap -e "keycode 105 = t T" &
xmodmap -e "keycode 135 = semicolon colon" &
Last edited by Procyon (2012-06-12 11:11:24)
Offline
Yes, they really work with other. Remap esc key to App key, up to right shift, down to right ctrl, p to right alt. Just app key work in firefox (as esc). I tried:
xmodmap -e "keycode 108 = p"
I see it didn't work with firefox only.
Last edited by hoanglan87 (2012-06-13 02:00:57)
Offline
Pages: 1