Xfce change language setting in XFCE4

I'm new to FreeBSD. I currenty have freebsd-version 14.0-RELEASE-p1 running on Oracle VM Virtualbox and have got XFCE4 to run. I find that although I set the keymap to "Japanese 106x" during bsdinstall, the keymap in the XFCE4 terminal is back to the default English language keymap. Could someone let me know how I can set the keymap in XFCE4, or point me at a suitable webpage where I can learn about configuring XFCE4 please? Thanks.
 
Hello.
Did you put the following in your '~/.xprofile' or '~/.xinitrc' file?

#!/bin/sh
export LC_ALL=ja_JP.UTF-8
export LANGUAGE=ja_JP.UTF-8
export LANG=ja_JP.UTF-8

Also, if you are using 'fcitx', did you enter the following in the above file?
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

Additionally, start 'fcitx-configtool' and check the following.
'Input Method' -> 'Current Input Method'

Are the following selected?
'Keyboard - Japanese'

Additionally, start 'xfce4-keyboard-settings' and check the following.
Click on the 'Layout' tab.
Enable 'Use system defaults'.
Check if 'Japanese' is displayed in 'Keyboard Layout'.
 
Thanks for this. This is a how-to for Japanese input method but what I was looking for was something to get LXFE to recognise my keyboard layout which has different characters assigned to it than the regular US keyboard. The Input Method is also something I need to set up, so the link is also very useful for me! Thank you for your help!
 
Hello.
Did you put the following in your '~/.xprofile' or '~/.xinitrc' file?

#!/bin/sh
export LC_ALL=ja_JP.UTF-8
export LANGUAGE=ja_JP.UTF-8
export LANG=ja_JP.UTF-8

Also, if you are using 'fcitx', did you enter the following in the above file?
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

Additionally, start 'fcitx-configtool' and check the following.
'Input Method' -> 'Current Input Method'

Are the following selected?
'Keyboard - Japanese'

Additionally, start 'xfce4-keyboard-settings' and check the following.
Click on the 'Layout' tab.
Enable 'Use system defaults'.
Check if 'Japanese' is displayed in 'Keyboard Layout'.
Thanks! I haven't set any of this up yet so I'll try setting these up. the command 'xfce4-keyboard-settings' looks like where I can set up the correct keymappings for my Thinkpad X230 Japanese 106 keyboard, but so far none of the Japanese keyboards that xfce4-keyboard-settings seems to expect quite match the keytops on my laptop. I guess I'll maybe select one of the presets which most closely resemble my thinkpad's and then make remaps for individual keys which are still wrong... Thanks again!
 
Back
Top