diff options
author | Ken Moore <moorekou@gmail.com> | 2016-06-24 08:50:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-24 08:50:16 -0400 |
commit | b34a4dc88a3b9d80dbd77bf97de57047f7a8efc0 (patch) | |
tree | a533d90e99f044844b905e2b0a32a576b3bae5a7 /src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp | |
parent | Cleaning up the lumina FreeBSD makefile. (diff) | |
parent | adding logo file (diff) | |
download | lumina-b34a4dc88a3b9d80dbd77bf97de57047f7a8efc0.tar.gz lumina-b34a4dc88a3b9d80dbd77bf97de57047f7a8efc0.tar.bz2 lumina-b34a4dc88a3b9d80dbd77bf97de57047f7a8efc0.zip |
Merge pull request #234 from q5sys/master
Add keyboard shortcut for showing/hiding hidden files and PCBSD/TrueOS changeover edits
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp')
-rw-r--r-- | src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp index 0a544165..ab68361e 100644 --- a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp +++ b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp @@ -30,7 +30,7 @@ QString LOS::AppStoreShortcut(){ return "/usr/local/share/applications/appcafe.d QStringList LOS::RSSFeeds(){ QStringList feeds; feeds << "FreeBSD News Feed::::https://www.freebsd.org/news/rss.xml"; - feeds << "PC-BSD News Feed::::https://blog.pcbsd.org/?feed=rss2"; + feeds << "TrueOS News Feed::::https://blog.pcbsd.org/?feed=rss2"; return feeds; } @@ -90,9 +90,9 @@ void LOS::setScreenBrightness(int percent){ else if(percent>100){ percent=100; } //Run the command(s) bool success = false; - // - try hardware setting first (PC-BSD || or intel_backlight) + // - try hardware setting first (TrueOS || or intel_backlight) if( LUtils::isValidBinary("pc-sysconfig") ){ - //Use PC-BSD tool (direct sysctl control) + //Use TrueOS tool (direct sysctl control) QString ret = LUtils::getCmdOutput("pc-sysconfig", QStringList() <<"setscreenbrightness "+QString::number(percent)).join(""); success = ret.toLower().contains("success"); qDebug() << "Set hardware brightness:" << percent << success; @@ -216,7 +216,7 @@ void LOS::systemRestart(){ //start reboot sequence //Check for suspend support bool LOS::systemCanSuspend(){ - //This will only function on PC-BSD + //This will only function on TrueOS //(permissions issues on standard FreeBSD unless setup a special way) bool ok = QFile::exists("/usr/local/bin/pc-sysconfig"); if(ok){ |