Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 611212

Summary: x11-misc/sddm-0.14.0-r2: DESKTOP_SESSION=MATE vs DESKTOP_SESSION=mate
Product: Gentoo Linux Reporter: Joakim Tjernlund <joakim.tjernlund>
Component: Current packagesAssignee: LxQt maintainers <lxqt>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joakim Tjernlund 2017-02-28 14:50:27 UTC
MATE expects DESKTOP_SESSION to be set to mate, not MATE
which can be seen by inspecting /etc/X11/xinit/xinitrc.d/ for mate
10-user-dirs-update-mate, 10-xdg-menu-mate and 15-xdg-data-mate all have:
  if [ "$DESKTOP_SESSION" = "mate" ]; then

Can be worked around in Xsession using:
Convert MATE to lower case as MATE scripts expects this
[ "$DESKTOP_SESSION" = "MATE" ] && DESKTOP_SESSION=mate
export DESKTOP_SESSION
Comment 1 Joakim Tjernlund 2017-09-23 14:19:37 UTC
I think this should be reassigned to MATE instead.
MATE should test for both "mate" and "MATE" so we don't have to
fix every random DM
Comment 2 Joakim Tjernlund 2017-10-03 07:12:41 UTC
I am closing this as I think MATE should use XDG_CURRENT_DESKTOP
instead