diff --git a/desktop/lxqt/libqtxdg/actions.py b/desktop/lxqt/libqtxdg/actions.py
index c88e4c95c1..40539c9da9 100644
--- a/desktop/lxqt/libqtxdg/actions.py
+++ b/desktop/lxqt/libqtxdg/actions.py
@@ -12,6 +12,7 @@ def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
+ -DQTXDG_DEFAPPS_CONF_INSTALL_DIR:PATH=/etc/xdg \
-DCMAKE_INSTALL_LIBDIR=/usr/lib", sourceDir="..")
def build():
diff --git a/desktop/lxqt/libqtxdg/pspec.xml b/desktop/lxqt/libqtxdg/pspec.xml
index 2e698e64a5..2102cb6a56 100644
--- a/desktop/lxqt/libqtxdg/pspec.xml
+++ b/desktop/lxqt/libqtxdg/pspec.xml
@@ -35,6 +35,7 @@
qt5-base
+ /etc/xdg
/usr/bin
/usr/lib
/usr/share/