From 8611b56346b86f3e478beef48b2b2a4fe80d37a2 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Mon, 5 Mar 2018 10:58:51 +0530 Subject: [PATCH] Add /usr/share and /etc/xdg to XDG_* variables Summary: Otherwise if, those variables are set startkde doesn't add them in the XDG_* variables and it results in broken system Test Plan: tested on wayland and normal session Reviewers: mpyne Differential Revision: https://phabricator.kde.org/D11039 --- sample-kde-env-master.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sample-kde-env-master.sh b/sample-kde-env-master.sh index b115bd6..9a56ae5 100644 --- a/sample-kde-env-master.sh +++ b/sample-kde-env-master.sh @@ -107,8 +107,8 @@ path_add "QT_PLUGIN_PATH" "$kde_prefix/$libname/plugins" # others like t path_add "PYTHONPATH" "$kde_prefix/$libname/site-packages"; # https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html -path_add "XDG_DATA_DIRS" "$kde_prefix/share"; -path_add "XDG_CONFIG_DIRS" "$kde_prefix/etc/xdg"; +path_add "XDG_DATA_DIRS" "$kde_prefix/share:/usr/share"; +path_add "XDG_CONFIG_DIRS" "$kde_prefix/etc/xdg:/etc/xdg"; # Finally, export the variables. export CMAKE_PREFIX_PATH