1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 09:16:11 +00:00
g810-led/INSTALL.md

38 lines
861 B
Markdown
Raw Normal View History

2017-01-15 01:09:26 +00:00
# Installation :</br>
## Build dependencies :</br>
* git
* g++
* make
## Dependencies :</br>
* libusb
* systemd
2017-01-15 01:09:26 +00:00
## Installation of dependencies :</br>
ArchLinux :</br>
`sudo pacman -S git gcc make libusb`</br>
Debian :</br>
`sudo apt-get install git g++ make libusb-1.0-0-dev`</br>
2017-01-21 08:15:18 +00:00
Fedora :</br>
`sudo dnf install git make gcc-c++ libusb-devel`</br>
2017-01-15 01:09:26 +00:00
## Installation :</br>
`git clone https://github.com/MatMoul/g810-led.git`</br>
`cd g810-led`</br>
`make`</br>
`sudo make install`</br>
## Update :</br>
Same as install, but your profile and reboot files are preserved.</br>
## Uninstall :</br>
`sudo make uninstall`</br>
2017-01-15 01:10:50 +00:00
## Boot profiles :</br>
2017-01-15 01:09:26 +00:00
g810-led has 2 systemd units (g810-led and g810-led-reboot).</br>
These 2 units set the keyboard profile on boot and reboot.</br>
Profiles are stored in /etc/g810 :</br>
* /etc/g810/profile
* /etc/g810/reboot