-
Notifications
You must be signed in to change notification settings - Fork 92
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
Support for Ubuntu 15.04? #55
Comments
He'd have to bump Launchpad to generate sources for Vivid. Mind doing so @Kilian? If not, setting up a team on Launchpad could help in letting others help out. |
I could but that would be a false promise; The code as it stand doesn't work nicely with 15.04 and would need to be updated or rewritten. |
@Kilian is right, i installed on my ubuntu 15.04 and my system crashed. blank screen after reboot. |
@kodeine Is this something that happens only on 15.04 or did it occur in 14.10 as well? |
@jalcine |
On Friday, June 05, 2015 09:22:45 PM Kodeine wrote:
Interesting (I asked because I saw an open issue about problems on 14.10).Jacky Alcine - https://jacky.wtf/aboutThey can read this message, know who you are and where you live. |
+1 |
Mystro256/f.lux-indicator-applet or my repo work on Ubuntu 15.04. My guess is the old xflux binary was causing problems. |
Awesome. This will help me out a lot.
|
Is there any that works with 15.10? |
My fork should work, untested though.
|
@NHellFire do you have a ppa? |
I'm using old |
@str @andypost @dvorapa I have a ppa available, I just copied the packages from Kilian's old repository. It works up to wily. https://launchpad.net/~blackmage/+archive/ubuntu/f.lux Or if you would rather want the command served to you do this:
|
@ev1l0rd not working 👎 |
@cjduncana For me both (Kilian and Blackmage) not working (U 15.10 64bit). But @andypost solution works |
I've made a PPA for my packages now: ppa:nathan-renniewaldock/flux https://launchpad.net/~nathan-renniewaldock/+archive/ubuntu/flux My package is working on 15.04 and should work on others (I've got builds for 12.04 to 16.04) |
@NHellFire: on 15.10, I think your package needs a fluxgui
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/fluxgui/fluxapp.py", line 6, in <module>
import gtk.glade
ImportError: No module named glade |
@NHellFire: and on 15.04 I had different problems. First, I was getting $ fluxgui
Traceback (most recent call last):
File "/usr/bin/fluxgui", line 19, in <module>
import fluxgui
ImportError: No module named fluxgui Looking in $ sudo touch /usr/share/pyshared/fluxgui/__init__.py
$ sudo chmod a+r /usr/share/pyshared/fluxgui/__init__.py and then However, looking at my 15.10 machine, I see there is no |
I've uploaded a new package adding python-glade2 as a dependency. As for
|
Re the Oh, and it looks like you also added an $ fluxgui
Traceback (most recent call last):
File "/usr/bin/fluxgui", line 19, in <module>
import fluxgui
ImportError: No module named fluxgui If I One thing I notice is that all of the other Python packages I have that $ cd ~
$ ls -l /usr/share/pyshared
total 32K
drwxr-xr-x 17 root root 4.0K Jan 15 14:04 ansible/
drwxr-xr-x 2 root root 4.0K Jan 15 14:04 ansible-2.0.0.2.egg-info/
drwxr-xr-x 2 root root 4.0K Feb 1 11:14 fluxgui/
-rw-r--r-- 1 root root 566 Feb 1 09:26
f.lux_indicator_applet-1.1.8.egg-info
drwxr-xr-x 2 root root 4.0K Feb 2 2015 iotop/
-rw-r--r-- 1 root root 348 Jun 7 2013 iotop-0.6.egg-info
drwxr-xr-x 2 root root 4.0K Oct 15 12:50 Pyste/
-rw-r--r-- 1 root root 324 Mar 7 2015 Pyste-0.9.10-py2.7.egg-info
$ python
Python 2.7.9 (default, Apr 2 2015, 15:33:21)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ansible
>>> ansible.__file__
'/usr/lib/pymodules/python2.7/ansible/__init__.pyc'
>>> import iotop
>>> iotop.__file__
'/usr/lib/python2.7/dist-packages/iotop/__init__.pyc'
>>> import Pyste
>>> Pyste.__file__
'/usr/lib/python2.7/dist-packages/Pyste/__init__.pyc'
>>> import fluxgui
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named fluxgui I don't know anything about Python packaging on Debian, but this could be On Mon, Feb 1, 2016 at 9:19 AM, Nathan Rennie-Waldock <
|
(Sorry about the terrible formatting on the last message, but I can't figure out how to make GitHub not interpret the Python I figured out why you adding the So, the second problem is that $ unset PYTHONPATH; python -c 'from __future__ import print_function; import sys; map(lambda p: print(repr(p)), sys.path)'
''
'/usr/lib/python2.7'
'/usr/lib/python2.7/plat-x86_64-linux-gnu'
'/usr/lib/python2.7/lib-tk'
'/usr/lib/python2.7/lib-old'
'/usr/lib/python2.7/lib-dynload'
'/usr/local/lib/python2.7/dist-packages'
'/usr/lib/python2.7/dist-packages'
'/usr/lib/python2.7/dist-packages/PILcompat'
'/usr/lib/python2.7/dist-packages/gtk-2.0'
'/usr/lib/pymodules/python2.7'
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client' Indeed, as I mentioned in my last message above, all of the other packages I have installed in
So, I think the solution is to install the $ dpkg -L iotop | grep '\.py' | xargs ls -l
lrwxrwxrwx 1 root root 40 Jun 7 2013 /usr/lib/python2.7/dist-packages/iotop/data.py -> ../../../../share/pyshared/iotop/data.py
lrwxrwxrwx 1 root root 45 Jun 7 2013 /usr/lib/python2.7/dist-packages/iotop/genetlink.py -> ../../../../share/pyshared/iotop/genetlink.py
lrwxrwxrwx 1 root root 44 Jun 7 2013 /usr/lib/python2.7/dist-packages/iotop/__init__.py -> ../../../../share/pyshared/iotop/__init__.py
lrwxrwxrwx 1 root root 42 Jun 7 2013 /usr/lib/python2.7/dist-packages/iotop/ioprio.py -> ../../../../share/pyshared/iotop/ioprio.py
lrwxrwxrwx 1 root root 43 Jun 7 2013 /usr/lib/python2.7/dist-packages/iotop/netlink.py -> ../../../../share/pyshared/iotop/netlink.py
lrwxrwxrwx 1 root root 38 Jun 7 2013 /usr/lib/python2.7/dist-packages/iotop/ui.py -> ../../../../share/pyshared/iotop/ui.py
lrwxrwxrwx 1 root root 43 Jun 7 2013 /usr/lib/python2.7/dist-packages/iotop/version.py -> ../../../../share/pyshared/iotop/version.py
lrwxrwxrwx 1 root root 42 Jun 7 2013 /usr/lib/python2.7/dist-packages/iotop/vmstat.py -> ../../../../share/pyshared/iotop/vmstat.py
-rw-r--r-- 1 root root 14928 May 26 2013 /usr/share/pyshared/iotop/data.py
-rw-r--r-- 1 root root 2044 May 26 2013 /usr/share/pyshared/iotop/genetlink.py
-rw-r--r-- 1 root root 0 May 26 2013 /usr/share/pyshared/iotop/__init__.py
-rw-r--r-- 1 root root 5495 May 26 2013 /usr/share/pyshared/iotop/ioprio.py
-rw-r--r-- 1 root root 7891 May 26 2013 /usr/share/pyshared/iotop/netlink.py
-rw-r--r-- 1 root root 23727 May 26 2013 /usr/share/pyshared/iotop/ui.py
-rw-r--r-- 1 root root 16 May 26 2013 /usr/share/pyshared/iotop/version.py
-rw-r--r-- 1 root root 1559 May 26 2013 /usr/share/pyshared/iotop/vmstat.py but I expect that you can do away with |
I'm not specifying an install directory, it uses debhelper (which is the
|
@NHellFire: just tried your new package on 15.04 and everything works. 👍 |
This issue is a duplicate of #23 |
@ev1l0rd your ppa worked for me (15.10) |
@cm-s: I recently ran into a "GUI won't show" bug:
Is this what you ran into? |
@NHellFire Many thanks for this. (Running on 15.10 - MATE) |
@NHellFire while trying to install from your ppa (Ubuntu 16.04 GNOME), I get this: The following packages have unmet dependencies: Edit: To fix this, download and install: http://launchpadlibrarian.net/109052632/python-support_1.0.15_all.deb Many thanks for making it possible for me to have a better sleep quality with a few key strokes |
Would anyone happen to have suggestions for flux pegging my CPU at 100%? This is not occasionally; the CPU is max'd anytime flux is active. I am running Ubuntu-MATE 15.10 x64 fully updated. Cheers |
@tinof Thanks, it looks like python-support was dropped in favour of dh-python since I uploaded that package. I'll upload a new build in a few days to deal with that. If I haven't done it by Friday, could you remind me? I might forget with everything I've got going on next week. |
@tinof Yeah, that's the same error I got on my 15.10 |
@NHellFire thanks. With you ppa I get it working. For others who might have the same question, the steps needed to get f.lux working is: sudo add-apt-repository ppa:nathan-renniewaldock/flux
sudo apt-get update
sudo apt-get install fluxgui And then press super key ( I'm using Ubuntu 16.04 LTS) and type flux and you will see I think the windows version is much more intuitive than this linux version. Maye later someone could improve the linux version. Anyway, thanks guys this is working now. And for me there is no python issue. Maybe it's because I've already installed python tools before. So if anyone run into python issues, please refer above. |
I tried to install on 15.04 but it couldnt get it from ppa. Any help would be appreciated.
W: Failed to fetch http://ppa.launchpad.net/kilian/f.lux/ubuntu/dists/vivid/main/binary-amd64/Packages 404 Not Found
The text was updated successfully, but these errors were encountered: