Re: [XFree86] Keyboard configuration for Alt chars

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

 



On Thursday 11 September 2003 12:18, Ph Legay wrote:
> Frank Murphy wrote:
> > On Friday 05 September 2003 12:56, Ph Legay wrote:
> > Well, the modifier that it sees is Alt_L. You want it to see Mode_shift.
> > You can cause this to happen by putting this into your .Xmodmap file:
> >
> > keysym Alt_L = Mode_switch
> >
> > Then run `xmodmap .Xmodmap` and the left alt key should generate
> > Mode_switch and you can get your characters.
>
> OK, Thanks. You have rights. Everty thing is perfect.

Great! Glad to hear that it works.

> "Just to be a little less dummy", Is there a way to say to X keyboard
> that "Alt_L = Mode_switch" in the configuration file. In other words
> where are the modifiers defined ? in one file or in several files ?

I assume that you mean in the system Xkb configuration files. On Debian, 
they're in /etc/X11/xkb/, but I think the default is /usr/X11R6/lib/X11/xkb. 
Under symbols, there are the files that define how X maps keycodes to 
keysyms. In these files, you'll see lines like this:

key <RALT> {        [  Mode_switch, Multi_key       ]       };

They define how to get Mode_switch.

Frank

_______________________________________________
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