On Sun, 2004-11-07 at 18:59, Andrea Vettorello wrote:
[...]
> Do you run some DE, like Gnome or KDE? In Gnome you can modify your
> keyboard layout with "gnome-keyboard-properties", and IIRC with Gnome
> the XF86config XkbLayout option are overridden with the Gnome one...

Thanks for pointing this out, like I mentioned in my previous response I
use fluxbox.  If I launch the gnome-keyboard-properties in fluxbox the
settings are different from the ones I wrote earlier:
the keyboard layout is set to "Generic 105-key (Intl) PC)"
but no layout options were selected.  So I added "Press Right Alt-key to
choose 3rd level" (from the third level choosers options) and I get the
desired behaviour.

In gnome I changed the keyboard layout to pc105 although this didn't
seem to affect things much, I also added the "Press Right Alt-key to
choose 3rd level" layout option and removed the "Meta is mapped to the
Win-keys" option.  Afterwards the behaviour is as expected.

Unfortunately in fluxbox after logging out and logging back in the
settings are no longer in effect.  I have to launch the
gnome-keyboard-properties window again (though all values are saved) and
close it again.  I compared the output of "pstree" and "ps aux" before
and after starting gnome-keyboard-properties and noticed that the
following processes are started after launching
gnome-keyboard-properties:
/usr/lib/gconf2/gconfd-2 13
/usr/lib/bonobo-activation/bonobo-activation-server --ac-activate
--ior-output-fd=17
/usr/lib/control-center/gnome-settings-daemon
--oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oaf-iod-fd=21

In my .xinitrc on my desktop (which was originally created by SuSE)
there's a bit of code that looks like it may be usefull here:
#load this to have gtk2 apps look ok
GSDPID=`pidof gnome-settings-daemon`
if [  "x$GSDPID" == "x" ]; then
gnome-settings-daemon &
fi

I suppose I can add this to my .xsession but testing this mannually
shows that the processess are started but not with the right options:
gnome-settings-daemon [no options because I specified none]
/usr/lib/gconf2/gconfd-2 13
/usr/lib/bonobo-activation/bonobo-activation-server --ac-activate
--ior-output-fd=20  [20 in stead of 17]

Furthermore xscreensaver is also started and I get several
errors/warnings:
(gnome-settings-daemon:6308): Glib-Object-WARNING **: invalid cast from
`GstOssMixerTrack' to `GstElement'
(gnome-settings-daemon:6308): GStreamer-CRITICAL **: file gstelement.c:
line 2726 (gst_element_set_state): assertion `GST_IS_ELEMENT (element)'
failed
(gnome-settings-daemon:6308): Glib-Object-WARNING **: invalid cast from
`GstOssMixerTrack' to `GstElement'
Xlib: extension "GLX" missing on display ":0.0".
[repeated several times]

I assume the last one is caused by xscreensaver because I also get it
when I launch xscreensaver-demo to kill the xscreensaver daemon.

Can anybody tell me if I should or should not add the code or something
like it to my  ~/.xsession?

TIA

Bram
-- 
# Mertens Bram "M8ram"   <[EMAIL PROTECTED]>   Linux User #349737 #
# SuSE Linux 8.2 (i586)     kernel 2.4.20-4GB      i686     512MB RAM #
# 10:44pm  up 17 days 15:49,  8 users,  load average: 0.05, 0.08, 0.05 #


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to