From ebdf4acfecbc01bec7808074774ecc82e18ac716 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Sat, 9 Feb 2019 06:35:35 -0500 Subject: Quick fix for running the intel_backlight utility on FreeBSD --- src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp index 2cdc0e94..cbb50f25 100644 --- a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp +++ b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp @@ -129,7 +129,7 @@ void LOS::setScreenBrightness(int percent){ //qDebug() << "Run intel_backlight"; //Use the intel_backlight utility (only for Intel mobo/hardware?) // Note: this returns an integer value corresponding to the percent brightess the screen was just set to - int ret = LUtils::runCmd("sudo -n intel_backlight", QStringList() << QString::number(percent)); + int ret = LUtils::runCmd("intel_backlight", QStringList() << QString::number(percent)); //qDebug() << " - Return value:" << ret; success = (percent == ret); } -- cgit