Comment 16 for bug 591895

Revision history for this message
Hinko Kocevar (hinkocevar) wrote :

cat /etc/issue
Linux Mint 11 Katya \n \l

uname -a
Linux hinkopc 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux

I had the same problem using "US keyboard with Slovenian letters" keyboard layout that I had wrongly chosen at install time. Later I realized I wanted just "Slovenian" keyboard layout. I could not delete the original keyboard layout permanently (it would always reappear after reboot, arghhh). Console keyboard layout was wrong. GDM/Xfce keyboard layout was wrong.

Here is how I solved the issue - after reboot undesired keyboard layout did not appear!

Edited /etc/default/keyboard (previously XKBVARIANT="us"):
XKBMODEL="pc105"
XKBLAYOUT="si"
XKBVARIANT=""
XKBOPTIONS=""

Edited /var/lib/gdm/Seat1/.gconf/apps/gdm/simple-greeter/%gconf.xml (previously <stringvalue>si us</stringvalue>):
<?xml version="1.0"?>
<gconf>
 <entry name="recent-layouts" mtime="1317367260" type="list" ltype="string">
  <li type="string">
   <stringvalue>si</stringvalue>
  </li>
 </entry>
 <entry name="recent-languages" mtime="1317367260" type="list" ltype="string">
  <li type="string">
   <stringvalue>en_US.utf8</stringvalue>
  </li>
 </entry>
</gconf>

Reboot!