Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11/plasma6-plasma-workspace: unbreak Wayland similar to f06a1b4
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
x11/plasma6-plasma-workspace/files/patch-setup_xdg_environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- startkde/startplasma.cpp.orig 2023-11-29 10:44:01 UTC | ||
+++ startkde/startplasma.cpp | ||
@@ -341,7 +341,7 @@ void setupPlasmaEnvironment() | ||
// Add kdedefaults dir to allow config defaults overriding from a writable location | ||
QByteArray currentConfigDirs = qgetenv("XDG_CONFIG_DIRS"); | ||
if (currentConfigDirs.isEmpty()) { | ||
- currentConfigDirs = "/etc/xdg"; | ||
+ currentConfigDirs = "%%LOCALBASE%%/etc/xdg:/etc/xdg"; | ||
} | ||
const QString extraConfigDir = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QLatin1String("/kdedefaults"); | ||
QDir().mkpath(extraConfigDir); |