Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-19-2022, 11:01 PM   #61
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by PeterT View Post
Any easy way to see what version of NickelClock you have installed?

Sent from my Pixel 4a using Tapatalk
Only from the logs at the moment.

I suppose I could write a version file somewhere, or write it to the settings file, if people would find it useful.
sherman is offline   Reply With Quote
Old 07-20-2022, 02:35 AM   #62
Ned
Ebook reader
Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.
 
Ned's Avatar
 
Posts: 389
Karma: 5899335
Join Date: Oct 2008
Location: York, England
Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2
I installed the latest version setting Margin to 62 with clock top left and battery % top right.

It works fine thank you, but the battery font is noticeably bigger than the clock font

Edit: I tried it with the features switched so that Battery % is top left and clock top right, and the battery font is still much larger

Last edited by Ned; 07-20-2022 at 02:40 AM. Reason: more info
Ned is offline   Reply With Quote
Advert
Old 07-20-2022, 02:44 AM   #63
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by Ned View Post
I installed the latest version setting Margin to 62 with clock top left and battery % top right.

It works fine thank you, but the battery font is noticeably bigger than the clock font

Edit: I tried it with the features switched so that Battery % is top left and clock top right, and the battery font is still much larger
Thanks for the feedback.

On my Glo and Forma, the battery font is the same size as the clock, I'm not sure what's going on here. Which device are you using?
sherman is offline   Reply With Quote
Old 07-20-2022, 02:49 AM   #64
Ned
Ebook reader
Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.
 
Ned's Avatar
 
Posts: 389
Karma: 5899335
Join Date: Oct 2008
Location: York, England
Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2
Quote:
Originally Posted by sherman View Post
Thanks for the feedback.

On my Glo and Forma, the battery font is the same size as the clock, I'm not sure what's going on here. Which device are you using?
The Aura H2O.

I'll try it on the Forma.

Edit: Yes, on the Forma they're the same size.

The Forma and Libra 2 are the ones I use mainly.
The Aura H2O is pretty old and I only use it as a backup device, so no need for you to look into it as far as I'm concerned thank you. There can't be that many left around

this is the Aura H2O
Attached Thumbnails
Click image for larger version

Name:	Battery.jpg
Views:	341
Size:	91.7 KB
ID:	195159  

Last edited by Ned; 07-20-2022 at 04:53 AM.
Ned is offline   Reply With Quote
Old 07-20-2022, 03:07 AM   #65
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 705
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by Ned View Post
I installed the latest version setting Margin to 62 with clock top left and battery % top right.

It works fine thank you, but the battery font is noticeably bigger than the clock font

Edit: I tried it with the features switched so that Battery % is top left and clock top right, and the battery font is still much larger


No problem on the Libra 2.

The battery also is not shaved off as experienced by jackie_w.

I cut and pasted the clock and battery and put them side by side to see.
Attached Thumbnails
Click image for larger version

Name:	screen_037.png
Views:	1219
Size:	232.3 KB
ID:	195157   Click image for larger version

Name:	screen_037a.png
Views:	179
Size:	3.7 KB
ID:	195158  
Deobulakenyo is offline   Reply With Quote
Advert
Old 07-20-2022, 12:04 PM   #66
Ned
Ebook reader
Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.Ned ought to be getting tired of karma fortunes by now.
 
Ned's Avatar
 
Posts: 389
Karma: 5899335
Join Date: Oct 2008
Location: York, England
Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2
Just to confirm that on my Libra 2 it looks brilliant and to say Thank you
Attached Thumbnails
Click image for larger version

Name:	Libra 2 Nickel Clock.jpg
Views:	348
Size:	115.2 KB
ID:	195169  
Ned is offline   Reply With Quote
Old 07-26-2022, 12:22 AM   #67
Tawn
Connoisseur
Tawn began at the beginning.
 
