Macbook Air 2012 Keyboard Breathing Effect

Apple “thin and light” models of macbooks

Screenshot%20from%202018-02-08_21%3A50%3A00

What is this though XD

2 Likes

if that was attempt at pun 1/10 nice try tho

:stuck_out_tongue:
edit
waiit
i see now lol
english, strikes again

1 Like

me not good at spelling

3 Likes

Should talk to @Main_Main about that :stuck_out_tongue:

2 Likes

I know the struggles, I empathize with your plight

3 Likes

so how do i run it some one please run trough it for me

2 Likes

@Michael has this problem been solved yet?

There is a slight problem with this implementation problem right now. It uses almost 10% cpu power to run which may not be the best thing.

If not, then I’d argue that using 10% of the CPU just for a keyboard backlight effect is kind of waste. Neat gimmick, but that’s a lot of CPU power.

1 Like

Hey and welcome, I’ll try and go through the basic process of running this script.

  1. Firstly copy the script and save it to file as something like breath.sh
  2. Open a Terminal session and assign the execute permissions to the file with:
chmod +x breath.sh
  1. Now you should be able to run the script with:
sudo ./breath.sh

Also as a side note as it wasn’t mentioned in the original post, I believe this script was designed to run on Linux and I’m not sure whether it will also work in macOS or if it has the same access to the smcdriver needed for this script to run. @Dje4321 who wrote this script should know more on this as I don’t have access to a device with macOS to test it.

I don’t believe so? Dje mention it might’ve been an issue with bash so it may have had an update in the last two years that makes this run better but I really can’t say.

1 Like

My bad. I thought it was you who wrote the bash script. Time for new glasses indeed when I can’t tell your avatars apart at a glance.

1 Like

i am really fucking stupid so where do i copy it
the code
also i swiched to pc so im used to it

Just copy the text into a any text editor and save the file to whatever you want or just download the attached copy I made below:

breath.sh (878 Bytes)

thx for the help i probably have like one brain secl just dingin around in my head like a windows screen saver

1 Like

don’t mention it, we all feel like that sometimes. if you need anymore help with it don’t hesitate to ask :slightly_smiling_face:

it says no such file or directory
im kinda confused i dont do terminal shit

Where did you save the file to? you need to run those commands against the file location to saved it to. you might just have the wrong location or running it from your ~/ and its in ~/Downloads for example?

i know its alot and i hope im not pushing it
so could u write down what i need to copy to terminal and the file is located in the downloads tab
in finder

your fine. I’ll try and explain it best I can but I’m making assumptions as I’m not too familiar with macOS but assuming its in your downloads folder you should just need to run:

chmod +x ~/Downloads/breath.sh
sudo ~/Downloads/breath.sh

Welcome to 0cd.

To run this you will need to install a linux distribution of choice. I would recommend fedora but i have some bias on that. Once you have a linux distro installed, copy and paste the entire script from the post into a file and call it something. I am going to use breathing.sh. the .sh is important because it indicates a shell script. Once the text is in the file, save it. Then open up a terminal and navigate to the file. Execute the file as root and it should then run.

This ONLY work on a macbook with a backlit keyboard that is running linux.

sudo /bin/sh breathing.sh

3 Likes

know it repeating 9 unery operator expected
and 20 unery operator expected