Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556838 - kde-base/kde-env-4.14.3: error of script '/etc/X11/xinit/xinitrc.d/11-xdg-menu-kde-4'
Summary: kde-base/kde-env-4.14.3: error of script '/etc/X11/xinit/xinitrc.d/11-xdg-men...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-06 11:21 UTC by killerpsi23
Modified: 2015-08-07 15:21 UTC (History)
0 users

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 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.