[ILUG] Re: The euro (Or in search of the Holy Grail)
declan.moriarty at ntlworld.ie
Thu Jan 31 08:27:45 GMT 2002
Was it Liam Bedford who wrote on Tuesday 29 January 2002 13:46:
> > > > > nothing anywhere in /usr/X11R6/lib/X11 for me.... and I can put the
> > > > > € into mails :)
> > > > Thanks, Liam. I can see the euro you put there, but I can't get one
> > > > in X myself :-(
> > > hmm.. okay... try
> > > xmodmap -e 'keycode 11 = 2 EuroSign'
> > Did that. I got 2 on alt-gr_2 instead of the 'half' thing that had been
> > there.
> yeah, it's been remapped so that Alt-gr and 2 doesn't mean anything
> > > if that fails
> > > xmodmap -e 'keycode 11 = 2 currency'
> > I got my International currency thing on 2.
> > > export LANG=en_IE at euro
> > > export LC_ALL=en_IE at euro
> > > (for bash, for tsch, use setenv)
> > > and then run xev
> > I typed all this stuff, wishing I knew what I was doing.
> > [root at genius /root]# export LANG=en_IE at euro
> > [root at genius /root]# export LC_ALL=en_IE at euro
> > [root at genius /root]# xev
> > bash: xev: command not found
> > OOPS! I'll have to fix that. And now I'm getting ? on alt-gr_e &
> > alt_gr_2. Oh if I want a 2, I have to use the keypad. '2' gives me ?, and
> > alt-gr_e gives me ? (question marks at this end).
> okay.. looks like it's happier...
> the locales make things do lookups slightly different... and thus they find
> the Euro (took me ages to figure it out on our product, I was pulling my
> hair out until I found that). I'm not sure what the difference between LANG
> and LC_ALL is, but type locale and check that you have en_IE mentioned..
> so, even pressing plain 2 isn't working?
> xmodmap -pke | grep 2 ?
> > I'll find xev somewhere, get it on the system, and have another go.
> that would be useful... what version of RedHat?
Where were we? Oh yes, looking for xev. There's a problem with copyright, so
it isn't distributed. RPMfind has it though. I have it in an RPM
(Xfree86-tools-4.1) which needs 2 library files from XFree86-libs-4.1
(libXmuu.so.1 and libXv.so.1). Of course these don't want to go in unless I'm
rude (--nodeps); The tools want the library, and the library says it will
screw up several important looking things in Xfree-4.0.3. (Presumably by
updating XFree-libs-4.0.3) I'm tempted to try the tools rpm, knowing that
some won't work
typing 'locale' gets this:
[root at genius /bin]# locale
LC_CTYPE=en_IE at euro
LC_NUMERIC=en_IE at euro
LC_TIME=en_IE at euro
LC_COLLATE=en_IE at euro
LC_MONETARY=en_IE at euro
LC_MESSAGES=en_IE at euro
> xmodmap -pke | grep 2 ?
This (and variations of it) allows me to check that the xmodmap commands are
working. I can set 26 as currency (International symbol) eurosign, ecusign,
and 0xa4 (which it calls currency) but no euro sign. now I've screwed up
capital e(?) again. Kmail says these characters won't all fit in the chosen
Sometimes linux sucks. This is one of them
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