Author Topic: (solved) sleeptimer in systray  (Read 3151 times)

uncleV

  • Guest
Re: (solved) sleeptimer in systray
« Reply #15 on: September 25, 2010, 08:26:22 AM »
Yeah, something's messed but I feel some logic here :-\

uncleV

  • Guest
Re: (solved) sleeptimer in systray
« Reply #16 on: September 25, 2010, 08:36:41 AM »
As for me and Leiche date -d gave the GMT time.

But to Neal (Tennessee) it gave GMT+1. Compare to the post's time too.

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3749
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: (solved) sleeptimer in systray
« Reply #17 on: September 25, 2010, 08:41:54 AM »
So i must find a another way to display.
Me thinks it gives the (GMT time+local shift) without the day-light saving correction.
You in Germany are +1 hour compared to GMT without summer daylight correction.
Me in Bulgaria is +2 hour compared to GMT without summer daylight correction.

So everything is fine?

If this is correct, then a way to add the +1, +2 or other +number is needed. Correct?


Thinking...
To much for a simple zenity script.

uncleV

  • Guest
Re: (solved) sleeptimer in systray
« Reply #18 on: September 25, 2010, 08:43:23 AM »
As for me and Leiche date -d gave the (GMT+summer daylight saving correction)  time.

But to Neal (Tennessee) it gave GMT+1+1 :-\.

Compare to the post's times too.

uncleV

  • Guest
Re: (solved) sleeptimer in systray
« Reply #19 on: September 25, 2010, 08:55:29 AM »
date +%s (from 1970-01-01 till post)
Leiche - 1285422586 sec.
uncleV - 1285423740 sec
Neal - 1285427577 sec

Neal has lived about 3000 seconds more than us ;D

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3749
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: (solved) sleeptimer in systray
« Reply #20 on: September 25, 2010, 09:00:25 AM »
 ;D too much  ;D

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: (solved) sleeptimer in systray
« Reply #21 on: September 25, 2010, 09:13:10 AM »
 ;D ;D ;D

uncleV

  • Guest
Re: (solved) sleeptimer in systray
« Reply #22 on: September 25, 2010, 09:16:08 AM »
;D too much  ;D
He is an old fart you know... Shhh...

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3749
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: (solved) sleeptimer in systray
« Reply #23 on: September 25, 2010, 09:52:25 AM »
Timeout, my head is crashing  ;D


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: (solved) sleeptimer in systray
« Reply #24 on: September 25, 2010, 10:06:02 AM »
Timeout, my head is crashing  ;D

uncleV is good at causing a head crash. ;) ;D ;D

Take a break. Get some rest. :)

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3749
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: (solved) sleeptimer in systray
« Reply #25 on: September 26, 2010, 12:08:35 PM »
Timeout, my head is crashing  ;D


uncleV is good at causing a head crash. ;) ;D ;D

Take a break. Get some rest. :)


Found a solution, sometimes i've see no forest for the trees  ;D
My trick:
Code: [Select]
TASK1=$(date -s "+$TIMER seconds")The output  ;D


Uploaded with ImageShack.us

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: (solved) sleeptimer in systray
« Reply #26 on: September 26, 2010, 12:53:40 PM »
Excellent solution.

ongoto

  • Guest
Re: (solved) sleeptimer in systray
« Reply #27 on: September 29, 2010, 01:54:55 AM »
Quote
Neal has lived about 3000 seconds more than us Grin

All this time I thought it was the coffee beans.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: (solved) sleeptimer in systray
« Reply #28 on: September 29, 2010, 07:45:43 AM »
Quote
Neal has lived about 3000 seconds more than us Grin

All this time I thought it was the coffee beans.

 ;D ;D ;D