Blugon – A Blue Mild Filter for X


Get real time updates directly on you device, subscribe now.

I’ve been masking a sequence of command line apps/device just lately together with Cookie, Sway, and Right now, I got here throughout an app that may finish all of your (potential) blue mild issues and it goes by the identify of Blugon.

Blugon is a light-weight configurable command line Blue mild filter for X. You’ll be able to run it as soon as or as a daemon (manually or through systemd). It really works successfully by calculating the display color out of your system time and configuration.

Blugon additionally helps a number of backends together with tty for working blugon in your TTY, and xgamma.

Blugon – A Blue Light Filter for XBlugon – A Blue Light Filter for X

Blugon – A Blue Mild Filter for X

Options in Blue Mild Filter

Open supply and freely obtainable for Linux distributions.
Supply code obtainable on GitHub.
Helps a number of backends includingxgamma, tty, and scg.

Blugon’s dependencies are Python, libx11, libxrandr, and the elective xorg-xgamma backend.

Set up Blugon in Linux

First, set up the next required dependencies and clone the Blugon’s supply code from the git repository as proven.

$ sudo apt set up libxrandr2 libxrandr-dev libx11-dev
$ git clone

Now you possibly can construct and set up Blugon in Linux as proven.

$ cd blugon/
$ make
$ sudo make set up

Blugon Configuration

You should use the default configuration as a template:

$ mkdir -p ~/.config/blugon/
$ cp /usr/share/blugon/configs/default/gamma ~/.config/blugon/gamma
$ blugon –printconfig > ~/.config/blugon/config

In any other case, you’ll find configuration examples in your /usr/share/blugon/configs/ listing.

Blugon Utilization

Begin blugon from the terminal:

$ blugon

Run it within the background with:

$ (blugon&) # to start out
$ killall blugon # to cease

To run blugon with systemd, allow the service as a person with the command:

$ sudo systemctl –user allow blugon.service

You should use the current-mode to manually management color temperature (e.g. with keyboard shortcuts) with out utilizing a daemon:

$ blugon –setcurrent=”+600″ # for extra blue
$ blugon –setcurrent=”-600″ # for extra purple

As ordinary, you should utilize the -h flag for assist or the extra intensive man-page:

$ man blugon

Blugon Choices

-o or –once implements gamma values utilizing the present time.
-S or –setcurrent units the color temperature.
-s or –simulation simulates the configuration for the entire day.
-f or –fade fades in display color on startup.
-i [secs] or –interval=[secs] units the time between refreshes.
-c [path] or –configdir=[path] specifies a configuration listing.
-b [backend] or –backend=[backend] for selecting the backend for speaking with X.

Are there scripts or functions for managing blue mild that you realize of? Drop your feedback, questions, and opinion on Blugon within the dialogue part.

Source link

Leave A Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More