WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Euro key missing pc105, fi keyboard, Xorg  (Read 5419 times)

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Euro key missing pc105, fi keyboard, Xorg
« on: February 11, 2012, 08:28:51 AM »
Probably font encoder have to be changed from ISO-8859-1-> ISO-8859-15, but how?

Xorg docs are old, very old.

 If those Xorg -docs are concurrent, new configuration should be done from xsession -file, I think.

Modern way would be just to set LANG variable:

export LANG="fi_FI@euro ISO-8859-15"

How this should do for TC?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #1 on: February 11, 2012, 08:43:22 AM »
Hi Yleisajattelija
Go to the search page and search for 8859.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #2 on: February 11, 2012, 09:53:14 AM »
Okay, let it be UTF-8 then (don't care, whatever works is good for me).

How do I setup UTF-8?

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #3 on: February 11, 2012, 09:54:33 AM »
Use search, I know, I know...

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #4 on: February 11, 2012, 12:42:49 PM »
Which apps? I don't think locale matters here, the Xorg keymap for fi has Euro for altgr-e.

If you have a proper font for the app, you should see the euro sign correctly.
The only barriers that can stop you are the ones you create yourself.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #5 on: February 11, 2012, 01:42:25 PM »
Keymap is "fi-latin9.kmap". Euro symbol is missing, other special characters OK.

getlocale.tcz -> mylocale.tcz(finnish UTF-8 selected, onboot) -> on console typing "locale" gets "LANG=C" (I think should be "LANG=fi", if locales loaded correctly).


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #6 on: February 11, 2012, 01:55:12 PM »
You spoke of Xorg in the first post? Anyway, you still need proper fonts for the app.

Locale is not set automatically, did you set it somewhere?
The only barriers that can stop you are the ones you create yourself.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #7 on: February 11, 2012, 02:03:28 PM »
Xorg is.

I think it is up the distro how locales are set. TC can do it how it wants, too.

Best would be if, Xorg could read locales correctly on Xorg-boot from LOCALE vars, with default font encoder table.

kill X -> export LANG=fi_FI.UTF-8" -> startx -> resulting mess.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #8 on: February 11, 2012, 02:11:53 PM »
kill X -> export LANG=fi_FI@euro ISO-8859-15"" -> startx -> OK, no Euro char on console/editor but Firefox OK -> flwm font problem, I think.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #9 on: February 11, 2012, 02:16:02 PM »
Did you try changing /etc/sysconfig/language ?

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #10 on: February 11, 2012, 03:01:33 PM »
Should I?

If Tinycore installer asks for locales, it should set these language on correct order, I think.

Besides, when USB boot -> must include /etc/sysconfig/language file to list for USB-storing.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #11 on: February 11, 2012, 03:25:18 PM »
When /etc/sysconfig/language is added to ".filetool.lst" file, LANG is set properly.

Is this the TC way?

I'm not sure, if Xorg and/or X-applications are reading these vars for settin locales anyway (should read, I think).

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #12 on: February 11, 2012, 03:57:23 PM »
/etc/sysconfig/language is set from the lang= bootcode.  That is the proper way to set it.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #13 on: February 12, 2012, 07:50:28 AM »
No direct boot code entry on USB boot (alt or shift maybe?).

I tried append + LANG=fi to extlinux.conf file, but syntax was wrong -> master crash.

a) Is the extlinux.conf correct place
b) If so, what is the syntax (extlinux doc is "normal"=bad, or even more)

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: Euro key missing pc105, fi keyboard, Xorg
« Reply #14 on: February 13, 2012, 05:47:06 AM »
Parser needs string, of course, without hips -> mastercrash.

Probaly correct line to extlinux.conf is:

APPEND LANG="fi_FI@euro ISO-8859-15"

-> bootcode LANG set
-> /etc/sysconfig/language set
->  whatabout Xorg?. It should read LANG group vars and set locales correctly automatically. Unfortunatelly Xorg didn'n work on first trial. Still missing something?

FLTK 1.3 probaly use old font encoder table, so euro charcer is missing. I hope FLTK 2.0 fixes this.