LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-14-2017, 04:30 PM   #1
scootergrisen
LQ Newbie
 
Registered: Feb 2017
Posts: 14

Rep: Reputation: Disabled
After selecting keyboard map the screen shows squares for some characters


When i select "qwerty/da.map" on the "KEYBOARD MAP SELECTION" screen then on the next screen where i can test if the keyboard is correct i can't really test if its correct because when i type "æøå" on my keyboard they just appear as squares "■ ■ ■ ".

I would like it to be fixed so that "æøå" will work correctly for danish keyboard layout.

I'm guessing this is because of the font used.
But after logging in as root if i type "ø" the prompt changes from "root@slackware:/# " to "(arg: 8) "
Typing "æåÆØÅ" does not seem to do anything.

Last edited by scootergrisen; 02-14-2017 at 04:34 PM.
 
Old 02-15-2017, 05:07 AM   #2
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Hi,

you can try to change the locale.

Code:
locale -a
will list all possible locales for your machine.

Then you must change /etc/profile.d/lang.sh
 
Old 02-15-2017, 08:21 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Where do you see this "KEYBOARD MAP SELECTION" screen?

In any case the terminus fonts ter-1* seem to have the needed glyphs.

To install one of these fonts type in a Linux console "setfont ter-132b" for instance then "showconsolefont" to display all provided glyph. Smaller sizes than 32 are available (even numbers between 14 and 30) and b at the end of the font name stands for "bold". Use n instead for "normal".
 
Old 02-17-2017, 11:43 AM   #4
scootergrisen
LQ Newbie
 
Registered: Feb 2017
Posts: 14

Original Poster
Rep: Reputation: Disabled
There are no "locale" command at this time before installation i suppose (i get "sh: locale: command not found").

I run slackware-14.2-install-dvd.iso and when the prompt says "boot: " i press enter and then the prompt says "Enter 1 to select a keyboard map: ". I enter 1 and enter.
I select qwerty/dk.map and press OK.
Then i type æøå to test but i get ■ ■ ■ instead.

setfont ter-132b gives "setfont: ter-132b: No such file or directory".
showconsolefont gives "sh: showconsolefont: command not found".

Last edited by scootergrisen; 02-17-2017 at 11:44 AM.
 
Old 02-17-2017, 04:27 PM   #5
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
I think the OP is talking about the keyboard map screen when booting install media, before 'You may now login as root'.
 
Old 02-18-2017, 07:37 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
OK I see now. The Terminus font and the showconsolefont binary are not included in Slackware installer. Just complete the installation (you wont need to type or display any character outside the ASCII set), then after installation you will be able to set a proper font as suggested in my previous post.

Or install Slint
 
Old 02-18-2017, 09:12 AM   #7
scootergrisen
LQ Newbie
 
Registered: Feb 2017
Posts: 14

Original Poster
Rep: Reputation: Disabled
I would like the problem with the squares to be fixed so that it can be corrected in future releases.
I don't think its only a problem with font because if that was the case i would properly not get "(arg: 8) " at the prompt. But maybe i'm wrong.
 
Old 02-19-2017, 06:49 AM   #8
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Can you choose dk-latin1 instead when installing?
 
Old 02-19-2017, 10:36 AM   #9
scootergrisen
LQ Newbie
 
Registered: Feb 2017
Posts: 14

Original Poster
Rep: Reputation: Disabled
qwerty/dk-latin1.map and qwerty/dk.map gives the same result with the squares and "(arg: 8) ".
 
Old 02-19-2017, 11:15 AM   #10
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
The no-latin1.map or no.map should also work and give you the æ,ø,å characters. Can you check this?
 
Old 02-19-2017, 01:38 PM   #11
scootergrisen
LQ Newbie
 
Registered: Feb 2017
Posts: 14

Original Poster
Rep: Reputation: Disabled
no.map gives me "|{}\[]" when i type "æøåÆØÅ".
no-latin1.map gives me "■ ■ ■ ■ ■ ■" i type "æøåÆØÅ".

sv-latin1.map gives me "■ ■ ■ ■ ■ ■" i type "æøåÆØÅ".
There are no sv.map it seems.

dvorak/no-dvorak.map also gives "■ ■ ■ ■ ■ ■" when i type "æøåÆØÅ" where they are suppose to be on dvorak keyboard.
 
Old 02-19-2017, 04:35 PM   #12
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
I think that the terminus font loaded by the boot media isn't complete, with all utf-8 characters.
As Didier said, you can run setup and install the system with default keyboard map.

After, with system installed, as aragorn2101 and Didier said, edit /etc/profile.d/lang.sh with your language,
/etc/rc.d/rc.keymap with desired keyboard map (for console I prefer us-acentos, it gives me
some pt_BR characters that need dead keys, ç ã é ê í ó etc)
and /etc/rc.d/rc.font with a font with utf-8 support.
Terminus ter-118n.psf has utf-8 support and is a good font for 1680x1050 console,
I don't have to use glasses to read the screen .
 
Old 02-20-2017, 10:12 AM   #13
scootergrisen
LQ Newbie
 
Registered: Feb 2017
Posts: 14

Original Poster
Rep: Reputation: Disabled
How can i know which fonts contains æøåÆØÅ and which does not?
How would i know which font have UTF-8 support and which does not?

Seems default8x16.psfu.gz is the default after install... i dont know if it is the default before install.
But now after installation when i select default8x16.psfu.gz with setconsolefont and type "æøåÆØÅ" i get "æ?åÆ?Å".

Also i selected to use UTF-8 during install.
Running unicode_start and typing "æøåÆØÅ" gives "æøåÆØÅ" .
 
  


Reply



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
Slackware installation stops when selecting a keyboard map swapjim Slackware 13 08-30-2015 05:05 PM
[SOLVED] Console don't write but partially shows utf8 characters (keyboard is configured) dbagatini Slackware 3 07-17-2012 02:45 PM
Terminal shows unicode squares for control characters ghostknife Linux - Software 5 12-30-2009 05:46 AM
KDE splash screen has squares instead of latin characters calande Linux - Software 0 11-22-2006 10:47 PM
How do I map my keyboard to be able to enter Danish characters ajede Linux - Hardware 1 10-10-2005 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:39 PM.

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