Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53528 - Gnome default session (upstream) is hard scripted to XF86Config
Summary: Gnome default session (upstream) is hard scripted to XF86Config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-10 07:27 UTC by Adam Hewgill
Modified: 2004-08-29 08:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Hewgill 2004-06-10 07:27:56 UTC
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
Comment 1 foser (RETIRED) gentoo-dev 2004-08-29 08:11:56 UTC
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.