Enable and disable ICC profile from console

Hi!
Is there any way I can enable and disable a ICC profile from console when on Wayland using KDE’s systemsettings?

I used to apply my ICC profile with a script when on X11 with xcalib, but that wont work for Wayland. Now I manually turn the ICC profile on and off this from systemsettings clicking on the monitor settings in system tray.

The whole reason I want to do this is that the ICC profile makes the screen to dark when watching movies and to bright (and less colors) when normal web browsing. So I had a script with a shortcut that apply the ICC profile when web browsing and another shortcut to set xgamma to a higher value when watching movies.

My distro is Debian Sid and KDE Plasma version is 6.3.5

I solved it!
I doubt any one needs this, but here is my solution.

I use kscreen-doctor to toggle my color profile on and off.

To disable my color profile I do this:
kscreen-doctor output.DP-1.colorProfileSource.EDID

To apply my color profile I use this:
kscreen-doctor output.DP-1.iccprofile.“$HOME/link/to/profile/ASUS_VG248QE.icm”

1 Like