Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: SamK on February 16, 2010, 05:02:07 AM

Title: uk.kmap Inconsistent Behaviour in LXDE
Post by: SamK on February 16, 2010, 05:02:07 AM
The UK keyboard works correctly with leafpad and aterm but not with lxterminal.  Tested with the British currency symbol; the pound sign = shift numeral 3 (not number keypad)
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: bmarkus on February 16, 2010, 07:35:55 AM
Are you using Xorg or Xvesa? How did you setup UK kyeboard?
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: SamK on February 16, 2010, 07:52:35 AM
Are you using Xorg or Xvesa?
Xvesa

How did you setup UK kyeboard?
bootlocal.sh
Code: [Select]
# Load the UK keyboard.  This requires kmaps.tcz to be installed at bootup.
loadkmap < /usr/share/kmap/uk.kmap
   
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: bmarkus on February 16, 2010, 08:40:49 AM
You may try Xorg.
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: SamK on February 16, 2010, 08:55:32 AM
You may try Xorg.
I've tried Xorg but can't get it to work.  It installs and is listed in onboot.lst.  On reboot the GUI is not displayed just a string of numbers.  I tried creating an xorg.conf but have no idea what to change in the file. I tried testing the X server with the new xorg.conf as per the instructions displayed when creating the new file but the system just hung. Although I don't think it is required I also tried installing graphics-2.6.29.1-tinycore.tcz again no GUI.

I know xorg works on this machine as I have used it with Ubuntu in the past.  I have no idea why it does not work with TC.

Edit: that should read ...with Ubuntu using Openbox and LXDE in the past
  
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: bmarkus on February 16, 2010, 09:19:57 AM
Which TC version you are using and what is the graphics hardware?
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: SamK on February 16, 2010, 10:08:23 AM
Which TC version you are using
2.8.1

what is the graphics hardware?
Nothing unusual - an onboard SIS 650/740
   
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: curaga on February 16, 2010, 11:14:51 AM
Not unusual, but very... bad (both the chip and driver). Do try the vesa driver, by copying the included xorg.conf.vesa to xorg.conf in /etc/X11.
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: SamK on February 16, 2010, 01:41:59 PM
Not unusual, but very... bad (both the chip and driver).
They may not be the best but I must work with what is here and there are quite a few of them, plus they do work OK with other OSs/distros.


Do try the vesa driver, by copying the included xorg.conf.vesa to xorg.conf in /etc/X11.
Tried without success. On reboot the GUI is not displayed just a string of numbers.
   
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: bmarkus on February 17, 2010, 07:48:32 AM
lxterminal issue seems to be a Language problem. TC default language is "C". To display special national characters in lxterminal you need to setup proper language environment usually. For example 'é' 'á' 'ü' etc. displayed properly in aterm but in lexterminal only '?' by default. I guess you need UK English language setting.
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: SamK on February 17, 2010, 08:31:50 AM
lxterminal issue seems to be a Language problem. TC default language is "C". To display special national characters in lxterminal you need to setup proper language environment usually. For example 'é' 'á' 'ü' etc. displayed properly in aterm but in lexterminal only '?' by default. I guess you need UK English language setting.
Thanks for the advice.  Do you know of a TC guide to doing this?
   
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: bmarkus on February 17, 2010, 09:01:47 AM
This may help: http://forum.tinycorelinux.net/index.php?topic=4739.0
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: SamK on February 18, 2010, 05:01:13 AM
This may help: http://forum.tinycorelinux.net/index.php?topic=4739.0
Thanks for the link but I have not been able to find a setting that alters the inconsistent behaviour of lxterminal.  Regrettably, the most convenient resolution may be to use aterm in preference to  lxterminal.
   
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: bmarkus on February 18, 2010, 06:17:24 AM

Regrettably, the most convenient resolution may be to use aterm in preference to  lxterminal.
   

You can configure character set and size (resolution) in lxterminal and set up what is convenient for you.
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: SamK on February 18, 2010, 06:39:05 AM

Regrettably, the most convenient resolution may be to use aterm in preference to  lxterminal.
   

You can configure character set and size (resolution) in lxterminal and set up what is convenient for you.
My choice of words may have led to a misunderstanding.  I was referring to a resolution of the problem with lxterminal not correctly displaying all UK keyboard keystrokes.

Additional testing has shown that only two keystrokes do not display correctly in lxterminal
 
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: banditman on February 18, 2010, 08:53:41 AM
I have the same problem running tinycore on my acer aspire one thought it was because of xvesa so installed xorg and still doesnt work cannot get the £ sign !! in lxterminal although xterm and beaver does let me type the £ also web browser not recognising any caracters other than letters! opera browser eg in google search it will only let me type letters no hash symbols or the infamous pound sign.

I think its related to the language settings but how do we change from the default 'C'  ??
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: banditman on February 19, 2010, 02:27:52 PM
Any more suggestions for this annoying problem?
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: bmarkus on February 19, 2010, 02:40:16 PM
Any more suggestions for this annoying problem?

Did you try to set up locale environment to en_GB ?
Title: Re: uk.kmap Inconsistent Behaviour in LXDE
Post by: banditman on February 19, 2010, 02:42:47 PM
How do I go about doing that?