I don't actually know what this does but it seems to depend on XF86Config and those of us who use xorg.conf from XOrg are left out. I am trying to debug a session issue (ie using the Sessions editor in gnome doesn't add new sessions to gdm) when I came across this. # # Eeek, this seems like too much magic here # if [ -z "$XKB_IN_USE" ] && [ ! -L /etc/X11/X ]; then if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config` if [ -n "$xkbsymbols" ]; then setxkbmap -symbols "$xkbsymbols" XKB_IN_USE=yes fi fi fi Reproducible: Always Steps to Reproduce: 1.$EDITOR /etc/X11/Sessions/Gnome 2.Scroll down until you see the code pasted above
recent gdm's do not use this file anymore. As long as i get no reports because of this, I'm going to close it.