This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

nzxt aio

cseiglie

Mon Jun 24, 2019 4:31:32 pm

Hi guys i am new to zorin love it was an easy transition to it coming from winBLOWS 10. Still trying to learn how to use terminal and all to accomplish installs of drivers. However I had a difficult time to get corsairs KM RBG to work. KCB-Next was what i needed to work but terminal is a little iffy for me. Anyway i need to get NZXT AIO drivers to work and for some reason its not working with wine/playonlinux. I keep getting errors or crashes. I really dont like wine or POL. Hopefully someone here can help a new member out :)
Thanks

Swarfendor437

Mon Jun 24, 2019 8:37:28 pm

This guy has written a GUI for GNU/Linux!:

https://medium.com/@leinardi/how-to-con ... 367113f2f5

;) :D

cseiglie

Mon Jun 24, 2019 9:42:27 pm

I do have to apologize though I really don't know how to use python so if someone is kind enough to help step by step would be greatly appreciated. Thank you!

Aravisian

Mon Jun 24, 2019 10:05:40 pm

cseiglie wrote:I do have to apologize though I really don't know how to use python so if someone is kind enough to help step by step would be greatly appreciated. Thank you!

Could you clarify what it is you need step by step? The installation of the GUI that Swarfendor linked to? Python dependencies installation?

Aravisian

Tue Jun 25, 2019 4:43:29 am

Open a terminal (press ctl-alt-T or use the App menu - that Zorin Icon "Start button" and select it from the System List) and copy paste this into it (ignoring the part that says "Code: select all"):
Code:
sudo apt install gir1.2-gtksource-3.0 gir1.2-appindicator3-0.1 python3-gi-cairo python3-pip

These are the dependencies you need for Liquidctl Gkraken.
PIP is a very cool Python installer that allows you to install Python Modules directly from the source, similar to how the APT system works. So, when you type "apt-get" in terminal, you are telling the apt system to get the program. Pip is the same, only it is for Python.
Next thing to do in terminal is to use the PIP installer you just got above:
Code:
pip3 install gkraken

Many programs are not privileged, but ones like Synaptic or Gkraken that can Make Changes To Your Computer are privileged. So, you must run as SuperUser to give them the privileges needed to run. SuperUSer Do (this) is shortened to "sudo."
Code:
sudo gkraken

Better still:
Code:
pkexec gkraken

cseiglie

Tue Jun 25, 2019 12:13:51 pm

I got an error trying to do at pip3 install gkraken

Failed building wheel for pygobject
Running setup.py clean for pygobject
Failed to build pygobject
Installing collected packages: peewee, certifi, urllib3, idna, chardet, requests, injector, docopt, pyusb, liquidctl, pyxdg, rx, pycairo, pygobject, numpy, setuptools, kiwisolver, six, cycler, python-dateutil, pyparsing, matplotlib, gkraken
Running setup.py install for pygobject ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-79o_3rn1/pygobject/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-3huf2yuy-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/pygtkcompat
copying pygtkcompat/pygtkcompat.py -> build/lib.linux-x86_64-3.6/pygtkcompat
copying pygtkcompat/__init__.py -> build/lib.linux-x86_64-3.6/pygtkcompat
copying pygtkcompat/generictreemodel.py -> build/lib.linux-x86_64-3.6/pygtkcompat
creating build/lib.linux-x86_64-3.6/gi
copying gi/module.py -> build/lib.linux-x86_64-3.6/gi
copying gi/pygtkcompat.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_compat.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_signalhelper.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_error.py -> build/lib.linux-x86_64-3.6/gi
copying gi/importer.py -> build/lib.linux-x86_64-3.6/gi
copying gi/__init__.py -> build/lib.linux-x86_64-3.6/gi
copying gi/types.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_ossighelper.py -> build/lib.linux-x86_64-3.6/gi
copying gi/docstring.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_constants.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_gtktemplate.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_option.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_propertyhelper.py -> build/lib.linux-x86_64-3.6/gi
creating build/lib.linux-x86_64-3.6/gi/repository
copying gi/repository/__init__.py -> build/lib.linux-x86_64-3.6/gi/repository
creating build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/Gio.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/GIMarshallingTests.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/keysyms.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/GObject.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/__init__.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/Gtk.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/Gdk.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/Pango.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/GdkPixbuf.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/GLib.py -> build/lib.linux-x86_64-3.6/gi/overrides
running build_ext
Package gobject-introspection-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-introspection-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gobject-introspection-1.0' found
Command '('pkg-config', '--print-errors', '--exists', 'gobject-introspection-1.0 >= 1.46.0')' returned non-zero exit status 1.

Try installing it with: 'sudo apt install libgirepository1.0-dev'

----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-79o_3rn1/pygobject/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-3huf2yuy-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-79o_3rn1/pygobject/
christian@christian-desktop:~$ sudo gkraken
sudo: gkraken: command not found
christian@christian-desktop:~$

Aravisian

Tue Jun 25, 2019 1:58:11 pm

cseiglie wrote:I got an error trying to do at pip3 install gkraken

Failed building wheel for pygobject

Cseiglie, what happens if you enter in terminal:
Code:
sudo apt-get install libcairo2-dev

Code:
sudo apt install libgirepository1.0-dev

Code:
sudo apt update

Code:
sudo apt install python3-pip

cseiglie

Tue Jun 25, 2019 2:05:24 pm

those work in terminal now what? should I try the steps prior message?

Aravisian

Tue Jun 25, 2019 2:20:29 pm

cseiglie wrote:those work in terminal now what? should I try the steps prior message?

Start with doing this, next:
Code:
pip install --upgrade pip

Then
Code:
sudo apt install gir1.2-gtksource-3.0 gir1.2-appindicator3-0.1 python3-gi-cairo

Just to be sure... I am not sure at which point you got the error.
Then:
Code:
pip3 install gkraken

That should go error free...

EDIT: I forgot, once installed, run this command, too:
Code:
pip3 install -U gkraken

cseiglie

Wed Jun 26, 2019 2:53:19 am

I am not seeing temps and i get access permission thingy and lighting is coming soon?
Am I missing something here

Aravisian

Wed Jun 26, 2019 5:33:43 am

I wonder if you may need to install sensors:
Code:
sudo apt-get install lm-sensors

I wouldn't think so... but...

Gkraken does need to be opened/run with Elevated Privileges, though.
Code:
Running the app
To start the app you have to run the command gkraken in a terminal. The app needs to access the USB interface of the Kranen that, normally,
is not available to unprivileged users.
To allow normal users to access the Kraken's USB interface you can
create a custom udev rule

Udev rule

Automatic way
Once GKraken is installed, the udev rule can be easily crated executing
sudo `which gkraken` --udev-add-rule

Application entry
To add a desktop entry for the application run the following command:
gkraken --application-entry

Manual way
If for some reason the automatic way fails, you can always do it manually by creating a new
file in /lib/udev/rules.d/60-gkraken.rules containing this text:
SUBSYSTEM=="usb", ATTRS{idVendor}=="1e71", ATTRS{idProduct}=="170e", MODE="0666"
After that, run the following commands
sudo udevadm control --reload-rules
sudo udevadm trigger --subsystem-match=usb --attr-match=idVendor=1e71 --action=add
If you don't want to create this custom rule you can run gkraken as root
(using sudo) but we advise against this solution.