UUID: sct@skulptist.de
Last edited:
5 months ago 2024-07-09, 19:42
Last commit: [cecfbb55] Add Catalan translations (#6197)

Toggle screen temperatures with sct. Set up to 7 custom color temperatures and toggle through by clicking on the applet

README

Close

SCT Toggle

A Cinnamon Applet commonly used in Linux Mint to toggle through color temperatures.

Install from this repo

  1. Install sct with your favorite package management or by the terminal command sudo apt install sct . This command line tool sets the screen temperature easily with sct 5000
  2. Download the code from here.
  3. Copy the "sct@skulptist.de" directory to ~/.local/share/cinnamon/applets .
  4. Open the Mint Menu, search for "Applets" and open the applet configuration app.
  5. Add the applet to your screen by searching for sct@skulptist.de, select it and press the + button to add it.

Install from the official repo

As soon as my pull request is acepted, you could omit the cloning and copying steps and download the applet through the applets app.

Don't forget to give a star for the applet ;-)

You have to install sct. It does not get shipped with the applet.

Usage

Color temperature steps at 4000K, 5500K and 6500K are predefined. Just click on the Applet Icon to select the next one.

You can define your favorite color steps in the applet settings by right clicking the applet and choose setup. Add up to 7 steps with Values between 1000 and 10000, where 1000 is red, 6500 is daylight and 10000 is very blue.

If the app icon is not the one you want to use, change it in the settings and select another one from the gtk icon library.

Log In To Comment!

4 Comments

Severga
Severga-9 months ago
Thanks for the applet! Adding ability to have temperatures' timeline would be great. :)
Matthias Hermsdorf
Matthias Hermsdorf-9 months ago
I've seen you have build your own. Nice work. I would like to connect the temperature to the screen brightness. 100%->6500k, 0%-> 3000k and between a gradient. But I don't know how to get a callback for brightness changes. Any Idea?
Severga
Severga-8 months ago
And also have a look at this program: $ ddcutil detect Display 1 I2C bus: /dev/i2c-7 EDID synopsis: Mfg id: NEC Model: PA241W Serial number: 0X000641UB Manufacture year: 2010 EDID version: 1.4 VCP version: 2.0 $ ddcutil capabilities (store_bytehex_list) Invalid hex value in list: 06107 (new_capabilities_feature) Error processing VCP feature value list into bva_values: 01 02 03 04 05 06107 09 0E (store_bytehex_list) Invalid hex value in list: 06107 (new_capabilities_feature) Error processing VCP feature value list into bbf_values: 01 02 03 04 05 06107 09 0E Feature: B (invalid code) MCCS version: 2.0 Commands: Command: 01 (VCP Request) Command: 02 (VCP Response) Command: 03 (VCP Set) Command: 07 (Timing Request) Command: 0c (Save Settings) Command: c2 (unrecognized command) Command: c4 (unrecognized command) Command: c6 (unrecognized command) Command: c8 (unrecognized command) Command: f3 (Capabilities Request) VCP Features: Feature: 02 (New control value) Feature: 04 (Restore factory defaults) Feature: 05 (Restore factory brightness/contrast defaults) Feature: 06 (Restore factory geometry defaults) Feature: 08 (Restore color defaults) Feature: 0B (Color temperature increment) Feature: 0C (Color temperature request) Feature: 10 (Brightness) Feature: 14 (Select color preset) Values: 02: Display Native 0b: User 1 Feature: 20 (Horizontal Position) Feature: 30 (Vertical Position) Feature: 60 (Input Source) Values: 01: VGA-1 03: DVI-1 04: DVI-2 0f: DisplayPort-1 Feature: 66 (Ambient light sensor) Feature: 68 (unrecognized feature) Values: 01 02 03 04 05 09 0e (interpretation unavailable) Feature: 87 (Sharpness) Feature: 8C (TV Sharpness) Feature: 19 (unrecognized feature) Feature: 9C (6 axis hue control: Yellow) Feature: 9D (6 axis hue control: Green) Feature: 9E (6 axis hue control: Cyan) Feature: 9F (6 axis hue control: Blue) Feature: A0 (6 axis hue control: Magenta) Feature: AA (Screen Orientation) Values: 01: 0 degrees 04: 270 degrees Feature: B0 (Settings) Feature: B6 (Display technology type) Feature: DF (VCP Version) Feature: E3 (manufacturer specific feature) Feature: F4 (manufacturer specific feature) Feature: F5 (manufacturer specific feature) Values: 01 02 03 04 05 06 07 09 0e (interpretation unavailable) Feature: F6 (manufacturer specific feature) Feature: FA (manufacturer specific feature) Feature: FB (manufacturer specific feature) Feature: FC (manufacturer specific feature) Feature: FE (manufacturer specific feature) Feature: FF (manufacturer specific feature) $ ddcutil getvcp 10 VCP code 0x10 (Brightness ): current value = 80, max value = 160
Severga
Severga-8 months ago
Thanks! I think this applet's code parts can help, since it also changes brightness: https://cinnamon-spices.linuxmint.com/applets/view/296