Bug 416563 - Kgamma 5.17.5 command fails when applying "Save settings systemwide".
Summary: Kgamma 5.17.5 command fails when applying "Save settings systemwide".
Status: REPORTED
Alias: None
Product: kgamma
Classification: Plasma
Component: general (show other bugs)
Version: 5.17.5
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-22 04:38 UTC by Daniel Abranko
Modified: 2020-02-19 13:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.