Tinycore Cheat Sheet
Louis (LoƩ) BERTRAND
https://github.com/louisgjbertrand https://louisbertrand.studio

2024/03/03 (yyyy/mm/dd)


Setting up key maps in tinycore Core (Textmode)




Introduction

tinycore in textmode uses a qwerty keymap by default which make it hard to
use it on non-qwerty keyboard or with a specific version of qwerty.

This manipulation requires your home folder to be persistant (add home=sda1
in the boot options). The keymap will be set at startup in the .profile script.
being able to store the keymap and save the edits to the .profile script is
mandatory.

here you will be able to change it with the keymap corresponding to your
physicall keyboard.

The use of a second computer/device is recommended for this tip.




Cheat sheet content

first search on your serach engine the keymap file you want to use.

Note : A fr.kmap file for azerty keyboards is available on this repo.
> http://repo.louisbertrand.studio/keymap/fr.kmap
> http://repo.louisbertrand.studio/keymap/fr.kmap.meta

once your kmap file found, go to a folder that is persistant in your
system. check out presistence_for_dummies on tinycore wiki (http://wiki.tinycorelinux.net/doku.php?id=wiki:persistence_for_dummies)
or in the installing in textmode cheatsheet (http://repo.louisbertrand.studio/help/tinycore/15.x/installing_in_textmode.txt)

note: i recommend creating a folder in your home folder (~) to store
any data that would be used at startup.

wget the kmap file in your selected location


    wget url


now you will need to add at the end of your ~/.profile file the following line:


    sudo loadkmap < file.kmap


with file being replaced by the actual name of your file.

note: you can do it using


    echo "\
    sudo loadkmap < file.kmap" >> ./profile


>> adds the stdout content to the file

you can also execute the command to sudo loadkmap < file.kmap to apply the
keymap in the current tinycore session.