DESKTOP_SESSION is created by the display manager.

In particular, SDDM puts an absolute path in DESKTOP_SESSION, which seem
to be quite distinct from what other managers are doing. I have opened
https://github.com/sddm/sddm/issues/852 about that matter.

However, the 60x11-common_xdg_path could be made to produce better XDG
paths. This scripts was created by Ubuntu (see
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/804734 for the
context), so Ubuntu should fix it if need be.

Note that nothing says the paths in such variables have to be valid. The
users of these variables should be ready for invalid path (simply switch
to the next one in the list).

** Bug watch added: github.com/sddm/sddm/issues #852
   https://github.com/sddm/sddm/issues/852

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1668722

Title:
  60x11-common_xdg_path uses $DESKTOP_SESSION which needs a sanity check

Status in xorg package in Ubuntu:
  Confirmed

Bug description:
  This file:
  /etc/X11/Xsession.d/60x11-common_xdg_path
  contains references to $DESKTOP_SESSION variable.

  On one of my Ubuntu installs this variable contains: "plasma",
  on the other it contains: "/usr/share/xsessions/plasma".

  I don't know where either example comes from, but the upshot is that
  paths are added to XDG_DATA_DIRS and XDG_CONFIG_DIRS that don't exist.
  MANDATORY_PATH is also affected I believe, maybe others.

  Surely a sanity check of the generated paths is in order. Seems
  pointless to add non-existent ones.

  $XDG_SESSION_DESKTOP looks like a replacement for $DESKTOP_SESSION,
  but is that true?

  Cheers!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1668722/+subscriptions

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

Reply via email to