This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Keyboard layout


On Wed, 12 Nov 2003, Danilo Turina wrote:

> This is a known "problem", at the moment I use a US-EN keyboard so I 
> don't have this kind of problems, anyway sometime ago I had a notebook 
> with an italian keyboard.
> 
> In order to have characters like "{", "}" (but also "`" that is vital 
> for shell commands) I had to use xmodmap.


append this to /etc/X11/xkb/symbols/pc/it 

partial alphanumeric_keys
xkb_symbols "win" {

    // Modifies the basic italian layout to eliminate all dead keys

    include "pc/it(basic)"

    key <AD11>  { [    egrave,     eacute,  bracketleft,    braceleft ] };
    key <AD12>  { [      plus,   asterisk, bracketright,   braceright ] };
};

now you can set this layout with "setxkbmap it win" or configure it in 
/etc/X11/XF86Config.
http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-non-U.S.-keyboard-layout

The XKB entries are
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "it"
    Option "XkbVariant" "win"
   
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]