Re: xkb: How to map Ctrl+Alt to Altgr in xkb?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



did you try with `xmodmap' and `xev'?
with xev, you can find out keycode/symbol to key relationship,
with xmodmap, you can actully change the keymap
good luck!

On 2/10/07, Michael Peeters <peeters-ml1@xxxxxxxxxx> wrote:
Hi,

I'm trying to modify my xkb config so that to map CTRL+ALT combination to
ALTGR, so that symbols normaly accessible with ALTGR+key can also be
obtained
with CTRL+ALT+key (The same behaviour as in W2K). This behaviour is very
handy for eg. azerty keyboard when you type with 10 fingers

ex:
on Be keyboard, left brace is obtained normally with ALTGR-8; in W2K we can
also do CTRL-ALT-8, which is more convenient when you type with your 10
fingers.

I had no problem to do this in console keymaps (text mode). In keymaps, it
was
quite easy to map some modifier combination + keycode to some symbol, but it
seems much more difficult in X11/xkb. I tried several things to no avail:
add
a new type (like a 6 level type with AltGr,Control,Alt), add new modifiers
mapping in symbols/, add new compat/ action, etc. No way, I'm lost. The best
I could achieve is to make it works in some edit box, but it doesn't work in
say konsole or kate. Actually, I suspect that this is because although
<LCTRL> with Alt modifier is mapped to ISO_Level3_Shift, the Alt modifier is
still active, and so the X application thinks I'm doing combination like
Alt-Altgr-8, instead of Altgr-8 to get leftbrace on a Be keyboard.

Thanks a lot for any help.

Mike
----------------------------------------------------------------------------
Configuration:
- OpenSUSE 10.2
- xkb multi-layout and extension support
- package xorg-x11-libxkbfile v7.2.12
- package xorg-x11-libxkbfile-devel v7.2-12
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux