Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Artie on March 22, 2009, 07:53:42 AM

Title: Norwegian keyboard?
Post by: Artie on March 22, 2009, 07:53:42 AM
I am trying out the latest TC but I am stuck at keyboard configuration. Would it be possible to put in a simple keyboard tool in the panel? If not, can someone please write out the exact procedure to get a Norwegian keyboard to work?

Artie
Title: Re: Norwegian keyboard?
Post by: curaga on March 22, 2009, 01:31:51 PM
See the FAQ:
http://www.tinycorelinux.com/faq.html#keyboard

Only change the keymap to the one you need, I guess it would be no-latin1?
Title: Re: Norwegian keyboard?
Post by: Artie on March 23, 2009, 09:52:35 AM
Sorry but I do not understand the faq. Please someone spell the procedure out for me.

Artie
Title: Re: Norwegian keyboard?
Post by: tobiaus on March 23, 2009, 05:17:26 PM
click the "x" button in the upper right corner of the screen, select "exit to prompt."

at the prompt enter:

sudo loadkmap < /usr/share/kmap/no-latin1.kmap

important note! "no-latin1,kmap" is a guess. it may be called something else. perhaps try this:

ls /usr/share/kmap

for a list of keymaps.

after you've used sudo loadkmap < /usr/share/kmap/no-latin1.kmap enter:

startx

using tc will let you know if you used the right keymap. to save changes, determine the location of your tce directory (if you've created one, you should know where it is.) open "appbrowser" from the menu and install kmaps.tce

install leafpad from the appbrowser, and open a term. type sudo leafpad /opt/bootlocal.sh

add this command:

loadkmap < /usr/share/kmap/no-latin1.kmap
Title: Re: Norwegian keyboard?
Post by: Artie on March 23, 2009, 05:42:45 PM
Installed kmaps.tce tried ls /usr/share/kmap no Norwegian keyboard in there. Thanks anyway.

Artie
Title: Re: Norwegian keyboard?
Post by: tobiaus on March 23, 2009, 07:30:34 PM
based on this http://forum.tinycorelinux.net/index.php?topic=135.0

it may be possible to add the norwegian layout. i don't understand the process well enough to know if we need your keyboard or not, but i suspect kmaps.tce can be updated with this in the future. not speaking for those maintaining the extension, though.
Title: Re: Norwegian keyboard?
Post by: Artie on March 30, 2009, 09:31:48 AM
I would really like to use TinyCore but I need the Norwegian keyboard map badly so can someone please add it?

Artie
Title: Re: Norwegian keyboard?
Post by: curaga on March 30, 2009, 12:23:32 PM
According to google, both the keymaps no.kmap and no-latin1.kmap are meant for norwegian keyboards. Is there some issue with them?
Title: Re: Norwegian keyboard?
Post by: tobiaus on March 30, 2009, 06:14:08 PM
According to google, both the keymaps no.kmap and no-latin1.kmap are meant for norwegian keyboards. Is there some issue with them?

are you certain tinycore includes them?
Title: Re: Norwegian keyboard?
Post by: curaga on March 31, 2009, 12:06:12 PM
Yes, see kmaps.tce.list:
ftp://ftp.nluug.nl/pub/metalab/distributions/tinycorelinux/tce/kmaps.tce.list
Title: Re: Norwegian keyboard?
Post by: tobiaus on March 31, 2009, 12:45:50 PM
.list

oh right, i was just mentioning .list thanks.
Title: Re: Norwegian keyboard?
Post by: Artie on March 31, 2009, 03:15:51 PM
Did not find Norwegian keyboard on the list on the screen but was on the list in the link here. Norwegian keyboard works initially but not when I reboot. What is wrong with the procedure below?

Clicked X upper right
Exit to prompt
OK
startx
appbrowser
connect
TCE
kmaps.tce
Install Selected
Close
leafpad.tce
Install Selected
Close
Close appbrowser
Aterm
sudo leafpad /opt/bootlocal.sh
leafpad opens

#! /bin/sh
# put other system startup command here
loadkmap < /usr/share/kmap/no-latin1.kmap
return
File
Save
Close leafpad
Close terminal
Uncheck backup
Reboot
tinycore waitusb=5

Artie

Title: Re: Norwegian keyboard?
Post by: curaga on March 31, 2009, 04:29:50 PM
This part caught my attention:

Quote
Uncheck backup

If you don't backup your personal files, bootlocal.sh won't be around after a reboot either.
Title: Re: Norwegian keyboard?
Post by: Artie on April 01, 2009, 09:49:34 AM
I thought any change would be automatically saved in the tce file I created on sda1 as I can see when I boot that TC picks up Opera and all the other stuff I installed with the appbrowser. What must I do in my procedure to make a backup to make the Norwegian keyboard stick? If possible please write out the procedure like I did.

Artie
Title: Re: Norwegian keyboard?
Post by: Juanito on April 01, 2009, 10:00:39 AM
Any extension in /tce will be loaded on boot, but files which are not in any extension will need to be backed up in order to be restored on boot.

The backup is controlled by two files - /opt/filetool.lst and /opt/xfiletool.lst - you list the files/folders you want to be saved in the first file and the files/folders you do not want to be saved in the second file (a subset of the files named in the first list).

Once you have filetool.lst set up, you use the backup button in the panel to define where your backup will be stored and the files will be saved on shutdown thereafter.
Title: Re: Norwegian keyboard?
Post by: tobiaus on April 01, 2009, 10:37:01 AM
I thought any change would be automatically saved in the tce file I created on sda1 as I can see when I boot that TC picks up Opera and all the other stuff I installed with the appbrowser.

tc is unassuming. (it should be a slogan.) when you first use it that can be a real bother, but it's nice to know that it won't make changes behind your back (unless there's a bug or infection.) on the other end of the spectrum, operating systems just "assume" you'd like to try the latest version of something, or even try apps you never installed, and they just go ahead and put them on your system or change your configs. most linux distros are somewhere in the middle, but that can cause even more confusion than one that assumes everything (or assumes nothing.)
Title: Re: Norwegian keyboard?
Post by: nickispeaki on April 09, 2009, 04:22:42 PM
2Artie:
How are you?

How is your no-kmap?
I watch. Because i'm interesting side - i'm ukrainian. I use 3 keymaps - en, ua, ru....

Do you have any success?
Title: Re: Norwegian keyboard?
Post by: Artie on April 09, 2009, 05:12:23 PM
Hi nickispeaki. I found the Norwegian keyboard but couldn't get it to stick between reboots. I'm a distro junkie but I've never! tried a distro before where you couldn't simply choose your keyboard and it remembered it at next reboot. I didn't understand the explanation about /opt/filetool.lst and /opt/xfiletool.lst and so on either so I just gave up. All the explanations sound like riddles to me. I asked for a procedure like the one I wrote up because those I understand but none have appeared.

Artie