Slacko 5.4 How do I change clock to 12 hours? (Solved)
-
- Posts: 5
- Joined: Wed 12 Dec 2012, 20:58
Slacko 5.4 How do I change clock to 12 hours? (Solved)
OSMO and pupclockset 1.9.2 have no effect. Is there another way to change from military time to 12 hour clock?
-
- Posts: 5
- Joined: Wed 12 Dec 2012, 20:58
In the case of not seeing that option when right-clicking on the taskbar digital time display, you can try another solution.
Click on the House on the desktop to open ROX in the /root directory.
Then Click on the EYE to show hidden files.
Next, right-click on .jwmrc-tray and select Open as text.
At the end of that file, you will see a line that says:
"<Clock format="%H:%M">minixcal</Clock>" without the outside quotes.
Change that line again without the outside quotes to:
"<Clock format="%1:%M %p">minixcal</Clock>"
Restart the window manager and you should be greeted with am/pm type of time display.
This is for the Openbox and JWM window managers by the way.
It does not work when running xfce4 as window manager and also with comp-fusion.
Let us know if it works for you.
Click on the House on the desktop to open ROX in the /root directory.
Then Click on the EYE to show hidden files.
Next, right-click on .jwmrc-tray and select Open as text.
At the end of that file, you will see a line that says:
"<Clock format="%H:%M">minixcal</Clock>" without the outside quotes.
Change that line again without the outside quotes to:
"<Clock format="%1:%M %p">minixcal</Clock>"
Restart the window manager and you should be greeted with am/pm type of time display.
This is for the Openbox and JWM window managers by the way.
It does not work when running xfce4 as window manager and also with comp-fusion.
Let us know if it works for you.
-
- Posts: 5
- Joined: Wed 12 Dec 2012, 20:58
I do not know what is going on with the forum . But the character after the first percent sign is the numeral 1.
It is not showing as that so I will try doing a paste of it to this message in a code box.
I did not do it because the line was again changed.
So here it is manually I hope.
<Clock format="%1:%M %p">minixcal</Clock>
That seemed to work although I had to edit the line as a paste into the message had changed the %1 to a %l (lower case L).
So be sure that the character after the first percent sign is the numeral one.
It should then work for you.
It is not showing as that so I will try doing a paste of it to this message in a code box.
I did not do it because the line was again changed.
So here it is manually I hope.
<Clock format="%1:%M %p">minixcal</Clock>
That seemed to work although I had to edit the line as a paste into the message had changed the %1 to a %l (lower case L).
So be sure that the character after the first percent sign is the numeral one.
It should then work for you.
Cache from the search engine --->8-bit wrote:I do not know what is going on with the forum . But the character after the first percent sign is the numeral 1.
...
- Attachments
-
- 10949.13428.0.14776.png
- (23.94 KiB) Downloaded 940 times
I edited your previous post to change the "l" in that line to a 1. It seemed to take, so I don't know what happened when you posted it. Did you try to edit that post and nothing changed?8-bit wrote:I do not know what is going on with the forum . But the character after the first percent sign is the numeral 1.
It is not showing as that so I will try doing a paste of it to this message in a code box.
I did not do it because the line was again changed.
So here it is manually I hope.
<Clock format="%1:%M %p">minixcal</Clock>
That seemed to work although I had to edit the line as a paste into the message had changed the %1 to a %l (lower case L).
So be sure that the character after the first percent sign is the numeral one.
It should then work for you.
I'm using Slacko with JWM.8-bit wrote:<Clock format="%1:%M %p">minixcal</Clock>
That seemed to work although I had to edit the line as a paste into the message had changed the %1 to a %l (lower case L).
So be sure that the character after the first percent sign is the numeral one.
It should then work for you.
Below, in the clock-parameters image, is what i get using "%1...." as per your advice, 8-bit....no disrespect, but the numeral "1" doesn't seem to be a valid parameter....in the 12-hr clock image, the lowercase "L" is used.
- Attachments
-
- 12hr-clock.png
- only used the "%p" here to show the AM time
- (73.51 KiB) Downloaded 845 times
-
- clock-parameters.png
- sorry it's not clearer but scaled down image size
- (71.65 KiB) Downloaded 861 times
[i][color=Green][size=92]The mud-elephant, wading thru the sea, leaves no tracks..[/size][/color][/i]
Hi
I do not think that %1 (that's a number one) is a valid parameter.
According to this page the closest things resembling it are either a lower case letter ell, or an uppercase letter i
The images below show the result of using:
In both instances there is no AM/PM shown after the time.
CatDude
.
I do not think that %1 (that's a number one) is a valid parameter.
According to this page the closest things resembling it are either a lower case letter ell, or an uppercase letter i
The images below show the result of using:
- %1:%M %p (a number one)
%I:%M %p (an uppercase letter i)
In both instances there is no AM/PM shown after the time.
CatDude
.
- Attachments
-
- a-number-one-i-dont-think-so.png
- (48.9 KiB) Downloaded 891 times
-
- still-no-AM-PM.png
- (47.59 KiB) Downloaded 887 times
Hello Jasper
Anyway mate, to answer your question, no it does not work (in the LXPanel)
CatDude
.
It's not so much that it is needed, more curiosity as to why it doesn't show in LXPanel.Jasper wrote:Hi CatDude et al,
If am/pm is needed does:
<Clock format="%l:%M %p">minixcal</Clock>
that's a lower case L - work.
My regards
PS the space beween %M and %p inserts a space in the output.
Anyway mate, to answer your question, no it does not work (in the LXPanel)
CatDude
.
- Attachments
-
- with-the-lowercase-L.png
- (44.86 KiB) Downloaded 848 times
Hi CatDude,
Thanks for joining with your expertise.
I have reread angelonefives words twice more and I still miss
any mention of LXPanel (or for that matter am/pm).
Either I missed the reference, or you, in your wisdom, made
that assumption or already knew otherwise.
I have never used LXPanel, but it does seem that the 12 hour
clock is available, perhaps without am/pm.
My regards
Thanks for joining with your expertise.
I have reread angelonefives words twice more and I still miss
any mention of LXPanel (or for that matter am/pm).
Either I missed the reference, or you, in your wisdom, made
that assumption or already knew otherwise.
I have never used LXPanel, but it does seem that the 12 hour
clock is available, perhaps without am/pm.
My regards
Hello Jasper
but my first post was in response to 8-bit's statement:
and the only reason i mentioned LXPanel is because of this:
CatDude
.
Sorry for any confusion caused,Jasper wrote:..I have reread angelonefives words twice more and I still miss
any mention of LXPanel (or for that matter am/pm).
Either I missed the reference, or you, in your wisdom, made
that assumption or already knew otherwise.
but my first post was in response to 8-bit's statement:
and i was pointing out that that did not appear to be true According to this page8-bit wrote:...But the character after the first percent sign is the numeral 1.
That is quite correct,Jasper wrote:..I have never used LXPanel, but it does seem that the 12 hour
clock is available, perhaps without am/pm.
and the only reason i mentioned LXPanel is because of this:
Which is exactly what i am running here, and that includes using the LXPanel8-bit wrote:...That worked for me in Slacko 5.4 running comp-fusion.
CatDude
.
-
- Posts: 5
- Joined: Wed 12 Dec 2012, 20:58
-
- Posts: 5
- Joined: Wed 12 Dec 2012, 20:58
I found the solution/problem, pupclockset 1.92 from:
http://www.murga-linux.com/puppy/viewtopic.php?p=464921
"Downloads" link doesn't work/install but the pupclockset from the "Pupmates" right under it does install. YEA.....thanks everyone. I love my new Puppy!!!
http://www.murga-linux.com/puppy/viewtopic.php?p=464921
"Downloads" link doesn't work/install but the pupclockset from the "Pupmates" right under it does install. YEA.....thanks everyone. I love my new Puppy!!!