openbox + gnome-session?

Hi,
I'm running openbox with tint2 and other more or less "usual" stuff. I would like to run wbar but it seems it needs a desktop session to be able to stay atop of other windows otherwise it is pretty useless. Which brings me to gnome. I had it already installed so decided to try and run it with openbox as WM.
I am not sure if this is the right way:

Code:
 cat .xinitrc 
/usr/local/bin/openbox-session

Code:
cat .config/openbox/autostart.sh
gconftool-2 -s -t bool /apps/nautilus/preferences/show_desktop false &
gconftool-2 -s -t bool /desktop/gnome/background/draw_background false &
gconftool-2 -s -t boot /apps/nautilus/preferences/always_use_browser false &
gconftool-2 -s -t bool /apps/nautilus/preferences/show_advanced_permissions true &
/usr/local/bin/gnome-session &
eval `cat $HOME/.fehbg` &
(sleep 2 && tint2) &
conky &

Code:
 cat .gnomerc 
export WINDOW_MANAGER=/usr/local/bin/openbox-session

With this I can't remove bottom panel in my gnome session. Also, .Xdefault which was running fine in pure openbox now doesn't start.

What are the advantages of running openbox like this? I mean if you are already settled on running openbox why run gnome-session ? Can't you just run apps from gnome you need?

Sorry if it's a question too much, I haven't gotten around playing with this too much in the past.
 
Back
Top