LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   OpenBSD: xfce4 terminal keyboard layout. (https://www.linuxquestions.org/questions/%2Absd-17/openbsd-xfce4-terminal-keyboard-layout-4175638554/)

////// 09-17-2018 12:54 AM

OpenBSD: xfce4 terminal keyboard layout.
 
hello all.

i just installed OpenBSD 6.3 and i am having problems with terminal emulator, i cant set it to use finnish keyboard layout.

at boot when i havent started xfce4 i can use letters like 'ä' and 'ö', but when i have launched xfce4 with command 'startxfce4' and try to use terminal emulator 'ö' becomes '"o' and 'ä' becomes '"a'.

if i use geany i can type letters like ö/ä without problems.

not sure what i should do next.

ondoho 09-17-2018 01:12 AM

can you fix the situation manually by entering
Code:

setxkbmap fi
???

could it be a font problem, i.e. the font doesn't have these letters?

////// 09-17-2018 03:36 AM

i tried ur command but it didnt work, tested couple of fonts and no luck.

////// 09-17-2018 04:57 AM

i tried :

# wsconsctl keyboard.encoding=fi

and

# touch /etc/wsconsctl.conf
# echo "keyboard.encoding=fi" > /etc/wsconsctl.conf

jggimi 09-17-2018 05:04 AM

Perhaps localization is not completely provisioned?

http://www.openbsd.org/faq/faq8.html#locales

////// 09-17-2018 05:21 AM

thank you for reply.

i installed Terminator which has been my main terminal emu for a long time, öä letters work with it.
i'll try to fix xfce terminal later.

//////

jggimi 09-17-2018 05:32 AM

Ah hah! I found guidance in the pkg-readme file. Excerpt below. See the file in /usr/local/share/doc/pkg-readmes/ for more information.
Code:

Terminal, special characters and localized applications
=======================================================
If you use a particular non-ascii encoding and have problems seeing
special characters in terminal (like accentued characters in french),
you should add this line to your .xinitrc/.xsession before startxfce4:

export LC_CTYPE=fr_FR.ISO8859-15

where LC_CTYPE is defined by <language>_<country>.<encoding>.


////// 09-19-2018 04:05 AM

thanks guys.

finnish keyboard layout is sv, and i found a GUI method to set terminal encoding to finnish (nordic).

thanks.

ondoho 09-20-2018 12:32 AM

Quote:

Originally Posted by ////// (Post 5905191)
finnish keyboard layout is sv

this must be bsd specific?
on my archlinux it's fi or se (i found out some time ago that they actually use the same keyboard layout), but never sv.

////// 09-20-2018 01:01 AM

Quote:

Originally Posted by ondoho (Post 5905581)
this must be bsd specific?
on my archlinux it's fi or se (i found out some time ago that they actually use the same keyboard layout), but never sv.

i think it is BSD specific , but i dont remember if *freebsd had the same thing.

*(freebsd -> pfsense)


All times are GMT -5. The time now is 07:51 PM.