On Thursday 25 December 2003 16:25, Sjoerd Hiemstra wrote:
Sid Boyce wrote:
Jan Elders wrote:
[snip: desperate attempt to get euro-sign working]
My actions to get the Euro sign to work have been so far :
1. In /etc/sysconfig/language RC_LANG="nl_NL@euro"
2. In /etc/sysconfig/console CONSOLE_FONT="lat9w-16.psfu.gz"
3. Setting of AltGr : =================== MEDION:~ # xmodmap -e 'keycode 113 = Mode_switch' MEDION:~ # xmodmap -pke . keycode 113 = Mode_switch . MEDION:~ # xmodmap -e 'add mod3 = Mode_switch' MEDION:~ # xmodmap xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x6d) mod1 Alt_L (0x40) mod2 Num_Lock (0x4d) mod3 Mode_switch (0x71) mod4 Super_L (0x73), Super_R (0x74) mod5 Scroll_Lock (0x4e)
MEDION:~ # xev (followed by presing the AltGr key)
KeyRelease event, serial 25, synthetic NO, window 0x3e00001, root 0x71, subw 0x3e00002, time 508653, (33,29), root:(35,563), state 0x8, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 bytes: "" =====================
4. My keymapping is as follows : . keycode 14 = 5 percent EuroSign .
All of the above is what needs to be done to my best knowledge, isn't it ?>Yet, when I press AltGr 5 nothing happens !!?? How can this be ? Did I forget something ? Did I do something wrong ?
BTW : this is a SuSE 9.0 Professional system. <snip>
Running 8.2, I did not find the euro sign with AltGr-5 or AltGr-e or something, but the Compose key followed by 'C=' did work, which suffices for me, which is why I did not investigate this further.
Example: my 'Pause' key has keycode 110, so I have this in ~/.Xmodmap:
keycode 110 = Multi_key
The Pause key, followed by C and = gives the euro sign. (Do not keep the key down while entering C and =)
Well, thanks, but this also doesn't work for me. ;-( I did set keycode 110 = Multi_key but just nothing happens, when I type pause-key C = . It looks like the system doesn't recognize the "Multi-key" expression (and neither the "Mode_switch" expression as I unsuccessfully tried in my previous attempts). Is that possible/thinkable ? If yes, why ? <snip>
A few more thoughts:
echo -e "\244"
should display the euro sign. Try it to see if the euro sign is present at all in the font which is used. Hey, it doesn't. How / where should I check and set the correct font ? BTW : I'm back to RC_LANG="en_US", but according to somebody from Belgium who reacted also, he did have the Euro sign while having en_US. I'm getting pretty confused by all this.
2. In /etc/sysconfig/console CONSOLE_FONT="lat9w-16.psfu.gz"
This only applies to the font used in the console, it has nothing to do with X.
4. My keymapping is as follows : keycode 14 = 5 percent EuroSign
Alas, I'm no expert on this, but to me it seems unlikely that 'mod3' applies to the third entry, i.e. EuroSign in this case. Anyone?
Well according to the documentation it should. Greetings, ------------- Jan Elders the Netherlands http://www.xs4all.nl/~jrme/ "Home of the Network Acronyms"