View Single Post
Old 09-20-2007, 05:48 PM   #12
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Here's another update that needs to be tested. I've added the ability to select which corner of the screen you would like it to appear on with a command line switch.

Quote:
Application Options:
-F, --font=FN font (fontconfig) to be used
-f, --foreground=FG foreground color
-b, --background=BG background color
-t, --format=FORMAT time format (strftime format string)
-l, --location=LOCATION screen location (tl - top left, tr - top right, bl - bottom left, br - bottom right)
--display=DISPLAY X display to use
For example, if you want it to show up on the top right corner, you'll run

Quote:
./gtkclock --location=tr
I haven't tested it on the iLiad, but it works on my pc.

I'm including the source as well.

Can someone test it and let me know if it works. I still don't have shell access on my iLiad.

-Adam
Attached Files
File Type: zip gtkclock.zip (50.1 KB, 418 views)
File Type: txt gtkclock.txt (4.6 KB, 501 views)
Adam B. is offline   Reply With Quote