Re: [ILUG] RE: Irish characters, Fadas, accents, international symbolsetc. (fwd)

From: Colm Buckley (colm at domain tuatha.org)
Date: Tue 16 Apr 2002 - 12:23:55 IST


On Tuesday 16 April 2002 11:54, Liam Bedford wrote:

>> So to sum up, how can I make a replacement for AltGr (e.g. Ctrl + Alt,
>> which I think was what was used before keyboards had AltGr keys) and
>> where do I plug it into the xkb file ?

> pick a key, any key, say Alt. Find the keycode for ALT:
> xev
>
> then do
> xmodmap -e 'keycode blah = Alt_R Mode_Switch'

No, no, no.

The whole point of using Xkb in the first place is to get rid of
xmodmap, which is deprecated.

In the Xkb file we're doing, put:

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

in the appropriate place.

Look in /usr/X11R6/lib/X11/xkb/symbols/ for lots of Xkb files, which
should give you an idea what they look like.

          Colm

-- 
Colm Buckley : Systems Architect at NewWorldiQ
Personal : colm at domain tuatha.org | +353 87 2469146 | www.colm.buckley.name
Business : colm at domain newworldiq.com | +353 1 4334334 | www.newworldiq.com
I almost had a psychic girlfriend but she left me before we met.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:16:09 GMT