[ solved ] conky time format

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

[ solved ] conky time format

Post by James Tobin on Tue May 31, 2016 1:07 pm

I had successfully changed the time format of the panel clock to 12 hour format but I cant figure out how to change the format of the conky digital clock from 24 hr to 12 hr. ~/.conkyrc didn't seem to have an option to change it. Any way I can make it 12 hr?


Last edited by James Tobin on Fri Jun 03, 2016 7:45 am; edited 1 time in total (Reason for editing : mark as solved)

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Dits on Tue May 31, 2016 3:12 pm

With ChaletOS 14.04, the time in the conky is in zink with the time on the bottom panel, but when i tried the new version the conky wouldn't change to a 12 hour format, that's one of the reasons i'm sticking with the 14.04.1 version. I also preferred the original Style changer.

You might have to ask on the ChaletOS Google site for an answer...
https://plus.google.com/u/0/communities/108630943169932456503

___________________________________________________________________________________________________________________________________
avatar
Dits

Posts : 138
Join date : 2015-04-30
Location : South Australia

http://chaletos.info

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Wed Jun 01, 2016 11:14 am

>:C

I hope they fix it

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Dai_trying on Thu Jun 02, 2016 12:16 am

I guess this depends how you get the time for your conkies, but I use ${time %H} for 24 hour time (hours) or ${time %I} for 12 hour instead.
avatar
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Thu Jun 02, 2016 1:22 am

Dai_trying wrote:I guess this depends how you get the time for your conkies, but I use ${time %H} for 24 hour time (hours) or ${time %I} for 12 hour instead.

where does that stuff go?

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Dai_trying on Thu Jun 02, 2016 1:39 am

in the .conkyrc file. It defaults to your user home folder. but if you change the conky using the style changer it will be lost. If you want to permanently change the settings you would need to edit the config file in /opt/extras.ubuntu.com/chaletosstylechanger/conky/(conky style name)/.conkyrc
avatar
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Thu Jun 02, 2016 8:20 am

not really understanding where you're coming from...

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Dai_trying on Thu Jun 02, 2016 8:29 am

you have to edit the file ".conkyrc" that is in your home folder, try
Code:
$ mousepad .conkyrc
from your home folder and it will load your conky config file, then find the part that says  ${time %H} and change it to  ${time %I}
What conky do you use? I could give more explicit instructions if I know.
avatar
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Thu Jun 02, 2016 9:00 am

I didnt see anything like that

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Thu Jun 02, 2016 9:01 am


___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Dai_trying on Thu Jun 02, 2016 9:34 am

change the line that reads
Code:
${goto 50}${voffset 90}${color #E6E6E6}${font Segoe UI:size=25}${time %H:%M}
To this
Code:
${goto 50}${voffset 90}${color #E6E6E6}${font Segoe UI:size=25}${time %I:%M}
You will now have 12 Hr clock
avatar
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Thu Jun 02, 2016 9:36 am

now conky wont work Sad

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Dai_trying on Thu Jun 02, 2016 8:40 pm

use the style changer to select it again and this will place a fresh copy of the .conkyrc file in your home directory. I have tried this myself and it did work. You only need to replace the %H with %I
avatar
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Fri Jun 03, 2016 2:37 am

yeah I meant to update yesterday but I forgot. sorry about that. I restarted my computer and it came back but it was 24 hr format :<

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Dai_trying on Fri Jun 03, 2016 3:38 am

If you changed it using stylechanger it will be back to default settings again, applying the change I suggested will work, and it is one letter to change a "H" for an "I" that is capital i.
avatar
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Fri Jun 03, 2016 3:45 am

no. I changed it by changing config as you recommended and the conky crashed and the conky switcher didnt help. So I restarted and it went back to original with time format 24 hrs. J:~


Last edited by James Tobin on Fri Jun 03, 2016 3:48 am; edited 1 time in total (Reason for editing : 24 hrs not 12)

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Dai_trying on Fri Jun 03, 2016 3:46 am

James Tobin wrote:So I restarted and it went back to original with time format 12 hrs. J:~
So it worked then???
avatar
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Fri Jun 03, 2016 3:47 am

argh sorry

meant 24 hrs will edit.

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Dai_trying on Fri Jun 03, 2016 3:49 am

LOL I can assure you the change I stated will work, if your conky fails it will be for another reason, maybe using a windows text editor or using Libreoffice Writer, both will bork your conky file
avatar
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Fri Jun 03, 2016 3:50 am

I was using Gedit

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Fri Jun 03, 2016 3:51 am

dont wanna hafta restart yet because I have to finish this worksheet for work but I will in a few minutes Very Happy

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Dai_trying on Fri Jun 03, 2016 3:52 am

that should work fine Smile
avatar
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

Re: [ solved ] conky time format

Post by Dai_trying on Fri Jun 03, 2016 3:53 am

You dont need to restart your machine, just go to a terminal and type
Code:
 killall conky
and then
Code:
conky
and it will restart
avatar
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Fri Jun 03, 2016 4:00 am

oh ok, I did not know what the process name was. And I'm done with the worksheet so now I can fiddle around Very Happy

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by James Tobin on Fri Jun 03, 2016 4:02 am

Super that worked and thanks a lot! but now I have another problem. It's location on the screen dropped and it is in my taskbar partially. How do I change that? will send screenshot in a minute


Last edited by James Tobin on Fri Jun 03, 2016 4:04 am; edited 1 time in total

___________________________________________________________________________________________________________________________________

The only good thing about Windows is that it never gives you any terminal illnesses.
Needless to say, Terminal illnesses are the only problem with Linux.
avatar
James Tobin

Posts : 667
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

Re: [ solved ] conky time format

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum