Is everything right in /etc/sysconfig/keyboard - YAST_KEYBOARD="portugese-br,pc104" However, when I change to console (ctrl+alt+f2) the layout of keyboard changes. Then, when I back to Gnome the keyboard layout still wrong.