Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776958 - mate-base/mate-session-manager: sources /etc/X11/xinit/xinitrc.d/* twice
Summary: mate-base/mate-session-manager: sources /etc/X11/xinit/xinitrc.d/* twice
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: immolo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-17 19:06 UTC by Joakim Tjernlund
Modified: 2024-01-19 10:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2021-03-17 19:06:02 UTC
mate-session-manager installs /etc/X11/Sessions/MATE which has:
# run all system xinitrc shell scripts.
if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for i in /etc/X11/xinit/xinitrc.d/* ; do
        if [ -x "$i" ]; then
	    . "$i"
        fi
    done
fi

However this is already performed by /etc/X11/xinit/xinitrc:
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?* ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

Just remove the duplicate in /etc/X11/Sessions/MATE