maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] OS2008 Statusbar Clock (https://talk.maemo.org/showthread.php?t=16574)

traveller604 2008-02-13 16:25

Re: [Announce] OS2008 Statusbar Clock
 
Quote:

Originally Posted by fiferboy (Post 141987)
traveller,

It is a hidden file that gets created after the first time you load the plugin. To change the file from XTerm run the command:

Code:

vi ~/.statusbar_clock.rc
Then change the line that says:

Code:

ampm=true
to

Code:

ampm=false
Let me know if that works for you. To have the change take effect, unload the plugins from control panel, then load them again.

Yeah thanks, was pretty obvious as soon as I found the file. Didn't know ls -l doesn't display everything :confused:

What goes for "vi".. never :p nano all the way :D

But thanks it works now :)

N800 with latest released OS 2008.

Thank joo

PJE 2008-02-13 16:28

Re: [Announce] OS2008 Statusbar Clock
 
Hi fiferboy,

Thanks for the applet, keep up the good work...

...How about combining this with your previous brightness/volumne applet and add a bar graph above (brightness) and below (volume) the time. This you'll get all the functionality in a single applet.

fiferboy 2008-02-13 16:32

Re: [Announce] OS2008 Statusbar Clock
 
Quote:

Originally Posted by PJE (Post 141996)
Hi fiferboy,

Thanks for the applet, keep up the good work...

...How about combining this with your previous brightness/volumne applet and add a bar graph above (brightness) and below (volume) the time. This you'll get all the functionality in a single applet.

Another good idea. I didn't mean to take credit for the Advanced Backlight Applet, though. Someone else did the good work on that. I am still looking into how to best overload the plugin to provide more functionality for the sacrificed screen space.

Once I post the source somewhere it will probably be much easier for someone who has written a useful plugin to add clock functionality. It is extremely simple code.

Benson 2008-02-13 16:35

Re: [Announce] OS2008 Statusbar Clock
 
Quote:

Originally Posted by traveller604 (Post 141992)
What goes for "vi".. never :p nano all the way :D

:mad::mad::mad::mad::mad:
Thou shalt use JOE!!!!!!
joe is, among other things, stylus friendly. And better. Than everything else! :p

fiferboy 2008-02-13 16:37

Re: [Announce] OS2008 Statusbar Clock
 
I didn't mean to turn this into an editor flamewar! :D

I will check out Joe (stylus friendly has me curious) but I usually use vi for small files on the tablet or quick programming on a Linux desktop.

fiferboy 2008-02-13 16:51

Re: [Announce] OS2008 Statusbar Clock
 
I updated the first post to include a link to the source code (please let me know if you see any problems or potential memory leaks! I am always a little bit hazy on when GTK needs me to free something manually and when it does it itself)

The source is here:
http://andrew.olmsted.ca/maemo/statusbar-clock

Benson 2008-02-13 17:17

Re: [Announce] OS2008 Statusbar Clock
 
Quote:

Originally Posted by fiferboy (Post 142007)
I didn't mean to turn this into an editor flamewar! :D

I will check out Joe (stylus friendly has me curious) but I usually use vi for small files on the tablet or quick programming on a Linux desktop.

Edit .joerc and enable -mouse, makes stylus tap => position the cursor, and stylus drag => select block (in joe, not just xterm select).

Also, joe relies heavily on ^K (as a command prefix). With an N810, or a BT keyboard, you're fine, but on an N800 you need a solution for that. I defined an F2 key in the xterm toolbar. Then I changed .joerc so that all the ^K commands could also be used with .k2 (termcap for F2), allowing F2 X for save and exit, instead of ^K X.

PJE 2008-02-13 18:25

Re: [Announce] OS2008 Statusbar Clock
 
Quote:

Originally Posted by fiferboy (Post 142001)
Another good idea. I didn't mean to take credit for the Advanced Backlight Applet, though. Someone else did the good work on that. I am still looking into how to best overload the plugin to provide more functionality for the sacrificed screen space.

Once I post the source somewhere it will probably be much easier for someone who has written a useful plugin to add clock functionality. It is extremely simple code.

fiferboy, For some reason I thought you'd done both applets... Ooops!

I'd still like to combine the clock with some other functionality if I were to give up so much valuable space... Possibly a Bluetooth switch.

bexley 2008-02-13 18:42

Re: [Announce] OS2008 Statusbar Clock
 
Quote:

Originally Posted by zeez (Post 141967)
One suggestion: it would be nice if clicking the icon (well either one in this case) would launch the clock.

I've got to strongly back this suggestion. Is it possible?

Like many people, I don't keep the clock applet on, and the worst part of that is that it makes setting an alarm a bit of a pain (set clock applet on, set alarm, set applet off).

fiferboy 2008-02-13 18:47

Re: [Announce] OS2008 Statusbar Clock
 
Quote:

Originally Posted by bexley (Post 142063)
I've got to strongly back this suggestion. Is it possible?

Like many people, I don't keep the clock applet on, and the worst part of that is that it makes setting an alarm a bit of a pain (set clock applet on, set alarm, set applet off).

I'm working on this one. It will definitely be in the next update, then I will look at overloading the plugin to display some more useful information.

If anyone knows the command to launch the clock, it would save me some digging.


All times are GMT. The time now is 21:05.

vBulletin® Version 3.8.8