-
Notifications
You must be signed in to change notification settings - Fork 175
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
cant run properly by manual intstall on kali linux #165
Comments
are you saying that everything worked correctly until you closed the terminal? if yes, then it sounds like closing the terminal closed
in bash, or with |
my main concern is this (fluxgui:29764): GLib-GIO-ERROR **: 09:25:22.534: Settings schema 'apps.fluxgui' is not installed its not working on my kali, its any else dependencies required? |
That was a buggy error messages -- there was no actual problem with the import -- I just fixed it here: a21f55f |
after changed fluxapp.py, results: retry with: ./setup.py install --record installed.txt and ./setup.py install --user --record installed.txt, results: all depedencies already satisfied |
Sounds like you're missing dependencies. Here's the code that generates those error messages: You could try running that code by itself in a Python repl and confirm you get the same error. I.e. run this code in a Python repl: import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk as gtk
try:
gi.require_version('AyatanaAppIndicator3', '0.1')
from gi.repository import AyatanaAppIndicator3 as appindicator
except:
print('Failed to import Ayatana appindicator, falling back to plain appindicator ...')
try:
gi.require_version('AppIndicator3', '0.1')
from gi.repository import AppIndicator3 as appindicator
except:
print('Failed to import plain appindicator ...')
print('Failed to import an appindicator implementation, dying ...') |
Same issue here :( |
I also can't get it running on kali. The error message I get:
|
@mikhail-shkaralevich it looks like your problem is due to setuptools no longer supporting |
@ntc2, it did solve one problem but I encountered another one: `mikhail㉿avrora)-[/tmp/fluxgui] (fluxgui:15297): GLib-GIO-ERROR **: 09:16:49.668: Settings schema 'apps.fluxgui' is not installed |
@mikhail-shkaralevich it seems that fluxgui doesn't work with modern Python versions, in particular modern versions of setuptools that come bundled with Python versions after 3.9. I'll explain how you can work around this, but first, let me just recommend: just use OK, but if you still prefer
cd <path to your fluxgui.git clone>
# You only need to download xflux at most once. Or zero times if you're using redshift :)
./download-xflux.py
glib-compile-schemas .
GSETTINGS_SCHEMA_DIR=`pwd` PATH=`pwd`:$PATH PYTHONPATH=`pwd`/src:$PYTHONPATH ./fluxgui If this works, you can create a simple script that runs
pyenv install 3.9.20
pyenv virtualenv 3.9.20 fluxgui-venv
pyenv local fluxgui-venv You might need another step here to activate the venv, for me that happens automatically via some shell magic. Docs here may help: https://github.com/pyenv/pyenv-virtualenv. Next, install deps and sudo apt install libgirepository1.0-dev
pip install pygobject pyxdg pexpect
./setup.py install --record installed.txt Now you should be able to run But again, all that said, just use |
i have manual installing on kali linux:
sudo apt-get install python3-pexpect python3-distutils gir1.2-ayatanaappindicator3-0.1 gir1.2-gtk-3.0 redshift
cd /tmp
git clone "https://github.com/xflux-gui/fluxgui.git"
cd fluxgui
./download-xflux.py
sudo ./setup.py install --record installed.txt
fluxgui
OUTPUT:
Failed to import plain appindicator ...
(fluxgui:29764): GLib-GIO-ERROR **: 09:25:22.534: Settings schema 'apps.fluxgui' is not installed
zsh: trace trap fluxgui
then try run:
xargs sudo chmod -R a+rX < installed.txt
glib-compile-schemas .
GSETTINGS_SCHEMA_DIR=. fluxgui
OUTPUT:
the screen color changed, and the apps opened with the icon in top rigth panel
but when i closed the terminal the icon and app closed, the color still remain
when re run : fluxgui again its results same errors
how to solve this, to be installed properly
The text was updated successfully, but these errors were encountered: