// =======================
//    PUBLIC FUNCTIONS
// =======================
void WMProcess::startWM(){
  inShutdown = false;
  QString cmd = setupWM();
  this->start(cmd);
  ssaver->start("xscreensaver");
}
示例#2
0
// =======================
//    PUBLIC FUNCTIONS
// =======================
void WMProcess::startWM(){
  inShutdown = false;
  QString cmd = setupWM();
  if(!isRunning()){this->start(cmd); }
  if(ssaver->state() == QProcess::NotRunning){ ssaver->start("xscreensaver -no-splash"); }
}