[ILUG] De Euro

Declan Moriarty declan.moriarty at ntlworld.ie
Thu Jan 3 18:16:20 GMT 2002


Was it Colm Buckley who wrote on Thursday 03 January 2002 11:21:

> > Anyway. You need to use an iso-8859-15 font, in your application. It's
> > the one with euro support.

Yes, I've got that far.
>
> A lot of TrueType fonts are coming in 8859-15 versions these days;
> google around for them.  For xterms and the like, I generally use
> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-15
>
> > xmodmap -e 'keycode 26 = e E currency'
> > xmodmap -e 'keycode 54 = c C cent'

This didn't do it :-(
>
> Eurgh.  Do it right, set up an Xkb symbols map for it - here's my
> /etc/X11/xkb/symbols/ie file (on non-Debian boxes; it might have to be
> put somewhere under /usr/X11R6 - look for a "xkb/symbols" directory.)
>
> -----8<----------8<----------8<----------8<----------8<----------8<-----
[snip] I did add in this bit to /usr/X11R6/lib/X11/kkb/symbols/gb, which I 
copied to 'ie and then hacked

    key <AD03> {        [               e,               E      ],
	                [        Eurosign,            cent      ]       };
> -----8<----------8<----------8<----------8<----------8<----------8<-----

>
> Then change the "XkbLayout" option in /etc/X11/XF86Config-4 to "ie"

Did this too - I was feeling very hopeful at this stage. But then, confidence 
is the feeling you have before you understand the situation :-/

> (or run "setxkbmap ie" from an xterm) and restart X. 

Did next to nothing except throw up errors.

> Note that
> complex UI environments like KDE might reset this; it's usually
> possible to tell them not to, or to use the ie keymap.  You might need
> to add "ie" to the rules/xfree86.lst file in the xkb directory.

Added 'ie' to the rules. I'm on X 3.3.6. Rebooted, running icewm. I don't get 
the euro, but I do get the ¢ (which  in some apps appears as a cent sign) on  
Alt-Gr_Shift_e with scroll lock pressed). I used to have this reliably on the 
Alt-Gr_c, but it's now gone from there.
>
> This puts the euro symbol € on AltGr-4 and AltGr-e, and the cent

Alt-Gr_4 gives ? (To me That looks like an 'a' with a ufo over it :)
Alt-Gr_e gives this ' '   NOTHING :-(! with scroll lock & shift I get ¢
(looking like an 'A' with a circumflex)

> symbol ¢ on Shift-AltGr-4 and Shift-AltGr-e (and AltGr-c; that's
> actually in the "base" (U.S.) keymap).
>
> Hope this helps,

Thanks very much for trying, which is what I'm doing. BTW, I try to send this 
in kmail using ISO 8859-15 and iso 8859-15 encoding, and it says: "Not all 
characters will fit in the chosen encoding" I get the choice to send anyway, 
or change the encoding (away from ISO 8859-15).


-- 
	Regards,


	Declan Moriarty




Applied Researches - Ireland's Foremost Electronic Hardware Genius

	A Slightly Serious(TM) Company

Experience is like a comb, 
that Life gives you - AFTER all your hair has fallen out!




More information about the ILUG mailing list