Public bug reported:

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!

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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