You are not logged in.

#1 2009-01-12 19:15:04

LeoSolaris
Member
From: South Carolina
Registered: 2008-03-30
Posts: 354

[Solved]Conky says it's 3 hours in the future...

I'm using a straight up OpenBox desktop and I have been fiddling with conky for a little while. For some reason (and yes, I did a locale-gen, and checked to see that my timezone was set to US/Eastern in rc.conf) Conky, and only Conky, seems to think it is currently 5 pm, when it is just 2 pm.

Here's my ~/.conkyrc

#= Conky Options =#
#=================#

## Behaviour
double_buffer yes
#no_buffers yes
update_interval 0.75
cpu_avg_samples 2
total_run_times 0

## Look
background no
draw_borders no
draw_shades no
border_margin 8
border_width 0
draw_graph_borders yes
draw_outline no
default_color black
default_outline_color black
default_shade_color black
color0 4c4c4c

## Position & Size
alignment top_left
gap_x 50
gap_y 50
maximum_width    275
minimum_size    1250

## Font
#use_xft yes 
#xftalpha 1.0
#xftfont Vibrocentric:pixelsize=12
font Sans

## Window options
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

#= Displayed Text =#
#==================#

TEXT
${alignc}$sysname $kernel ($machine)
${alignc}${exec whoami} @ $nodename

${color0}${alignc}${time %B %d. %Y} | ${color0}${alignc}${time %I:%M:%S}${color}
$hr

${color0}${alignc}-[ sysinfo ]-${color}

${color0}UPTIME: ${color}$uptime

${color0}CPU: ${color}${freq}MHz (${freq_g}GHz)
${color0}RAM: ${color}${memmax}

${color0}CPU: ${color}${cpu}% ${cpubar}$
${color0}RAM: ${color}${mem}/${memmax}(${memperc}%) ${membar}$
${color0}SWP: ${color}${swap}/${swapmax} (${swapperc}%) ${swapbar}$
$hr

${color0}${alignc}-[ battery info ]-${color}

${color0} AC: ${color0}${acpiacadapter}
${color0} Charge: ${color}${battery_percent BAT0} %
${color0} Time remaining: ${color}${battery_time BAT0}
$hr

${color0}${alignc}-[ filesystems ]-${color}

${color0}/-------- ${color}${fs_free /}${tab 20}/${tab 5}${fs_size /} ${fs_bar /}
${color0}/home---- ${color}${fs_free /home}${tab 20}/${tab 5}${fs_size /home} ${fs_bar /home}
${color0}/boot---- ${color}${fs_free /boot}${tab 20}/${tab 5}${fs_size /boot} ${fs_bar /boot}
${color0}/Windows- ${color}${fs_free /media/disk}${tab 20}/${tab 5}${fs_size /media/disk} ${fs_bar /media/disk}
$hr

${color0}${alignc}-[ network ]-${color}

${color0}Hostname: ${color}${nodename}
${color0}Network Name: ${color}${wireless_essid wlan0}
${color0}Link Quality: ${color}${wireless_link_qual_perc wlan0}

${color0}currin: ${color}${downspeedf wlan0} kB/s${alignr}${color0}total-in: ${color}${totaldown wlan0}
${color0}currout: ${color}${upspeedf wlan0} kB/s${alignr}${color0}total-out: ${color}${totalup wlan0}
$hr

${color0}${alignc}-[ processes ]-${color}

${color0}total: ${color}${processes}${alignr}${color0}running: ${color}${running_processes}

${color0}top 3 (cpu):${color}
${top name 1}${tab 15}${top pid 1}${tab 25}   ${top cpu 1}%
${top name 2}${tab 15}${top pid 2}${tab 25}   ${top cpu 2}%
${top name 3}${tab 15}${top pid 3}${tab 25}   ${top cpu 3}%

${color0}top 3 (mem):${color}
${top_mem name 1}${tab 15}${top_mem pid 1}${tab 25}   ${top_mem mem 1}%
${top_mem name 2}${tab 15}${top_mem pid 2}${tab 25}   ${top_mem mem 2}%
${top_mem name 3}${tab 15}${top_mem pid 3}${tab 25}   ${top_mem mem 3}%

The time code was originally {time %B %d. %Y | %I:%M:%S} I expanded it to see if it might have been the issue.  It wasn't, so in the course of writing this post, I swapped it back.

Tint2 doesn't have this issue, but I feel that the time off to the side disrupts the look of the bar. I haven't tinkered with it enough to put the time in the center, between the two desktop bars, if it is even possible. 

Ok.. I just double checked myself to make sure that tint2 wasn't displaying incorrectly, and it is, so this is something other than just conky. Hmm... I did just reset my locale, maybe a restart would help. (That sounds like typical Windows advice!)

I will report back after the reboot.
BRB

Update:

Restart did not fix the issue. I do find this a little strange that my clock is telling me that I am sitting in the center of the Atlantic Ocean, and I have no way of resetting it.


Ok...   easiest  solve ever. I feel like an idiot.

 sudo date MMDDhhmm

Got it here http://www.linuxsa.org.au/tips/time.html#wrongtime

Last edited by LeoSolaris (2009-01-12 19:33:19)


I keep getting distracted from my webserver project...

huh? oooh...  shiny!

Offline

#2 2009-01-12 19:39:27

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: [Solved]Conky says it's 3 hours in the future...


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2009-01-12 20:40:00

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: [Solved]Conky says it's 3 hours in the future...

LeoSolaris wrote:

Conky says it's 3 hours in the future...

Hmm. This could be a good thing. What does Conky say about the Dow Jones Industrial Average three hours from now? And I'd like to check back with you on Superbowl Sunday, if I may....


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#4 2009-01-13 00:42:59

LeoSolaris
Member
From: South Carolina
Registered: 2008-03-30
Posts: 354

Re: [Solved]Conky says it's 3 hours in the future...

dhave wrote:
LeoSolaris wrote:

Conky says it's 3 hours in the future...

Hmm. This could be a good thing. What does Conky say about the Dow Jones Industrial Average three hours from now? And I'd like to check back with you on Superbowl Sunday, if I may....

Dow 1.53% down.  I am sure the Superbowl's scores will be coming in on schedule.

Thanks for the note about time sync'ing. I may just do that.

Last edited by LeoSolaris (2009-01-13 00:45:19)


I keep getting distracted from my webserver project...

huh? oooh...  shiny!

Offline

Board footer

Powered by FluxBB