Ask your questions here.
Post a reply

keymap setting not working outside xfce4 Solved

Mon Dec 26, 2016 2:42 am

works fine in xfce4, but in LXDE and Windowmaker it resets to US keyboard.

trying the debian method does not work -following the Debian Wiki.

I'm puzzled at this as it has not been a problem in Debian. Has Refracta changed the keyboard setup or system files?
Last edited by coyotl on Mon Dec 26, 2016 1:01 pm, edited 1 time in total.

Re: keymap setting not working outside xfce4

Mon Dec 26, 2016 3:41 am

iirc i had the same problem.
solved it by editing etc/default/keyboard
(or similar, if that path is wrong, try "locate keyboard | grep etc" or "grep usr" or such)

can't check the path, as i am not on refracta. if it is wrong, you don't find the file and no one knows, i can give the correct path.

Re: keymap setting not working outside xfce4

Mon Dec 26, 2016 10:37 am

(On Debian), I used to put a line in my bashrc.
Code:
setxkbmap gb

but I think it should really go in one of the xsession type files.

Re: keymap setting not working outside xfce4

Mon Dec 26, 2016 12:02 pm

I'm aware of that solution but it's kinda primitive and I never needed to do this in Debian (I used it several years, from Potato to Wheezy). Localization worked quite well except that it was a sometimes annoying mix of Swedish, Danish, Norwegian, my locale is Norwegian. Keymap always worked fine in X and console.

I suppose this could go in .xinitrc but if .bashrc works why not.

Re: keymap setting not working outside xfce4

Mon Dec 26, 2016 1:01 pm

Thanks guys that fixed it.
The keyboard file had been modified by my following the debian wiki so was ok.
Possibly it seemed not to work because i just logged out to lightdm and in again - ?

Adding setxkbmap to bashrc may have helped too, does no harm anyway.

So the setup files are the same, as expected.

Just a little strange, haven't had to mess with this since Debian Lenny or something.

Re: keymap setting not working outside xfce4 Solved

Mon Dec 26, 2016 10:39 pm

On distros not based on debian i too have put it in .bashrc (or profile?), just to get rid of having to type setxkbmap again and again.
They also have different bashrc files, more or less empty, so it is easy to keep track of what i put there.
Or sooner or later i find the correct solution (the solution recommended by that distro).

not that sure what i wanted to say.

Re: keymap setting not working outside xfce4 Solved

Tue Dec 27, 2016 2:00 pm

Very easily fixed anyway. About the only problem I found which is good

Re: keymap setting not working outside xfce4 Solved

Tue Dec 27, 2016 7:02 pm

I followed this howto to fix language support.
It has been cut to keep the iso CD size.

to-use-the-refracta-in-your-native-language-t645.html
Post a reply