You are not logged in.
***EDIT***
I'd also like to point out that if I right-click the exact second my desktop boots up I can get a openbox menu but afterwards it goes away. Also, I can access the openbox menu if I pkill nautilus.
-----------------------
I searched for this but didn't really see anything helpful; though it is possible I may have overlooked it based off how the OP worded it, sorry if this is the case.
But I have gnome shell installed and I'm trying to switch over to openbox (and potentially even a wm later on down the road just to see how that sort of stuff works) and it loads and all but once I right-click my desktop I get the nautilus right-click menu instead of the openbox one. how can I fix this?
Last edited by xKISAMEx (2011-09-27 10:54:08)
Offline
You need to run nautilus with the --no-destkop option. Otherwise it will override your openbox menu because it draws the desktop.
Offline
That was happening to me until I commented out a bunch of stuff in my autostart.sh. Here is mine for reference:
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.
# Set a background color
BG="000000"
if which hsetroot >/dev/null 2>&1; then
BG=hsetroot
else
if which esetroot >/dev/null 2>&1; then
BG=esetroot
else
if which xsetroot >/dev/null 2>&1; then
BG=xsetroot
fi
fi
fi
test -z $BG || $BG -solid "#303030"
# D-bus
#if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
# eval `dbus-launch --sh-syntax --exit-with-session`
#fi
# Make GTK apps look and behave how they were set up in the gnome config tools
#if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
# /usr/libexec/gnome-settings-daemon &
#elif which gnome-settings-daemon >/dev/null 2>&1; then
# gnome-settings-daemon &
# Make GTK apps look and behave how they were set up in the XFCE config tools
#elif which xfce-mcs-manager >/dev/null 2>&1; then
# xfce-mcs-manager n &
#fi
# Preload stuff for KDE apps
#if which start_kdeinit >/dev/null 2>&1; then
# LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
#fi
# Run XDG autostart things. By default don't run anything desktop-specific
# See xdg-autostart --help more info
#DESKTOP_ENV="OPENBOX"
#if which /usr/lib/openbox/xdg-autostart >/dev/null 2>&1; then
# /usr/lib/openbox/xdg-autostart $DESKTOP_ENV
If you switch back and forth a lot you might want to edit your .desktop files in the ~/.config/autostart directory. Append
OnlyShowIn=GNOME
to them to not have them running in openbox. The above works for me but I am not running openbox inside of gnome (I am running it on another tty).
Offline