Re: [SLE] Request for help with Euro-sign -- HELP please
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"
Well, some further attempts. Jan Elders:
Me:
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 ?
Try xlsfonts | grep 8859-15 to list all fonts containing the euro sign. (Only applies to X of course.) You do see ten euro signs here?? --> €€€€€€€€€€ And this is what I read in the SDB: ---Support for Euro symbol in KDE--- Start the KDE control center Look & Feel Country & Language and change the value iso-8859-1 to iso-8859-15. Additionally, you may have to change to iso-8859-15 in some applications (e.g. Konqueror) in order to use the Euro symbol there. You're using KMail I see. Make sure that you've set the used fonts to iso-8859-15 here as well. (However... it's advisable not to use the euro sign in an e-mail if the receiver is a Microsnot user. They badly adhere to standards... you could use EUR instead, which is officially recognized.) (BTW... when using a Microsnot font, the euro sign could be displayed by echo -e "\200" .)
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.
I have RC_LANG="en_IE@euro". LC_ALL is not set, i.e. echo $LC_ALL gives nothing.
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.
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 = .
You did check, using xev, that your keycode for 'Pause' equals 110? If not, substitute. Or, use any other key this way. SH
On Saturday 27 December 2003 00:21, Sjoerd Hiemstra wrote:
Well, some further attempts.
Jan Elders:
Me:
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 ? Try xlsfonts | grep 8859-15 to list all fonts containing the euro sign. (Only applies to X of course.) Lots of fonts listed. You do see ten euro signs here?? --> €€€€€€€€€€ Yes I do ! -- nothing to do with marriage I hope ;-) -- I'm using the arial font in KMail.
And this is what I read in the SDB: ---Support for Euro symbol in KDE--- Start the KDE control center Look & Feel Country & Language and change the value iso-8859-1 to iso-8859-15. Additionally, you may have to change to iso-8859-15 in some applications (e.g. Konqueror) in order to use the Euro symbol there.
Yes, I know, but there is no such thing in the Control Center (3.1.4) under 9.0 anymore !! That's what makes me getting lost at this. There now is a "Regional & Accessibility" entry. When choosing that, I can select a "Country/Region & Language" entry, which allows me to set a locale (i.e. Country and Language), numbers, money, time&dates, and "other" (=paper format and measure system), but NOT anything related to char sets. That's why I ask above "how can I set the proper char set ?". I can't even find where to check for the one that I'm using right now.
You're using KMail I see. Make sure that you've set the used fonts to iso-8859-15 here as well.
And, again, how should I do that ? As said above, I have chosen "arial" for KMail and I do see the eurosigns you typed. <snip>
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.
I have RC_LANG="en_IE@euro".
LC_ALL is not set, i.e. echo $LC_ALL gives nothing.
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.
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 = .
You did check, using xev, that your keycode for 'Pause' equals 110? Yes, abolutely, I checked and all was set OK. As I said already in my previous mail, it looks like the system (xmodmap ??) doesn't recognize the "Multi-key" expression (and neither the "Mode_switch" expression as I unsuccessfully tried in my previous attempts) although they are recognized correctly when I look with xev. Is that possible/thinkable ? If yes, why ? <snip> Greetings, -- Jan Elders
Have tried that one also before, without success. the Netherlands http://www.xs4all.nl/~jrme/ "Home of the Network Acronyms"
I wrote:
echo -e "\244" should display the euro sign.
Upon which Jan Elders replied:
Hey, it doesn't.
This seems to indicate the problem.
You do see ten euro signs here?? --> €€€€€€€€€€ Yes I do ! -- nothing to do with marriage I hope ;-) --
Hm, no hidden motives intended. How about copying these euro symbols to Konsole or xterm. Are they visible there? Konsole's charset seems to follow KDE's global settings. KMail: Settings > Configure KMail > Composer > tab Charset, select 'iso-8859-15 (locale)'. If all else fails, you can still do something like this: xmodmap -e 'keycode 96 = EuroSign' so pressing F12 (having keycode 96) yields the euro sign.
How can I set the proper char set ? There is no such thing in the Control Center (3.1.4) under 9.0 anymore !!
Anyone who has SUSE 9.0 who knows the answer?? SH
On Monday 29 December 2003 13:52, Sjoerd Hiemstra wrote:
I wrote:
echo -e "\244" should display the euro sign.
Upon which Jan Elders replied:
Hey, it doesn't.
This seems to indicate the problem. Yes, I agree, but how to solve it ?????
You do see ten euro signs here?? --> €€€€€€€€€€
Yes I do ! <snip> How about copying these euro symbols to Konsole or xterm. Are they visible there? No, I get question marks ???????? instead !
Konsole's charset seems to follow KDE's global settings. KMail: Settings > Configure KMail > Composer > tab Charset, select 'iso-8859-15 (locale)'. Done. Doesn't help. BTW, iso-8859-15 wasn't even in the list. So I've added it by hand and moved it to the top of the list.
If all else fails, you can still do something like this: xmodmap -e 'keycode 96 = EuroSign' so pressing F12 (having keycode 96) yields the euro sign. Yes, that works. Look : €€€€€€€€€ Thanks for the by-pass, but nevertheless I don't want to be beat by the system. It should work according to the rules !!!!!!!!!!!!!
Bottom-line problem seems to be that the Mode_switch function seems to be not working. After having modified the key-settings with xmodmap, I have the following situation : =============== jrm@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) mod1 Alt_L (0x40) mod2 Num_Lock (0x4d) mod3 Mode_switch (0x71) mod4 mod5 =============== The xmodmap -pke command says : =============== . keycode 14 = 5 percent EuroSign . keycode 26 = e E EuroSign cent . keycode 113 = Mode_switch ================= Yet, pressing AltGr 5 renders (xev output) : KeyPress event, serial 25, synthetic NO, window 0x2e00001, root 0x71, subw 0x0, time 201778, (131,294), root:(959,318), state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 25, synthetic NO, window 0x2e00001, root 0x71, subw 0x0, time 203606, (131,294), root:(959,318), state 0x8, keycode 14 (keysym 0x35, 5), same_screen YES, XLookupString gives 1 bytes: "5" So, I just get a 5 instead of the €. How can this be ? Cheers, -- Jan Elders the Netherlands http://www.xs4all.nl/~jrme/ "Home of the Network Acronyms"
participants (2)
-
Jan Elders
-
Sjoerd Hiemstra