Skip to content

CJsps199/Fyde-Mac_Keyboard_Backlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fyde-Mac_Keyboard_Backlight - Works on FydeOS, ChromeOS via Brunch or ChromeOS Flex (Any Chromium OS Based System)

Chromius Based OS - Macbook keyboard backlight. Steps to get keyboard backlight working semi fine on Macbook running FydeOS

4 Steps:

1: Activate Developer Mode on OS
2: Install *Chromebrew*
3: Download Scripts & move to correct directories
4: Install & activate autostart script with *Chrome Autostart*

1: Activate Developer Mode to access crosh shell:

Video guide:

Watch the video

1: Open the Settings menu.
2: Select FydeOS Settings.
3: Click `Enable Developer Mode’to complete the setup.

2: Install Chromebrew:

Thanks to the developers: https://github.com/chromebrew/chromebrew

Prerequisites

Warning

Please be aware of the fact that developer mode is insecure if not properly configured.

Tip

Setting a password as instructed in the VT-2 login screen is recommended. It is also recommended to enable signed boot:

sudo chromeos-setdevpasswd
sudo crossystem dev_boot_signed_only=1

Installation

Important

The beta, dev, and Canary channels are not supported and should not be used with Chromebrew. Failure to take notice of this warning will cause major issues with your Chromebrew installation.

See issue #2890 and the FAQ for more details.

Warning

On ChromeOS M117+, the Chromebrew installer will not work in crosh anymore due to the security changes introduced in ChromeOS M117.

Open a VT-2 terminal session with Ctrl+Alt+T and login with the chronos user and password if set above. (if you are unable to do this, please have a second look at the prerequisites and make sure your Chromebook is in developer mode)

Then run the installation script below:

bash <(curl -L git.io/vddgY) && . ~/.bashrc

This is mainly to add Python support. Chromebrew installs Python by default during installation.

3: Get required scripts:

Make the root directory writable.

sudo -i
mount -o rw,remount /

Clone Repository to home directory

cd /home/chronos/user
 git clone https://github.com/CJsps199/Fyde-Mac_Keyboard_Backlight.git

Copy python file to correct directory

cd Fyde-Mac_Keyboard_Backlight
cp keyboard-backlight.py /usr/local/bin/

Copy bash script to home directory & make script executable

cp keyboard-startup.sh /home/chronos/user/
chmod +x /home/chronos/user/keyboard-startup.sh

Add Chrome-Autostart:

Thanks to the developers: https://github.com/supechicken/ChromeOS-AutoStart

Installation

Important

This extension conflicts with Secure Shell extension (development version). (as this extension used its ID)

Please remove it before installing this extension (if installed), otherwise this extension might not work as expected

  • Download the latest release of this extension (in zip) and unzip it
  • Go to chrome://extensions and enable Developer Mode
  • Click Load unpacked extension and select the ChromeOS-AutoStart-<version> unzipped folder
  • A new window will appear and add command(s) you want to run at startup
  • Optional: Click the Test run button to test it out after adding a command

Note

Please do not delete the unzipped folder after loading the extension, otherwise the extension will get deleted after reboot

4: Add Autostart to start keyboard backlight on system boot

1: Click on Extention details:

image

2: Click on Extention Options:

image

3: Click on Manage Autostart Entries:

image

4: Click on Add New Entry:

image

5: Add Command:

image

shell
sudo bash /home/chronos/user/keyboard-startup.sh
<developer password> (this was set when installing Chromebrew)

6: Save Script:

image

7: Test Run Script:

image

About

FydeOS or Chromium based OS - Macbook keyboard backlight

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published