|Running it on Linux
|Page 1 of 1|
|Author:||MrTweek [ Tue Apr 22, 2008 5:27 am ]|
|Post subject:||Running it on Linux|
As I only run Linux on my computer, I had to do some manual work to get it running.
At first I wrote a little tool, to convert tiff images to the art.lebedev format of these sys-files. Here's the source. You'll need libtiff and libtiff-dev to compile and run it. argv is the input file (must be tiff, 48x48), argv is the resulting sys-file.
I didn't do much testing or error handling, but it basically works for me. Will probably update it soon.
Now you can create your key-images with your favourite image manipulation application.
To activate them, I just wrote some little shell scripts, that look like this:
The sync at the end is important to commit the changes. Otherwise they will be kept in the fs-cache and it will take a while until the changes take effect.
To generate text on the fly, you can use imagemagick:
This will generate a little tiff file containing the text 'wtf?'. Now copy it into your keyboard:
Check the docs of imagemagick for adding more cool effects.
Some cool dynamic stuff:
This will put the current time into your spacebar. I'm using cron, to update it every minute.
Any more Linux users out there? Let me know, how you handle your Optimus.
Questions or problems with my scripts? Feel free to ask.
|Author:||Atomic [ Tue Apr 22, 2008 9:41 am ]|
|Post subject:||Re: Running it on Linux|
Excellent work MrTweek!
|Page 1 of 1||All times are UTC + 10 hours|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group