f.lux for porteus

If you are looking for a specific 32-bit package and you can't find it in any of the 32-bit repos, please post a request for it here.
michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

f.lux for porteus

Post#1 by michael » 09 Oct 2016, 02:00

f.lux is a great application of science software

please read about it here

https://justgetflux.com/

F.lux


it is available for linux

https://justgetflux.com/linux.html

are you able to convert it to a porteus module for everyone please ?


michael

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: f.lux for porteus

Post#2 by francois » 09 Oct 2016, 21:01

Welcome to porteus Michael:
If you have a .deb, it is easy to turn it into a porteus module. All you have to do once into the folder where you have downloaded the .deb package in porteru, is:

Code: Select all

deb2xzm yourpackage.deb yourpackage.xzm
Flux is a good initiative as blue light in the evening will inhibit melatonin. This is against the normal human physiology that prepares to sleep. In the evening the production of melatonin thru vasodilation of vessels helps you to get into the sleep phase (the same effect as a warm bath). It is especially important for those that never wash. So :

Code: Select all

computer - flux - bath = bad sleep
8)
Prendre son temps, profiter de celui qui passe.

michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

Re: f.lux for porteus

Post#3 by michael » 10 Oct 2016, 06:54

thank you for your reply francois

i'm sorry i am a complete newbie

apparently f.lux comes as a tgz file

https://justgetflux.com/linux.html

xflux-pre.tgz

- i downloaded it

- i extracted it

- and out came one executable file

i am not sure what to do with this executable

i don't want to do anything wrong in porteus

michael

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: f.lux for porteus

Post#4 by francois » 13 Oct 2016, 16:06

@michael:
Sorry this is not a slackware file.
In command line to convert the tgz (slackware file) to xzm module:

Code: Select all

cd /path-to/download-folder
ls
tgz2xzm name-of-file name-of-file.xzm
Then transfer the xzm module into the /porteus/modules folder and reboot or without rebooting:

Code: Select all

cd /porteus/modules
ls
activate name-of-file.xzm
[/s] or double-click on the modules[/s]

This is a compressed tgz file that contains executable file in python. In addition, if you want the gui instead of command line, you would be better with that link:
https://github.com/xflux-gui/xflux-gui

Some information are in the middle of the text page. It would take some time to get it adapted to porteus, maybe few time but may more. I might come back later. Or someone else might do the work. :roll:

There are some dependencies needed.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: f.lux for porteus

Post#5 by francois » 13 Oct 2016, 16:47

OK. I got it working for the command line.

Here is what you have to do for the command line application:
1. download the application
2. command line:

Code: Select all

su
toor      #this is the password for root
thunar   #now you are in root mode to modify the files. Be careful!
right click on the tgz file
contextual menu: open with Engrampa archive manager, extract here

Then change permissions for xflux application:
right click the executable, change the group for users
copy the the executable file to /usr/bin

Then in command line:

Code: Select all

xflux
As I mentioned in the other post there is also the gui application which will need some dependencies.

Enjoy!
Prendre son temps, profiter de celui qui passe.

Post Reply