aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/WMProcess.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-04-25 16:26:40 -0400
committerKen Moore <moorekou@gmail.com>2016-04-25 16:26:40 -0400
commitf1d447d34546b4a6b3acadf4bd3554ad6ec163a3 (patch)
tree09c1180b020eb610141cfe4f245af37c52a3784f /src-qt5/core/lumina-desktop/WMProcess.cpp
parentAdd a .desktop entry for lumina-textedit. (diff)
downloadlumina-f1d447d34546b4a6b3acadf4bd3554ad6ec163a3.tar.gz
lumina-f1d447d34546b4a6b3acadf4bd3554ad6ec163a3.tar.bz2
lumina-f1d447d34546b4a6b3acadf4bd3554ad6ec163a3.zip
Add the beginnings of a new "lumina-session" wrapper utility for the sequentual loading of various utilities (WM, DE, screensaver, compositing manager, etc..)
Also setup lumina-session to auto-start xcompmgr if it is installed, and adjust the Lumina-DE.desktop xsession entry to launch the session instead of the Lumina-DE binary directly.
Diffstat (limited to 'src-qt5/core/lumina-desktop/WMProcess.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/WMProcess.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src-qt5/core/lumina-desktop/WMProcess.cpp b/src-qt5/core/lumina-desktop/WMProcess.cpp
index a2a4933f..29dff542 100644
--- a/src-qt5/core/lumina-desktop/WMProcess.cpp
+++ b/src-qt5/core/lumina-desktop/WMProcess.cpp
@@ -13,7 +13,7 @@ WMProcess::WMProcess() : QProcess(){
QString log = QDir::homePath()+"/.lumina/logs/wm.log";
if(QFile::exists(log)){ QFile::remove(log); }
this->setStandardOutputFile(log);
- ssaver = new QProcess(0);
+ //ssaver = new QProcess(0);
inShutdown = false;
}
@@ -28,17 +28,17 @@ void WMProcess::startWM(){
inShutdown = false;
QString cmd = setupWM();
if(!isRunning()){this->start(cmd); }
- if(ssaver->state() == QProcess::NotRunning \
+ /*if(ssaver->state() == QProcess::NotRunning \
&& LSession::handle()->sessionSettings()->value("WindowManager", "fluxbox").toString() != "lumina-wm"){
ssaver->start("xscreensaver -no-splash");
- }
+ }*/
}
void WMProcess::stopWM(){
if(isRunning()){
inShutdown = true;
//QProcess::startDetached("fluxbox-remote closeallwindows");
- ssaver->kill();
+ //ssaver->kill();
this->kill();
if(!this->waitForFinished(10000)){ this->terminate(); };
}else{
bgstack15