raverpol
|
2010-03-09
, 17:26
|
Posts: 356 |
Thanked: 69 times |
Joined on Jan 2010
@ Poland
|
#41
|
|
2010-03-09
, 18:01
|
Posts: 82 |
Thanked: 44 times |
Joined on Feb 2010
|
#42
|
would there be a command that could pull time form world clock so it could display on desktop using the desktop widget?
#!/bin/sh echo "London : " `TZ=Europe/London date "+%a %H:%M"` echo "Perth : " `TZ=Australia/Perth date "+%a %H:%M"` echo "NOLA : " `TZ=America/Mexico_City date "+%a %H:%M"`
TZ=Europe/London date "+%a %H:%M"
The Following 2 Users Say Thank You to benh_n900 For This Useful Post: | ||
|
2010-03-09
, 22:22
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#43
|
|
2010-03-09
, 22:59
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#45
|
The Following User Says Thank You to Schturman For This Useful Post: | ||
|
2010-03-10
, 02:42
|
Posts: 362 |
Thanked: 145 times |
Joined on Jan 2008
@ Sydney, Australia
|
#46
|
I did it like this:
1. Create a script "worldtimes.sh" and put your places and preferred date formatting in it. For me this looks like:
Code:#!/bin/sh echo "London : " `TZ=Europe/London date "+%a %H:%M"` echo "Perth : " `TZ=Australia/Perth date "+%a %H:%M"` echo "NOLA : " `TZ=America/Mexico_City date "+%a %H:%M"`
|
2010-03-10
, 18:38
|
|
Posts: 324 |
Thanked: 65 times |
Joined on Jun 2008
@ FL
|
#47
|
|
2010-08-14
, 11:42
|
Posts: 10 |
Thanked: 6 times |
Joined on Jun 2010
@ Finland
|
#50
|
#!/bin/sh set $(date +%d\ %m\ %Y) gconftool -s /apps/connui-cellular/operator_name_online $1.\ $2.\ $3 --type=string