aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-12-05 09:38:50 -0500
committerKen Moore <ken@ixsystems.com>2016-12-05 09:38:50 -0500
commit74cae9e81c4b11df50a419e43d1f3dfab49acdfb (patch)
treee565b9acf184b76bf8d5b0f677b7ab4d450a9736 /src-qt5/core
parentRe-enable drag and drop within lumina-fm. (diff)
downloadlumina-74cae9e81c4b11df50a419e43d1f3dfab49acdfb.tar.gz
lumina-74cae9e81c4b11df50a419e43d1f3dfab49acdfb.tar.bz2
lumina-74cae9e81c4b11df50a419e43d1f3dfab49acdfb.zip
Add a bit more debugging to the start-lumina-desktop binary.
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/lumina-session/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-session/main.cpp b/src-qt5/core/lumina-session/main.cpp
index 73af45f9..5fa2bb69 100644
--- a/src-qt5/core/lumina-session/main.cpp
+++ b/src-qt5/core/lumina-session/main.cpp
@@ -33,6 +33,7 @@ int main(int argc, char ** argv)
//Start X11 if needed
QString disp = QString(getenv("DISPLAY")).simplified();
if(disp.isEmpty()){
+ qDebug() << "No X11 session detected: Lumina will try to start one...";
//No X session found. Go ahead and re-init this binary within an xinit call
QString prog = QString(argv[0]).section("/",-1);
LUtils::isValidBinary(prog); //will adjust the path to be absolute
@@ -40,6 +41,7 @@ int main(int argc, char ** argv)
//if(LUtils::isValidBinary("x11vnc")){ args << "--" << "-listen" << "tcp"; } //need to be able to VNC into this session
return QProcess::execute("xinit", args);
}
+ qDebug() << "Starting the Lumina desktop on current X11 session:" << disp;
//Setup any initialization values
LTHEME::LoadCustomEnvSettings();
LXDG::setEnvironmentVars();
@@ -52,8 +54,10 @@ int main(int argc, char ** argv)
//Configure X11 monitors if needed
if(LUtils::isValidBinary("lumina-xconfig")){
+ qDebug() << " - Resetting monitor configuration to last-used settings";
QProcess::execute("lumina-xconfig --reset-monitors");
}
+ qDebug() << " - Starting the session...";
//Startup the session
QCoreApplication a(argc, argv);
LSession sess;
bgstack15