f.lux on CentOS 7



  • Hi is there a way to install this on Cent OS7. If so please let me know how, i have tried red shift but would like to use f.lux. and the tutorial on the first Google result did not work. Thanks!



  • @apcks Well CentOS is based on Red Hat Linux, which is RPM based. The install for f.lux is debian based. This is why I hate linux. Why can't they choose ONE thing and make stuff work correctly. It destroys the ability for developers to develop stuff for linux. They have to support one or the other, you can't have people writing for both RPM and DEB, because that's just crazy.



  • @Tungsten_smooth said:

    you can't have people writing for both RPM and DEB, because that's just crazy.

    You don't rewrite the application for this, you just create different packages. It is of course an extra effort to maintain these packages and it might not be something developers would want to do.

    Usually, this isn't much of a problem for Linux users since most apps you will ever use most likely already exist in your repository and the vast majority of applications are free (as in freedom), so even if there isn't a premade package for your system you can always build and install it from the source code.



  • @Henke It's like supporting FOUR platforms instead of three. Windows, Mac, Linux and Linux. It's just weird. They've also got mobile platforms to support as well.



  • @Tungsten_smooth
    I think you still got it wrong :)



  • @Henke Well, it's just odd why there has not been a way on linux to merge the two package formats. Ubuntu is the most popular because it's got a decent interface, and has a lot of money behind it. Why can't the Linux community and developers, with all their knowledge, merge RPM and DEB together in one format? It's been around since 1993, and it's now 2016. We went from dial-up to fibre optic cable in that time, and Linux can't make two package formats work together.



  • @Tungsten_smooth What you describe as "odd" and "weird" and as a drawback, is the very thing that makes FOSS in general (it's not really a Linux thing) so awsome. If you disagree with how something works, fork it, put your own flavor to it or just make your own from scratch. This will never change, there will always be "another way" of doing the same thing. Because... you can. Simple as that!

    As a user; either you stick with the most mainstream Linux distro available and use what it has to offer from it's repository and just accept that you can't install every bit of obscure software that exists (In this example f.lux).
    Or... use Microsoft/Apple OSes, which in practice is the same thing as the first option.



  • @Henke said:

    If you disagree with how something works, fork it,

    See the problem there.... there is WAY too much duplication of effort. There are forks of FILE MANAGERS of all things. WHY? There is over 1,000 linux distros, WHY? Why can someone not already pick from the 999 that exist already and help them with it? It's just a waste of their effort to start a completely new one. It's makes no sense!



  • @Tungsten_smooth Not saying you have to like it, but I can't imagine it's very hard to understand? The "Linux community" isn't a single entity, like a a company or organisation. It's individuals with different priorities and goals.

    Why? Is it different from anything else in the world? Do we need a hundred of car manufacturers or would we benefit if they all worked together on one car?

    There are distros that are 8mb big, perfect for cloud/containerization. There are distros specialized for old computers, multimedia systems, single board computers, beginners, advanced users, phones, tablet, routers/firewalls, servers, system recovery, for gaming.

    One doesn't have to know, or be concerned about any of that though, just use what fits your needs. And the other stuff, well that's for other people.



  • @Henke Ah good point.



  • You can use the "f.lux for X" version.
    Just download, extract and copy to /usr/bin to use it from the terminal.
    Usage: xflux [-z zipcode | -l latitude] [-g longitude] ...

    x86_64: https://justgetflux.com/linux/xflux64.tgz.
    i686: https://justgetflux.com/linux/xflux-pre.tgz.

    If you want to know the coordinates where you live visit https://justgetflux.com/map.html.



  • @mari0

    what should a person do if they get this message after performing the above steps.

    Welcome to xflux (f.lux for X)
    This will only work if you're running X on console.

    No protocol specified
    Couldn't open display (null)



  • @apcks If you run the command to see all available commands for the program, try to change the method it uses to shift screen colors (if possible). If that's not available, update your drivers.



  • @apcks said:

    @mari0

    what should a person do if they get this message after performing the above steps.

    Welcome to xflux (f.lux for X)
    This will only work if you're running X on console.

    No protocol specified
    Couldn't open display (null)

    Try using DISPLAY=':0' before xflux.
    DISPLAY=':0' xflux -l x - g y ...


Log in to reply
 

Looks like your connection to f.lux forum was lost, please wait while we try to reconnect.