Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation instructions for Fedora #95

Closed
ldorau opened this issue May 16, 2018 · 6 comments
Closed

Installation instructions for Fedora #95

ldorau opened this issue May 16, 2018 · 6 comments

Comments

@ldorau
Copy link

ldorau commented May 16, 2018

I cannot find any installation instructions for Fedora OS.
Could you add them?

@ntc2
Copy link
Member

ntc2 commented May 16, 2018

I don't have a Fedora system, but assuming there is not a Fedora PPA, it should be easy to adapt the Debian/Ubuntu instructions. You just need to figure out the analog of

sudo apt-get install git python-appindicator python-xdg python-pexpect python-gconf python-gtk2 python-glade2 libxxf86vm1

on Fedora, using dnf or whatever the package manager is these days. The rest of the instructions will be the same / are independent of your Linux distribution.

Once you figure out how to install the dependencies on Fedora, it would be helpful if you submitted a PR on the README, or commented here explaining what you did.

@ldorau
Copy link
Author

ldorau commented May 17, 2018

Indeed, the installation procedure is quite the same. I could submit a PR, but I have two problems now:

  1. python download-xflux.py does not work for me:
$ python download-xflux.py 
Downloading 64-bit xflux ...
Extracting /tmp/xflux.tgz ...
Traceback (most recent call last):
  File "download-xflux.py", line 34, in <module>
    download_xflux()
  File "download-xflux.py", line 29, in download_xflux
    tar = tarfile.open(tarchive)
  File "/usr/lib64/python2.7/tarfile.py", line 1680, in open
    raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

The downloaded file '/tmp/xflux.tgz' is in fact a html page:

Request Error (invalid_request)
--
Your request could not be processed. Request could not be handled
This could be caused by a misconfiguration, or possibly a malformed request.
For assistance, contact your network support team.
  1. I am experiencing the common issue No change in screen color #27:
    Sorry, we only support 8 and 10-bit displays right now.

So I could submit a PR, but without the python download-xflux.py stage.

@ldorau
Copy link
Author

ldorau commented May 17, 2018

Without downloading xflux it could look like this.

@ghost
Copy link

ghost commented May 17, 2018

@ldorau

Request Error (invalid_request)
--
Your request could not be processed. Request could not be handled
This could be caused by a misconfiguration, or possibly a malformed request.
For assistance, contact your network support team.

I'm not entirely sure if my last commit cd07736 for the download-xflux.py caused your 1. issue but for now, you can try the old code here (using your system wget and tar instead of Python library utils).

old-download-xflux.py

or just run below code to do the same from inside of fluxgui cloned repository:

wget -c https://justgetflux.com/linux/xflux64.tgz && tar -xzf xflux64.tgz; rm -f xflux64.tgz

@ldorau
Copy link
Author

ldorau commented May 18, 2018

@faraco the old version of download-xflux.py works well for me, so the commit cd07736 can be the cause of my problem. I have submitted a separate issue for that: #97

ldorau added a commit to ldorau/fluxgui that referenced this issue May 18, 2018
ntc2 added a commit that referenced this issue Jun 1, 2018
Fixes Issue #95 and closes PR #96 as redundant.
@ntc2
Copy link
Member

ntc2 commented Jun 1, 2018

This was just fixed by PR #98.

@ntc2 ntc2 closed this as completed Jun 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants