Jacques Montier a écrit :
I don't use Gnome but Xfce and roxterm terminal.
In Xfce, the border of roxterm is managed by xfce (xfwm4) and is ok.
In Metisse (inside Xfce or other wm) the border of roxterm is quite small.
ok for your .xsession, may be could i find some ideas.
Here's what I can tell you about Gnome. The usual way of launching Gnome
is to run the "gnome-session" program. This will launch dbus, nautilus,
gnome-panel, and also metacity (Gnome's WM).
Thing is, the window manager can be overridden using the WINDOW_MANAGER
environment variable that gnome-session reads.
So for Xfce, the correct course of action would be to force Xfce to run
metisse-start instead of Xfwm.
It seems that xfce provides no such options, so you'll have to figure
this one on your own as I don't use Xfce at all.
And here's my .xsession (caveat, the dbus hack might be specific to
Gentoo, YMMV)
Cheers
--
Rémi Cardona
LRI, INRIA
[EMAIL PROTECTED]
[EMAIL PROTECTED]
#!/bin/bash
log() {
echo "metisse-xsession: " $@
}
prefix=/home/remi/Projets/root
export METISSE_GEOM=`xdpyinfo | awk '$1 == "dimensions:" { print $2 }'`
log "geom: $METISSE_GEOM"
ulimit -c unlimited
# run the compositor/WM
export METISSE_REAL_DISPLAY="$DISPLAY"
export METISSE_FAKE_DISPLAY=":10"
export PATH="$prefix/bin:$PATH"
export AT_SPI_DISPLAY="$METISSE_FAKE_DISPLAY"
export XKL_XMODMAP_DISABLE=1
#export XDG_CONFIG_DIRS=/etc/xdg:/etc/xdg/gnome
#export XMODIFIERS="@im=none"
# run the Xmetisse server
Xmetisse -geometry $METISSE_GEOM -ac $METISSE_FAKE_DISPLAY &>
~/log-metisse-xmetisse &
sleep 1
#eval `/usr/bin/dbus-launch --exit-with-session --sh-syntax`
#s2u --daemon=yes
#$prefix/bin/metisse-start-fvwm -wd :10 &> ~/log-metisse-fvwm &
export DISPLAY="$METISSE_FAKE_DISPLAY"
export WINDOW_MANAGER="metisse-start-fvwm -wd $METISSE_FAKE_DISPLAY -- -d
$METISSE_REAL_DISPLAY -- -i default0"
# unset old xinitrc.d env
killall dbus-daemon
killall dbus-launch
unset DBUS_SESSION_BUS_ADDRESS
#unset GPG_AGENT_INFO
# FIXME...
# run dbus
. /etc/X11/xinit/xinitrc.d/30-dbus
# run all system xinitrc shell scripts.
#if [ -d /etc/X11/xinit/xinitrc.d ]; then
# for i in /etc/X11/xinit/xinitrc.d/* ; do
# if [ -x "$i" ]; then
# . "$i"
# fi
# done
#fi
log "xinitrc.d done"
DISPLAY="$METISSE_REAL_DISPLAY" xterm -geometry 150x50 &
# start gnome with metisse
gnome-session --sm-disable &> ~/log-metisse-gnome-session
# start just metisse
#$WINDOW_MANAGER &> ~/log-metisse-compositor
killall Xmetisse
_______________________________________________
Metisse mailing list
[email protected]
http://lists.lri.fr/mailman/listinfo/metisse