-
Notifications
You must be signed in to change notification settings - Fork 177
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
fluxgui ported to Gtk 3 #111
Comments
Exciting! Looking forward to the PR.
…On Sun, Dec 2, 2018, 2:42 PM LaBatata101 ***@***.*** wrote:
Since the #48 <#48> didn't
give any results I decided to port fluxgui to python 3 and gtk 3 if you to
see how is going here's the link
<https://github.com/LaBatata101/fluxgui-py3/tree/v_py3>, the gui still
the basicly the same. I just need to fix a little bug before send the PR.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#111>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABAJTAvyYyKlWIQSSDxeClBlgkod42Rks5u1FdWgaJpZM4Y9pPc>
.
|
Yes, please send the PR anyway. Once you've made the PR public it's easier to get help. |
The PR is here: #112 |
I just took a brief look at your PR #112, but haven't had a chance to try running it yet. Do I need to do anything special to run it? E.g. the And if you need help with the "logical bug related to the new config system", can you say more about that? |
You just need to move the file |
I'm getting an error about $ PATH=`pwd`:$PATH PYTHONPATH=`pwd`/src:$PYTHONPATH python3 fluxgui
Traceback (most recent call last):
File "fluxgui", line 17, in <module>
from fluxgui.fluxapp import main
File "/home/conathan/local/opt/fluxgui-py3.git/src/fluxgui/fluxapp.py", line 8, in <module>
gi.require_version('AppIndicator3', '0.1')
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 102, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace AppIndicator3 not available Any ideas? These are the packages with "appindicator" in the name that I have installed (Ubuntu 16.04): $ aptitude search '~iapp.*ind'
i A libappindicator1 - Application Indicators
i libappindicator3-1 - Application Indicators
i python-appindicator - Python bindings for libappindicator |
Solved the |
Ran into another problem that might be harder to fix: it looks like the version of GTK3 that ships with my Ubuntu 16.04 is too old. I should have a chance to continue with this on Friday. Current way to run
But that fails with
(According to |
I'm using manjaro so the packages are always the latest version, just put you gtk version in this line . I think should work |
I wish I would have read your last comment about changing my GTK version in the .glade file first, but instead I decided to do a long overdue upgrade from Ubuntu 16.04 to 18.04 in order to get the newer GTK version. After spending many hours unbreaking my window manager setup, I was ready to continue with this and found out that However, I am able to run your PR now, my screen color just doesn't change ... |
That's sucks. What we do now? |
Let my see I can use your |
The 16.04 VM didn't work -- I guess it just passes the graphics through to the underlying 18.04 system -- but next I will try using an old laptop that still had 16.04 installed ... And FYI, I rebased the PR onto a newer version of this repo, and then |
Instead of trying on the old laptop, I worked on updating the
the icon is broken/doesn't show up, and when I do the global install with
the permissions are messed up: many files get created with mode
after doing the global install then I can run So, question: how are you installing |
Actually, the local install works OK now?! And to clarify, I haven't modified the |
I didn't have permissions issues, I think because I'm using pyenv... |
OK, well we're going to need a way to install sudo ./setup.py install --record installed.txt
xargs sudo chmod -R a+rX < installed.txt
glib-compile-schemas .
GSETTINGS_SCHEMA_DIR=. fluxgui Do you get an icon? (I get an icon, altho it's not the right icon for my theme, but I'm not sure who's fault that is yet). When you're done you can uninstall all the files that sudo xargs rm -vr < installed.txt The other thing we need to figure out is how to actually install and compile the |
I've created a solution for compiling the |
I ran without problems but didn't get the icon working |
Re compiling the `gschema.xml`, it looks like you're just compiling it in
the fluxgui source dir. I think we need a version that copies is to the
installation location of the `gschema.xml`, and installs that too.
…On Mon, Dec 24, 2018 at 2:45 PM LaBatata101 ***@***.***> wrote:
OK, well we're going to need a way to install fluxgui system wide that's
compatible with Debian package creation (for the PPA). I assume pyenv is
not an option for that, but I'm not sure. Could you try installing and
running fluxgui using setup.py like this:
sudo ./setup.py install --record installed.txt
xargs sudo chmod -R a+rX < installed.txt
glib-compile-schemas .
GSETTINGS_SCHEMA_DIR=. fluxgui
Do you get an icon? (I get an icon, altho it's not the right icon for my
theme, but I'm not sure who's fault that is yet).
When you're done you can uninstall all the files that setup.py created
with
sudo xargs rm -vr < installed.txt
The other thing we need to figure out is how to actually install and
compile the .gschema.xml, instead of running glib-compile-schemas . and
then using GSETTING_SCHEMA_DIR=.. If we could find a Debian package for a
Python 3 program that uses a .gchema.xml that would probably include a
solution.
I ran without problems but didn't get the icon working
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#111 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABAJW5H6RAAhANtsWV7ZvelVl7Cwg5uks5u8VjwgaJpZM4Y9pPc>
.
|
I made a new version, check it out. In this version |
I looked at your new version -- diff here LaBatata101/fluxgui@master...LaBatata101:pre_install -- but I'd like a solution that uses In the mean time, I think I figured out how to get the permissions right for the global
In the last step is the same as In other news, I changed the GTK3 version bound in the |
Weird, I don't have these permissions problems. Anyway, here's the new version it uses |
Which means the
That's closer, but we should use the |
The icon shows up, forgot to say. But I don't know if we will have acess to |
Glad to hear the icon shows up for you now! Re the lack of Their Their setup is more complicated than ours, because they need to support Windows NT and have special logic for that: https://gitlab.gnome.org/GNOME/meld/blob/master/meld/build_helpers.py#L71 We just need a very simple version of their setup. I'll implement it tonight ... |
Great!!!! |
I just pushed a version of |
I just merged your PR (#112), thanks! The Debian install stuff is probably still out of date, and the deps in the README are probably wrong, but those can be fixed later as needed. |
@LaBatata101 I just noticed that GitHub is not giving you credit for you I believe this is because the email address on your commits, |
Since the #48 didn't give any results I decided to port fluxgui to python 3 and gtk 3 if you to see how is going here's the link, the gui still the basicly the same. I just need to fix a little bug before send the PR.
The text was updated successfully, but these errors were encountered: