Comment 2 for bug 215920

Revision history for this message
Raviyanto Ahmad (alza) wrote :

Bisa dicoba dengan cara di alamat: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/146946

Here is a workaround. Two files are modified.

Change /etc/X11/Xsession.d/55gnome-session_gnomerc, adding two lines (identified below by comments):

Code:

# ADD FOLLOWING LINE
rm -f /tmp/session-is-gnome
BASESTARTUP=`basename "$STARTUP" | cut -d\ -f1`
if [ "$BASESTARTUP" = gnome-session -o \
        \( "$BASESTARTUP" = x-session-manager -a \
        "`readlink /etc/alternatives/x-session-manager`" = \
                /usr/bin/gnome-session \) ]; then
  GNOMERC=$HOME/.gnomerc
  if [ -r "$GNOMERC" ]; then
    . "$GNOMERC"
  fi
  # ADD FOLLOWING LINE
  touch /tmp/session-is-gnome
fi

Then change /etc/X11/Xsession.d/99x11-common_start completely, to the following text:

Code:

if [ -f /tmp/session-is-gnome ]; then
  exec /usr/bin/dbus-launch $STARTUP
else
  exec $STARTUP
fi