Bug 416563

Summary: Kgamma 5.17.5 command fails when applying "Save settings systemwide".
Product: [Plasma] kgamma Reporter: Daniel Abranko <abrankod>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.17.5   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Abranko 2020-01-22 04:38:01 UTC
SUMMARY
Kgamma 5.17.5 attempts to run a non-existent/deprecated command to set gamma systemwide.

STEPS TO REPRODUCE
1. Open Settings panel.
2. Select Display and Monitor
3. Select Gamma
4. Select "Save settings systemwide"
5. Adjust gamma values to something other than current values.
6. Select "Apply".
7. Enter root password when prompted to elevate privileges.

OBSERVED RESULT
Error message box appears with following information.
Cannot execute command "xf86gammaxfg n.nn n.nn n.nn"

EXPECTED RESULT
Program runs current xgamma command and completes save systemwide.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0

ADDITIONAL INFORMATION
Comment 1 Christoph Feck 2020-02-14 16:55:29 UTC
If xf86gammaxfg isn't installed, your distribution probably didn't compile it. Could you ask for build logs?
Comment 2 Daniel Abranko 2020-02-19 13:39:32 UTC
(In reply to Christoph Feck from comment #1)
> If xf86gammaxfg isn't installed, your distribution probably didn't compile
> it. Could you ask for build logs?

I see that xf86gammacfg (typo'd in bugreport and comments, sorry), has indeed not been built. Only the docs and kcmkgamma are being built.

I've checked in several several repos (arch, aur, kubuntu) that package KDE and none of them seem to be building xf86gammacfg.

I looked at the kgamma5 git and in CMakeLists.txt, the xf86gammacfg subdirectory is commented out. Is it possible that it is not getting built and therefore not getting installed by any of the packagers because of this oversight?

Thanks for your help.