1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 01:06:11 +00:00
g810-led/INSTALL.md
barul42 b7a2c508c8 Update INSTALL.md
Added systemd in Dependencies
2017-01-17 11:37:47 +01:00

965 B

Installation :

Build dependencies :

  • git
  • g++
  • make

Dependencies :

  • libusb
  • systemd

Installation of dependencies :

ArchLinux :
sudo pacman -S git gcc make libusb
Debian :
sudo apt-get install git g++ make libusb-1.0-0-dev
OpenSUSE :
sudo zypper in git make gcc-c++ libstdc++-devel libusb-1_0-devel
CentOS :
sudo yum install git make gcc-c++ libstdc++-devel libusb-devel

Installation :

git clone https://github.com/MatMoul/g810-led.git
cd g810-led
make
sudo make install

Update :

Same as install, but your profile and reboot files are preserved.

Uninstall :

sudo make uninstall

Boot profiles :

g810-led has 2 systemd units (g810-led and g810-led-reboot).
These 2 units set the keyboard profile on boot and reboot.
Profiles are stored in /etc/g810 :

  • /etc/g810/profile
  • /etc/g810/reboot