Clock in status bar

Jack Coates jack at monkeynoodle.org
Mon Oct 13 00:15:05 CEST 2003


ew. You know, this might be a classic case of swatting a fly with a
Buick, but gkrellm does have a clock in it :-)

On Sun, 2003-10-12 at 14:55, Christian Sparka wrote:
> > Is there a way to add a clock to the notification area of the status
> > bar?
> 
> If you are talking about the taskbar:
> This topic has been discussed here before (subject: Can I get a clock in
> the taskbar?), and the answer was: No.
> Here is a workaround, using escape sequences to manipulate a xterm title.
> Start a xterm with the following command:
> 
> while true; do
>     echo -ne "\033]0;`date +%T`\007"
>     sleep 1
> done
> 
> and you have a (digital) clock in your taskbar.
> (Not sure whether it works this way on all systems, I have bash and gnu
> date on linux.)
> If you want to start it automatically, you need probably
> two scripts: The first one reads as above, the second one should sit in
> your~/Desktop/Autostart and read like this:
> 
> xterm -iconic -e firstscript.sh
> 
> Yes, somehow dirty...
> hth
> Christian
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://moongroup.com/mailman/listinfo/xfce
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...




More information about the Xfce mailing list