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
wilder
Bhushan Shah 8 years ago
parent e0953d829b
commit 8611b56346
  1. 4
      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

Loading…
Cancel
Save