Giter VIP home page Giter VIP logo

ctempd's Introduction

Screen Color Temperature Changing Daemon

Small daemon to set screen temperature. ctempd can either set the screen's temperature once with the -s option or run in the background and set the screen's temperature automatically based on the time of day.

Features

  • Set screen temperature continuously in the background
  • Set screen temperature once

Installation

ctempd is written in C and known to work on the operating systems listed in the table below. To compile it you need the following things:

Dependencies

Install the dependencies as follows:

Operating System Commands and Notes
FreeBSD pkg install xorg
OpenBSD All installed by default
Ubuntu apt install build-essential libxrandr-dev
Void Linux xbps-install gcc make libXrandr-devel libX11-devel

Compilation and Installation

By default, the Makefile looks for external includes and libraries in /usr/local/{include,lib}, /usr/X11R6/{include,lib}. If your distribution uses special path, you have to modify the Makefile accordingly.

Compile and install with the following commands:

$ make
# make install

Usage

Let ctempd automatically adapt the screen temperature based on the time of day. The highest temperature at noon is 5400K:

$ ctempd 5400

ctempd logs via syslog, you can check the current temperature in your system's log messages.

Set the screen temperature to 3200K once.

$ ctempd -s 3200

License

isscrolls was written by Matthias Schmidt and is public domain. The algorithm to set the screen temperature was written by Ted Unangst and is also public domain.

ctempd's People

Contributors

thexhr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

ctempd's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.