aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-09-06 16:31:02 -0400
committerKen Moore <ken@ixsystems.com>2018-09-06 16:31:02 -0400
commite10e300e5499ea7a6ef635a921d9949470880148 (patch)
tree851c18f8bb6cc60558a0dd78ab72f39817198d0c
parentMerge branch 'master' of github.com:lumina-desktop/lumina (diff)
downloadlumina-e10e300e5499ea7a6ef635a921d9949470880148.tar.gz
lumina-e10e300e5499ea7a6ef635a921d9949470880148.tar.bz2
lumina-e10e300e5499ea7a6ef635a921d9949470880148.zip
Ensure that the Fluxbox background/wallpaper setter is disabled before Lumina starts it up
-rw-r--r--src-qt5/core/lumina-session/session.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-session/session.cpp b/src-qt5/core/lumina-session/session.cpp
index 7ecebdcc..0988e7ea 100644
--- a/src-qt5/core/lumina-session/session.cpp
+++ b/src-qt5/core/lumina-session/session.cpp
@@ -169,6 +169,14 @@ void LSession::start(bool unified){
LUtils::writeFile(confDir+"/fluxbox-keys", keys, true);
QFile::setPermissions(confDir+"/fluxbox-keys", QFile::ReadOwner | QFile::WriteOwner | QFile::ReadUser | QFile::ReadOther | QFile::ReadGroup);
}
+ if(!QFile::exists(confDir+"/fluxbox-overlay")){
+ QStringList contents; contents << "background: unset";
+ LUtils::writeFile(confDir+"/fluxbox-overlay", contents, true);
+ //Now make sure this overlay file is set within the init file
+ contents = LUtils::readFile(confDir+"/fluxbox-init");
+ contents << "session.styleOverlay: "+confDir+"/fluxbox-overlay";
+ LUtils::writeFile(confDir+"/fluxbox-init", contents, true);
+ }
// FLUXBOX BUG BYPASS: if the ~/.fluxbox dir does not exist, it will ignore the given config file
if(!QFile::exists(QDir::homePath()+"/.fluxbox")){
QDir dir; dir.mkpath(QDir::homePath()+"/.fluxbox");
bgstack15