LinuxQuestions.org
Review your favorite Linux distribution.
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, 01:54 AM   #1
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: VirtualBox win 10 guest | OpenBSD 6.3 bridge | Fedora 29 | Windows 10 pro
Posts: 365

Rep: Reputation: 142Reputation: 142
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, 02:12 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,218
Blog Entries: 7

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
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, 04:36 AM   #3
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: VirtualBox win 10 guest | OpenBSD 6.3 bridge | Fedora 29 | Windows 10 pro
Posts: 365

Original Poster
Rep: Reputation: 142Reputation: 142
i tried ur command but it didnt work, tested couple of fonts and no luck.
 
Old 09-17-2018, 05:57 AM   #4
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: VirtualBox win 10 guest | OpenBSD 6.3 bridge | Fedora 29 | Windows 10 pro
Posts: 365

Original Poster
Rep: Reputation: 142Reputation: 142
i tried :

# wsconsctl keyboard.encoding=fi

and

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

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

http://www.openbsd.org/faq/faq8.html#locales
 
Old 09-17-2018, 06:21 AM   #6
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: VirtualBox win 10 guest | OpenBSD 6.3 bridge | Fedora 29 | Windows 10 pro
Posts: 365

Original Poster
Rep: Reputation: 142Reputation: 142
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, 06:32 AM   #7
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 171

Rep: Reputation: 61
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 06:34 AM.
 
1 members found this post helpful.
Old 09-19-2018, 05:05 AM   #8
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: VirtualBox win 10 guest | OpenBSD 6.3 bridge | Fedora 29 | Windows 10 pro
Posts: 365

Original Poster
Rep: Reputation: 142Reputation: 142
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, 01:32 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,218
Blog Entries: 7

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
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, 02:01 AM   #10
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: VirtualBox win 10 guest | OpenBSD 6.3 bridge | Fedora 29 | Windows 10 pro
Posts: 365

Original Poster
Rep: Reputation: 142Reputation: 142
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 06:45 PM
[SOLVED] xfce4 lost keyboard layout, (testing) kaz2100 Debian 2 05-11-2011 03:56 AM
change keyboard layout xfce4 sycamorex *BSD 0 01-13-2008 04:41 PM
international keyboard layout in Xfce4 d00bid00b Linux - Desktop 0 08-17-2006 04:16 PM
Keyboard layout and terminal charset... lucat Linux - Hardware 0 03-31-2003 03:14 PM

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

All times are GMT -5. The time now is 09:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration