How to Flux on Ubuntu - Installation & Automated Run Time

Subscribe to our newsletter and never miss any upcoming articles

Trust me, you want Flux. Your eyes & sleep quality will thank you.

If you need to manually start the applet just type 'fluxgui' in terminal.

Resource: Flux Repo

sudo add-apt-repository ppa:nathan-renniewaldock/flux
sudo apt-get update
sudo apt-get install fluxgui

Resource: Create a Cron Task in Ubuntu

Check if cron is installed:

dpkg -l cron

Install cron (if needed)

sudo apt-get install cron

Verify cron is running.

systemctl status cron

Create a new cron job.

crontab -e

Select your terminal editor of choice.

Resource: Crontab Generator

Use the Crontab Generator to select when you want fluxgui to run. FYI: 'Command To Execute' field on Crontab Generator is 'fluxgui'

Verify cron job was created.

crontab -l

If you need to manually start the applet just type 'fluxgui' in terminal.

Winning! You're good to go.

Sandeep Panda's photo

Good tip! Could you please tag it with "General Programming" so that it gets more visibility in Hashnode feeds? :)

Sandeep Panda's photo

BNS We support 5 tags -- so you might need to remove one. :)

Harish Kotra's photo

The following command throws an issue:

sudo apt-get install fluxgui

Response:

Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package fluxgui

Benjamin N. Spak's photo

Harish Kotra did you set the PPA & update first?

sudo add-apt-repository ppa:nathan-renniewaldock/flux
sudo apt-get update
Benjamin N. Spak's photo

Harish Kotra the link to install instructions on the GitHub repo: github.com/xflux-gui/fluxgui

Update - This would be the next thing I would check - just in case.

Only Python 3 is Supported
The fluxgui is only known to work with Python 3