You are not logged in.
Pages: 1
Hi all!
okay so i don't know if any of this is in the forum already, i can change the keylayout but not in the terminal when i run in my window manager (startx) "awesome"
When i boot i set the keylayout to loadkeys sv-latin1 and i have already configured nano /etc/lacale.gen so everything works until i start my window manager. my keylayout works in firefox and other applications like skype etc.
But when i start a terminal it wont work, even if i loadkeys sv-latin1 (it says loading keys /usr/etc etc etc sv-latin1. I took a look into nano /etc/locale.gen and it look the same as i configurated it in the firstplace (as it should "uncommented sv.SE-latin1" and i have both sv.SE-latin1 UTF-8 and ISO uncommented)
Any one have a ide of my little problem? i looked in the forum but i could't find anything about this, any help are welcome and really appreciated! ![]()
Best regards.
Offline
loadkeys only change the keyboard layout in the console, not under X. To change it under X, you have to use setxkbmap (for selecting a predefined keyboard) or xmodmap (to make custom modifications to an existing layout). You can also hard code you keyboard in the X configuration file: I have put the following section in /etc/X11/xorg.conf.d/10-evdev.conf:
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "fr"
Option "XkbModel" "pc105"
Option "XkbVariant" "oss"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSectionLast edited by olive (2013-02-25 16:44:50)
Offline
loadkeys only change the keyboard layout in the console, not under X. To change it under X, you have to use setxkbmap (for selecting a predefined keyboard) or xmodmap (to make custom modifications to an existing layout). You can also hard code you keyboard in the X configuration file: I have put the following section in /etc/X11/xorg.conf.d/10-evdev.conf:
Section "InputClass" Identifier "evdev keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "XkbLayout" "fr" Option "XkbModel" "pc105" Option "XkbVariant" "oss" Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSection
Hey thanks but when i type the command setxkbmap /etc/X11/xorg.conf.d/10-evdev.conf it says Error loading new keyboard description
What should i do?
regards!
Offline
Hey thanks but when i type the command setxkbmap /etc/X11/xorg.conf.d/10-evdev.conf it says Error loading new keyboard description
What should i do?
regards!
You can change the keboard with
setxkbmap fr (and type man setxkbmap for more options). Or edit /etc/X11/xorg.conf.d/10-evdev.conf, so that X start with your keymap.
Last edited by olive (2013-02-26 20:46:33)
Offline
Pages: 1