aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2019-02-09 06:35:35 -0500
committerKen Moore <ken@ixsystems.com>2019-02-09 06:35:35 -0500
commitebdf4acfecbc01bec7808074774ecc82e18ac716 (patch)
treefb1947a79d9b046799d3e99e56e08efee65952bc /src-qt5/core
parentMake sure the applauncher panel plugin uses the same LFileInfo class as other... (diff)
downloadlumina-ebdf4acfecbc01bec7808074774ecc82e18ac716.tar.gz
lumina-ebdf4acfecbc01bec7808074774ecc82e18ac716.tar.bz2
lumina-ebdf4acfecbc01bec7808074774ecc82e18ac716.zip
Quick fix for running the intel_backlight utility on FreeBSD
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
bgstack15