![]() |
Re: Flashing Keyboard lights as patterns
Quote:
Basically you mark a script file as executable and then you can run it. chmod is your friend. |
Re: Flashing Keyboard lights as patterns
ah, shiny toys! As an enhancement proposal: if you place a solar cell beside the keyboard during the light show, and wire it up to the phone's power input, you will have cracked the battery life issue too :-)
(sorry, couldn't resist ... I know the LED flashing is just harmless fun, but it did make me smile to run it on a device that is so "mAh-challenged"). |
Re: Flashing Keyboard lights as patterns
This is cool!
Lets see and iphone do this - oh wait it don't have a keyboard! :D |
Re: Flashing Keyboard lights as patterns
this looks so much better when you do it yourself!
|
Re: Flashing Keyboard lights as patterns
I'm trying to make a KR.desktop entry that will let me run this from a menu Icon, but I'm stuck due to the root access requirement.
I tried making a script that ran something like: sudo gainroot;/usr/bin/python /opt/liqbase/KR/KR.py or sudo gainroot /usr/bin/python /opt/liqbase/KR/KR.py But that just dumps the script out at a root prompt and fails to execute KR.py until after the root shell is exited. Is it possible to post a script to that would not require root privileges to flash the keyboard lights? |
Re: Flashing Keyboard lights as patterns
cddiede the script is a prototype and we are looking at how to enable playing with the lighting combinations without requiring root for every single app that uses it.
tho its most likely going to be a bit tricky |
Re: Flashing Keyboard lights as patterns
Quote:
|
Re: Flashing Keyboard lights as patterns
Quote:
Edit: wouldn't* |
Re: Flashing Keyboard lights as patterns
Quote:
eh runs all binaries as root as doesn't afraid of anything ;) for normal users however I think a simpler approach would be required. |
Re: Flashing Keyboard lights as patterns
Quote:
Code:
~ $ sudo echo 0 > /sys/class/i2c-adapter/i2c-2/2-0032/leds\:lp5523\:kb1/brightness Code:
echo "/path/to/script.sh" | root On its own I can't see why it needs a .desktop file and .deb package, otherwise I would've made them. It doesn't even have a GUI (yet) |
All times are GMT. The time now is 21:16. |
vBulletin® Version 3.8.8