How to Flux on Ubuntu - Installation & Automated Run Time

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.

Comments (6)

Add a comment
Sandeep Panda's photo

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

Show all replies
Benjamin N. Spak's photo

Creator of #301DaysOfCode 🏆 & CodeCareer.io

Sandeep Panda Got it :)

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

Show all replies
Benjamin N. Spak's photo

Creator of #301DaysOfCode 🏆 & CodeCareer.io

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