diff options
author | Ken Moore <moorekou@gmail.com> | 2016-07-01 14:41:47 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-07-01 14:41:47 -0400 |
commit | e765bfa5b3b2501f68b1d07629119a297295b807 (patch) | |
tree | e48eed6b59133f5c86632edb5f87248d1f9e0be9 /src-qt5/core/lumina-session/session.cpp | |
parent | Ensure that lumina-config defaults to looking in the system-installed scripts... (diff) | |
download | lumina-e765bfa5b3b2501f68b1d07629119a297295b807.tar.gz lumina-e765bfa5b3b2501f68b1d07629119a297295b807.tar.bz2 lumina-e765bfa5b3b2501f68b1d07629119a297295b807.zip |
Setup Lumina to use "compton" for the compositing manager instead of xcompmgr (if it is installed)
Diffstat (limited to 'src-qt5/core/lumina-session/session.cpp')
-rw-r--r-- | src-qt5/core/lumina-session/session.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-session/session.cpp b/src-qt5/core/lumina-session/session.cpp index 36e96dd7..912eb4a7 100644 --- a/src-qt5/core/lumina-session/session.cpp +++ b/src-qt5/core/lumina-session/session.cpp @@ -70,7 +70,8 @@ void LSession::start(){ //if(!QFile::exists(QDir::homePath()+"/.fluxbox")){ QDir dir; dir.mkpath(QDir::homePath()+"/.fluxbox"); } //startProcess("wm", "fluxbox -rc "+QDir::homePath()+"/.lumina/fluxbox-init -no-slit -no-toolbar"); //Compositing manager - if(LUtils::isValidBinary("xcompmgr")){ startProcess("compositing","xcompmgr"); } + if(LUtils::isValidBinary("compton")){ startProcess("compositing","compton"); } + else if(LUtils::isValidBinary("xcompmgr")){ startProcess("compositing","xcompmgr"); } //Desktop Next startProcess("runtime","lumina-desktop"); //ScreenSaver |