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

Bug 556838

Summary: kde-base/kde-env-4.14.3: error of script '/etc/X11/xinit/xinitrc.d/11-xdg-menu-kde-4'
Product: Gentoo Linux Reporter: killerpsi23
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description killerpsi23 2015-08-06 11:21:07 UTC
content of /etc/X11/xinit/xinitrc.d/11-xdg-menu-kde-4:

#!/bin/sh

if [ -z "\${XDG_MENU_PREFIX}" ] && [ "\${DESKTOP_SESSION}" = "KDE-4" ]; then
	export XDG_MENU_PREFIX="kde-4-"
fi

${DESKTOP_SESSION} shoude be substituted by ${XSESSION}

The script use environment variable ${DESKTOP_SESSION} to decide weather KDE is chosen to start, but Gentoo use ${XSESSION} to indicate which desktop environment to start, and ${DESKTOP_SESSION} is not set by default.



Reproducible: Always
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-08-07 15:21:50 UTC
It's designed to operate based on the *current* session, which is exported at runtime via DESKTOP_SESSION.