Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aleksseven/06e84c33c94351870ae199eb310f0f60 to your computer and use it in GitHub Desktop.
Save aleksseven/06e84c33c94351870ae199eb310f0f60 to your computer and use it in GitHub Desktop.
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
export XKL_XMODMAP_DISABLE=1
#export XDG_CURRENT_DESKTOP="GNOME-Flashback:Unity"
##si export XDG_CURRENT_DESKTOP="GNOME-Flashback:GNOME"
##si export XDG_MENU_PREFIX="gnome-flashback-"
#export GNOME_SHELL_SESSION_MODE="ubuntu:GNOME"
export XDG_CURRENT_DESKTOP="GNOME-Flashback:GNOME"
#export XDG_DATA_DIRS=${D}
#export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
export XDG_MENU_PREFIX="gnome-flashback-"
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#dbus-launch --exit-with-session gnome-session --debug &
#dbus-launch --exit-with-session gnome-session --builtin --session=gnome-flashback-metacity --disable-acceleration-check --debug &
dbus-launch --exit-with-session gnome-session --builtin --session=gnome-flashback-metacity --disable-acceleration-check --debug &
#gnome-session --builtin --session=gnome-flashback-metacity --disable-acceleration-check --debug &
gnome-panel &
#gnome-settings-daemon &
metacity &
nautilus &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment