LED Binary Clock

Various Gnome Stuff

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
7.3
Description:

This program shows current time in binary format.
It is written in C, and a little more efficient than the ones written in Python, Perl, and so on.

I hope you'll like this.
Thanks.
Last changelog:

11 years ago

0.1.7
-----------------------
* bug fix release.

0.1.6
-----------------------
* bug fix release. The version 0.1.5 showed the digits in the reversed order.

0.1.5
-----------------------
* Added a command-line option to specify the alignment of the LEDs. (a request from Marcin ZajÄ…czkowski)

0.1.4
------------------------
* Added a command-line option to remove binclock from the window list.
* Added fake transparency in the non-composited environment.
0.1.3
------------------------
* Fixed ftbts.

0.1.2
------------------------
* Now binclock has adopted automake build system.

0.1.1
------------------------
* More command line options including time and date format specifier (see README for details)

0.1.0
------------------------
*Add a command-line option to change the colour of the LEDs (see `binclock --help' for details.)

prisioner

11 years ago

i got this error

# make install
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -MT binclock-timer.o -MD -MP -MF ".deps/binclock-timer.Tpo" -c -o binclock-timer.o `test -f 'timer.c' || echo './'`timer.c; \
then mv -f ".deps/binclock-timer.Tpo" ".deps/binclock-timer.Po"; else rm -f ".deps/binclock-timer.Tpo"; exit 1; fi
timer.c:21:19: error: timer.h: No existe el fichero ó directorio
timer.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_month_digits’
timer.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_month_flag’
timer.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_month_optchar’
timer.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_month_get_value’
timer.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_day_digits’
timer.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_day_flag’
timer.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_day_optchar’
timer.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_day_get_value’
timer.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_wday_digits’
timer.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_wday_flag’
timer.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_wday_optchar’
timer.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_wday_get_value’
timer.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_hour24_digits’
timer.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_hour24_flag’
timer.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_hour24_optchar’
timer.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_hour24_get_value’
timer.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_hour12_digits’
timer.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_hour12_flag’
timer.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_hour12_optchar’
timer.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_hour12_get_value’
timer.c:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_minute_digits’
timer.c:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_minute_flag’
timer.c:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_minute_optchar’
timer.c:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_minute_get_value’
timer.c:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_second_digits’
timer.c:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_second_flag’
timer.c:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_second_optchar’
timer.c:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generated_second_get_value’
timer.c:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
timer.c:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
timer.c:100: error: expected ‘)’ before ‘*’ token
timer.c:106: error: expected ‘)’ before ‘*’ token
make: *** [binclock-timer.o] Error 1

Report

Ashura

11 years ago

Trying to compile your app fails: timer.h is missing.

Report

code933k

11 years ago

Thanks for doing useful things in your spare time ;7

Report

blacksmith

11 years ago

Very nice and fancy but he need more options like background mode (like conky), tray icon, lack of window borders and titlebar.

Report

blacksmith

11 years ago

Thank you ziro for new options. Two more is missing :) - transparent background and without entry in "Window list" (now i use devilspie to remove entry from there). With this : binclock -A -D -g 170x135+815+450 -H 750 i get this: http://img401.imageshack.us/img401/4136/screenshotcw4.jpg

Report

Whise

11 years ago

there are 2 binary clocks made for screenlets

Report

C

ziro

11 years ago

Great, I wish if I had known it earlier.

Report

Whise

11 years ago

hey i just said that because you said no one made a binary clock yet :) , maybe you could use the screenlets engine also?

Report

lonerocker

11 years ago

nice clock, though is a little hard getting used to reading the time; but still it's fun.

It would be cool it had some options, like colours, position, and such.

Report

C

ziro

11 years ago

Thanks for your comment.
I'll try to implement them.

(Sorry, I've just updated it now, but I just added the precompiled binary.)

Report

11 years ago

0.1.7
-----------------------
* bug fix release.

0.1.6
-----------------------
* bug fix release. The version 0.1.5 showed the digits in the reversed order.

0.1.5
-----------------------
* Added a command-line option to specify the alignment of the LEDs. (a request from Marcin ZajÄ…czkowski)

0.1.4
------------------------
* Added a command-line option to remove binclock from the window list.
* Added fake transparency in the non-composited environment.
0.1.3
------------------------
* Fixed ftbts.

0.1.2
------------------------
* Now binclock has adopted automake build system.

0.1.1
------------------------
* More command line options including time and date format specifier (see README for details)

0.1.0
------------------------
*Add a command-line option to change the colour of the LEDs (see `binclock --help' for details.)

12345678910
product-maker Count:28 Rating: 7.25
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.1.7
updated Mar 09 2009
added Mar 07 2008
downloads today
0
page views today 2