Page 1 of 1

locale won't set to fr_FR

Posted: 22 Aug 2013, 15:00
by wsteven
Hello,

I did set locale to fr with the wizard, but I still get a qwerty keyboard. Modifying manually /etc/profile.d/lang.sh with

Code: Select all

export LANG=fr_FR
didn't help :(

Any idea?
Thanks,
Steven

Re: locale won't set to fr_FR

Posted: 22 Aug 2013, 18:43
by fanthom
"I did set locale to fr with the wizard,"
i guess you meant keyboard layout?
i have tested it myself: ran kiosk wizard -> choosen 'fr' as kbd layout -> got 'azerty' when typed in the firefox address bar

the fault must be on your side. please try again.

Re: locale won't set to fr_FR

Posted: 23 Aug 2013, 07:43
by wsteven
Thanks for your answer fanthom. I tested again, what is funny is that kbd layout is indeed correct in firefox. But not with system shell, if I switch with ctrl-alt-f1 I'm back with the US layout.

Re: locale won't set to fr_FR

Posted: 23 Aug 2013, 09:42
by fanthom
kiosk wizard supports setting keyboard layout for GUI only (which covers 99.99% of cases).

if you want french kbd in console then you'll have to follow this doc:
http://docs.slackware.com/slackware:localization
and pay attention to setting the console font and keymaps chapter.

i'm sure that kiosk is missing many required files so heavy tweaking may be required.

Re: locale won't set to fr_FR

Posted: 23 Aug 2013, 10:50
by wsteven
Ok then I'll pass this one :)
Thanks for the precise answer

Re: locale won't set to fr_FR

Posted: 24 Aug 2013, 02:13
by francois
Bonjour wsteven:

In console mode did you try to use

Code: Select all

setxkbmap fr
Maybe putting this file in rootcopy could be enough for your needs. This is a long shot as I do not work on kiosk already. But maybe this weekend, as it might be helpful for the office.

Re: locale won't set to fr_FR

Posted: 26 Aug 2013, 08:23
by wsteven

Code: Select all

root@porteus:~# setxkbmap fr
Cannot open display "default display"
Thanks for your concern, but no luck ;)