keyboard setting problem when gnome started via startx

Joe Marcus Clarke marcus at
Mon Apr 7 16:28:11 UTC 2008

On Mon, 2008-04-07 at 08:52 -0700, George Hartzell wrote:
> Hi all,
> There are at least a couple of us that are having a problem where
> changes that we make in the keyboard options dialog aren't
> automagically applied when we start our gnome session via
> startx/.xinitrc.
> There's an open bug at
> I'm curious if anyone else is seeing this, or if anything comes to
> mind about how our gnome-session or hal or ??? works that might be
> causing problematic behaviour in FreeBSD.

I doubt the problem is with either if GDM users are not affected.  Since
it looks like this problem is not new to 2.22, I can't think of anything
GDM is doing (other than setting up the locale) that would be different
from startx calling gnome-session.  In fact, this is most likely a
problem with gnome-settings-daemon.

The suggestion in the bug to look at g-s-d under gdb is probably a good
one if not tricky.  You might try starting a twm session, then
start /usr/local/libexec/gnome-settings-daemon from the command line to
see if the keyboard settings are restored.  If not, kill it, then you
can restart it with gdb, and set some break points in the keyboard
setting code path (though I haven't looked at the g-s-d code recently to
know exactly what those function names are).


PGP Key :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url :

More information about the freebsd-gnome mailing list