Skip to content

InsertX2k/rgb_linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

enable_led & disable_led

Basically group of simple 2 Python script files to help fix the problem of Keyboard LEDs that doesn't want to turn on When running on Linux.


Required Packages:

  • pillow Optional
  • colorama

How to compile into distributable binaries?:

In order to compile these Python script files into Linux binaries, you must have pyinstaller installed, alongwith auto-py-to-exe when necessary

Quick Compilation Guide:

  • Download both of the scripts enable_led and disable_led
  • Make a working directory.
mkdir working-dir
cd working-dir

  • Copy scripts from your Downloads folder to the working-dir you have just made.
cp enable_led.py /working-dir/enable_led.py
cp disable_led.py /working-dir/disable_led.py

  • Compile them with pyinstaller
pyinstaller enable_led.py
pyinstaller disable_led.py

  • Copy them into /usr/bin for easier access later.
sudo cp enable_led /usr/bin/enable_led
sudo cp disable_led /usr/bin/disable_led

I don't think I have to tell you that you must have to enter your sudo password to copy to /usr/bin.

  • Enjoy!
# to enable keyboard backlight
enable_led 
# to disable keyboard backlight
disable_led
# no sudo needed

License

This script file is licensed under the Public Domain License.

About

A Simple Program (Written in Python) to help you enable and disable your keyboard's LED when running on Linux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages