Page 1 of 1
f.lux for porteus
Posted: 09 Oct 2016, 02:00
by michael
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
Re: f.lux for porteus
Posted: 09 Oct 2016, 21:01
by francois
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)
Re: f.lux for porteus
Posted: 10 Oct 2016, 06:54
by michael
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
Re: f.lux for porteus
Posted: 13 Oct 2016, 16:06
by francois
@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.
There are some dependencies needed.
Re: f.lux for porteus
Posted: 13 Oct 2016, 16:47
by francois
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:
As I mentioned in the other post there is also the gui application which will need some dependencies.
Enjoy!