Archive for août 2015

I’m a little oldschool so I log in debian using startx… but for some reason, a few months ago, I lost the french keymap ‘fr’ in tty but not in X11.

If you want to know how to make it work in X11, check out my .xinitrc file.

Otherwise read on.

When I do ‘loadkeys defkeymap’ as root I get : /usr/share/keymaps/i386/qwerty/defkeymap.kmap.gz

Wrong answer when I would be expecting : /usr/share/keymaps/i386/azerty/defkeymap.kmap.gz

So I tried Google… where you are asked to dpkg-reconfigure console-data, console-setup or keyboard-configuration. But it failed for me and quite a few other users…

You know that you’ll have do : ‘loadkeys fr’ after each boot… Soooo… why not add it to /etc/rc.local ? Just before ‘exit 0’…

Reboot… Works like a charm.

Now for some other reason, it seems that if you uninstall console-data (with console-common) there is no more /usr/share/keymaps/ directory… and no more problem either…

So there you have it… 2 ways to bypass the problem permanently.

Read Full Post »