Page 1 of 1

Euro sign

Posted: 02 Oct 2013, 13:28
by bshogeman
I can't type the euro sign in porteus. Both combinations are not valid:
Ctl-Alt-5 or AltGr-5 (right alt)

I know about the cheatcodes: kmap= and timezone= but can't solve the problem with this.

I use only: timezone=Europe/Amsterdam
Keyboards that we use are US-International (Euro symbol engraved on the 5 key)
With kmap=us the eurosign isn't usable. but as you look in the file it must be defined.

Re: Euro sign

Posted: 02 Oct 2013, 13:56
by fanthom
just checked and booting with 'kmap=nl' cheatcode and AltGr-e gives me € symbol.

Re: Euro sign

Posted: 02 Oct 2013, 14:45
by bshogeman
kmap=nl mess ups other keys and the key on the keyboard (us-int) is located on the 5 key. But with kmap=nl there is also a symbol generated for AltGr-5 so I think I can solve the problem by modifing the us layout file. All symbols / buttons are right in that file except the eurosymbol.

Re: Euro sign

Posted: 04 Oct 2013, 14:40
by bshogeman
Is there a pretty way to setxkbmap -rules xorg -layout "us" -variant "intl"
Don't tested yet if all keys are correct but something like this seems to solve the problem.
I mean can this command also be formated with the kmap cheatcode?
Now I use cliexec ore guiexec works the same but is a little longer in the string and the kmap cheatcode is designed for this task.

Re: Euro sign

Posted: 04 Oct 2013, 20:04
by wread
This problem I had already in my office. I solved it elegantly this way

Code: Select all

#!/bin/bash
#Set keybord us alt-intl
setxkbdmap us -variant atl-intl
#
Save it as setkbdus-int.sh, make it executable and put it in /rootcopy/etc/profile.d/ and reboot.

Good luck!

Re: Euro sign

Posted: 04 Oct 2013, 20:44
by fanthom
Now I use cliexec ore guiexec works the same but is a little longer in the string and the kmap cheatcode is designed for this task.
agree. for next porteus release i'll tweak 'kmap=' cheatcode so it'll be possible to use variants. the syntax will be: 'kamp=$layout:$variant' like 'kmap=us:intl'.

thanks for suggestion.

Re: Euro sign

Posted: 06 Oct 2013, 22:17
by Hamza
@Fanthom -- Don't forget to remember to add this possibility to web wizard ;)

Re: Euro sign

Posted: 07 Oct 2013, 08:53
by fanthom
@Hamza
was talking about the ISO. up to you if you want to include kbd variants in web wizard (this may be tough as every layout has different variants).

Re: Euro sign

Posted: 07 Oct 2013, 14:54
by bshogeman
Does somebody know the solution for the following error message?
Warning: No translation for (keysym 0x20ac, Eurosign)
This error happends when you press the eurosign when connected with rdp to a remote with rdesktop (included in porteus 2.1) or xfreerdp (1.0.2).

The solution for the eurosign worked for the porteus desktop but not for remote sessions with rdesktop or freerdp :(

Re: Euro sign

Posted: 07 Oct 2013, 18:00
by Hamza
It simply doesn't understand/support the character you have sent. Try with another special character to be sure.

Re: Euro sign

Posted: 08 Oct 2013, 10:43
by bshogeman
True but that way I still haven't got a eurosign in a remote session.

Re: Euro sign

Posted: 08 Oct 2013, 15:53
by Hamza
Which charset you have set on software used to control the remote computer?

[Solved] Re: Euro sign

Posted: 10 Oct 2013, 15:15
by bshogeman
Fixed it with also defining the keyboard layout to the xfreerdp commandline string. Tnx
Btw what also was an issue was that the folder /usr/lib/x86_64-linux-gnu wasn't in /etc/ld.so.conf
Not all libs requered for xfreerdp where loaded.