Posts: 70
Karma: 10
Join Date: Mar 2022
Device: kobo Libra 2
In ref. to some book's chapter headings being long & making pages/time bump into each other:
Quote:
Originally Posted by Deobulakenyo View Post
Chapter headings/titles are, more often than not, longer than the title. You can swap the header and footer via patch so the chapter titles are in the footer position, then use footer location for the clock so it will appear in the header position with the book title
Finally got a chance to review/do the patches. (I also did the 'Don't uppercase header/footer text' which makes the text take up somewhat less space.) Just FYI the patches are all that is necessary; no need to change the clock setting - it will still actually appear in the header position which now contains the book title. Thanks again!
Tawn is offline   Reply With Quote
Old 07-26-2022, 01:02 AM   #68
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 705
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by Tawn View Post
In ref. to some book's chapter headings being long & making pages/time bump into each other:


Finally got a chance to review/do the patches. (I also did the 'Don't uppercase header/footer text' which makes the text take up somewhat less space.) Just FYI the patches are all that is necessary; no need to change the clock setting - it will still actually appear in the header position which now contains the book title. Thanks again!
Thanks for the info. so this means that the patches does not affect the clock position.
Deobulakenyo is offline   Reply With Quote
Old 07-26-2022, 02:43 AM   #69
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by Deobulakenyo View Post
Thanks for the info. so this means that the patches does not affect the clock position.
Yeah, I wouldn't expect it to.

Time for a bit of technobabble:

The header and footer are a widget that uses a horizontal box layout manager (QHBoxLayout). This means that when you add widgets, Qt will add them next to each other. The default header/footer has single child widget (the caption), which stretches to fill it's parent. NickelClock adds two more widgets to the header/footer, one before the caption, one after. The two widgets are one of time, battery or spacer.

You can use something called a stretch factor to determine how big widgets can be relative to their siblings. In this case, the NickelClock widgets have a stretch factor set the same for each widget, and smaller than the caption stretch factor. This means that the caption should expand to fill the available space, and the two other widgets should be the same size to keep the caption centred.

The only other thing to worry about is setting margins/padding/font size (which in many ways is the hard bit...).
sherman is offline   Reply With Quote
Old 07-26-2022, 03:13 AM   #70
windirt
Member
windirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to behold
 
Posts: 24
Karma: 11674
Join Date: Jul 2011
Device: Kindle Voyage, Kobo Clara HD, Kobo Forma, Kobo Libra H2O, Kobo Libra2
A small request, whether there can be a setting to toggle the clock's 12/24 hour mode?because my locale prefers to display 24 hour mode.
windirt is offline   Reply With Quote
Old 07-26-2022, 03:16 AM   #71
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by windirt View Post
A small request, whether there can be a setting to toggle the clock's 12/24 hour mode?because my locale prefers to display 24 hour mode.
Not possible sorry. The clock is literally the same one Kobo uses elsewhere.
sherman is offline   Reply With Quote
Old 07-26-2022, 04:32 AM   #72
windirt
Member
windirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to beholdwindirt is a marvel to behold
 
Posts: 24
Karma: 11674
Join Date: Jul 2011
Device: Kindle Voyage, Kobo Clara HD, Kobo Forma, Kobo Libra H2O, Kobo Libra2
Quote:
Originally Posted by sherman View Post
Not possible sorry. The clock is literally the same one Kobo uses elsewhere.
No problem, thanks for the explanation.
Attached Thumbnails
Click image for larger version

Name:	screendump.png
Views:	281
Size:	609.9 KB
ID:	195294  
windirt is offline   Reply With Quote
Old 07-26-2022, 06:22 AM   #73
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by windirt View Post
A small request, whether there can be a setting to toggle the clock's 12/24 hour mode?because my locale prefers to display 24 hour mode.
As @sherman said, the choice for 12 or 24 hours depends on the locale. The locale is based on the language selected for the UI and stored in the config file. In some cases, you can change this to a more specific local. For example, if you choose English as the language, it will use:

Code:
CurrentLocale=en
You can change the locale to "en_GB" or "en_AU" or whatever suits. From memory, "en_GB" uses 24 hour clock.

This doesn't work for all languages. For Spanish, Portuguese and French, there are two choices in the languages. The second one will be the more specific form, such as "pt_BR" or "fr_CA", I don't know what the other will look like and if it can be changed safely.
davidfor is offline   Reply With Quote
Old 07-27-2022, 10:59 PM   #74
Alexia
Bookworm
Alexia began at the beginning.
 
Alexia's Avatar
 
Posts: 12
Karma: 10
Join Date: Jan 2022
Location: Australia
Device: Kindle Paperwhite, Kobo Libra 2, Kobo Libra Colour
Thanks a lot. It works perfectly!

Last edited by Alexia; 07-27-2022 at 11:09 PM.
Alexia is offline   Reply With Quote
Old 08-21-2022, 08:02 PM   #75
frquixote
Addict
frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.
 
Posts: 230
Karma: 2448688
Join Date: Mar 2006
Location: Kapolei, Oahu, HI
Device: KOBO Libra 2, Kindle PW3, Samsung 8A Tablet, Samsung S10e Phone
Quote:
Originally Posted by davidfor View Post

You can change the locale to "en_GB" or "en_AU" or whatever suits. From memory, "en_GB" uses 24 hour clock.
Will this change also affect the other LOCALE dependent values like CURRENCY?

Last edited by frquixote; 08-21-2022 at 08:17 PM.
frquixote is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Schowtime Kual extension, Show current time while reading Hanspeter Kindle Developer's Corner 46 04-13-2020 05:00 AM
show time + kids time / purchase/parental controls stumped Kindle Fire 0 11-15-2018 01:19 AM
Show current time while reading encol Kindle Developer's Corner 17 01-11-2017 04:09 PM
I (almost) spend more time reading about e-readers than e-reading Antoinekamel General Discussions 15 02-25-2013 11:48 AM
what time format does your kindle show? Jonas777 Amazon Kindle 2 10-29-2009 10:50 AM


All times are GMT -4. The time now is 11:06 PM.


MobileRead.com is a privately owned, operated and funded community.