LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 09-17-2018, 12:54 AM   #1
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
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.
 
Old 09-17-2018, 01:12 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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?
 
Old 09-17-2018, 03:36 AM   #3
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
i tried ur command but it didnt work, tested couple of fonts and no luck.
 
Old 09-17-2018, 04:57 AM   #4
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
i tried :

# wsconsctl keyboard.encoding=fi

and

# touch /etc/wsconsctl.conf
# echo "keyboard.encoding=fi" > /etc/wsconsctl.conf
 
Old 09-17-2018, 05:04 AM   #5
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 289

Rep: Reputation: 169Reputation: 169
Perhaps localization is not completely provisioned?

http://www.openbsd.org/faq/faq8.html#locales
 
Old 09-17-2018, 05:21 AM   #6
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
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.

//////
 
Old 09-17-2018, 05:32 AM   #7
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 289

Rep: Reputation: 169Reputation: 169
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>.

Last edited by jggimi; 09-17-2018 at 05:34 AM.
 
1 members found this post helpful.
Old 09-19-2018, 04:05 AM   #8
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
thanks guys.

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

thanks.
 
Old 09-20-2018, 12:32 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ////// View Post
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.
 
Old 09-20-2018, 01:01 AM   #10
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Original Poster
Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Quote:
Originally Posted by ondoho View Post
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard layout plugin disappears after keyboard is plugged in XFCE4 fsb Linux - Laptop and Netbook 0 01-04-2013 05:45 PM
[SOLVED] xfce4 lost keyboard layout, (testing) kaz2100 Debian 2 05-11-2011 02:56 AM
change keyboard layout xfce4 sycamorex *BSD 0 01-13-2008 03:41 PM
international keyboard layout in Xfce4 d00bid00b Linux - Desktop 0 08-17-2006 03:16 PM
Keyboard layout and terminal charset... lucat Linux - Hardware 0 03-31-2003 02:14 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration