From e765bfa5b3b2501f68b1d07629119a297295b807 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 1 Jul 2016 14:41:47 -0400 Subject: Setup Lumina to use "compton" for the compositing manager instead of xcompmgr (if it is installed) --- src-qt5/core/lumina-session/session.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-session') 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 -- cgit