> This means that one cannot rename the session in /usr/share/xsessions
without breaking Unity

renaming files installed by packages is not a supported option in any
case...

** Changed in: unity (Ubuntu)
   Importance: Undecided => Low

** Package changed: unity (Ubuntu) => gnome-session (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/820328

Title:
  Unity depends on gdm as a desktop manager and gives empty screen in
  ldm

Status in “gnome-session” package in Ubuntu:
  Incomplete

Bug description:
  Under Natty, the file /etc/X11/Xsession.d/65compiz_profile-on-session
  reads as follows:

  --------------------
  # This file is sourced by Xsession(5), not executed.
  # Select unity profile if we are in the default session.
  # The default profile is used otherwise.

  if [ "x$GDMSESSION" = "xgnome" ]; then
      COMPIZ_CONFIG_PROFILE="ubuntu"
      export COMPIZ_CONFIG_PROFILE
  fi
  ----------------

  The purpose of this script is to enable the Unity plugin in compiz in
  the default session (where there is no gnome-shell or -panel) so that
  the Unity shell is activated. There are two problems with this script:

  1) The first one being that it depends on the environment variable
  $GDMSESSION being set while /etc/X11/Xsession runs. This leads to
  problems on LTSP clients where LDM instead of GDM is used so that
  there is no variable $GDMSESSION. (This problem could be solved in the
  ldm package by adding a script to /usr/share/ldm/rc.d but this
  wouldn't solve the problem for other desktop managers.) In Oneiric,
  the environment $DESKTOP_SESSION is used instead of $GDMSESSION but I
  am not sure whether this should be set by all desktop managers.

  2) The second problem with this script is that enabling the Unity
  plugin depends on the session being named "gnome". This means that one
  cannot rename the session in /usr/share/xsessions without breaking
  Unity or one cannot easily install a second Unity session in this
  directory.

  A solution would be to enable the Unity plugin while gnome-session is
  processing the file /usr/share/gnome-session/sessions/ubuntu.session,
  although I don't know how to hook a script in a gnome-session session
  file.

  Marc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/820328/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to