|
|
#151 | |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 41580
Join Date: Feb 2017
Location: Belgium
Device: Kobo Mini(5), Kobo Touch, Kobo H2O, Poke2, Pocketbook Color, Remarkabl
|
Quote:
|
|
|
|
|
|
|
#152 |
|
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
|
|
|
|
| Advert | |
|
|
|
|
#153 |
|
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
I hope this will be the last update for a while.
Code:
#
# Battery percentage value (0-100%)
#
# Use {battery} in the format string.
#
# Will only be used if the battery is between min max.
# Default: only shown when battery level drops to 50% and under.
battery_min=0
battery_max=50
# battery_source=/sys/devices/platform/pmic_battery.1/power_supply/mc13892_bat/capacity
#
# Localization (translate Month and Day names)
#
## Set day names, Monday -> Sunday (7 words)
## Use {day} in the format string to use this.
#
#days=Mon Tue Wed Thu Fri Sat Sun
#
## Set month names, January -> December (12 words)
## Use {month} in the format string to use this.
#
#months=Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
#
|
|
|
|
|
|
#154 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 41580
Join Date: Feb 2017
Location: Belgium
Device: Kobo Mini(5), Kobo Touch, Kobo H2O, Poke2, Pocketbook Color, Remarkabl
|
Excellent work
Didn't try the battery thing, but date is working as expected.
|
|
|
|
|
|
#155 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,270
Karma: 16544702
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
The new {battery} %-level addition is working well on my ClaraHD, KA1, Forma.
Many thanks, frostschutz. I wasn't expecting such a speedy result.
|
|
|
|
| Advert | |
|
|
|
|
#156 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,857
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
|
I haven’t installed a new version of this just wondering if any of the above changes add support for the page turn buttons l have it basically working with the suggested increased update time.
As mentioned earlier not expecting this instantly just wondering if it’s been implemented already |
|
|
|
|
|
#157 | |
|
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
|
|
|
|
|
|
|
#158 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 920
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
|
|
|
|
|
|
#159 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78
Karma: 25542
Join Date: Nov 2013
Location: NRW Germany
Device: Kobo Forma
|
I don´t understand, how can i displayed the battery-level, what i have exactly to do?
I´ve found it , it´s easy! Last edited by jamalau; 12-19-2018 at 02:24 PM. |
|
|
|
|
|
#160 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2018
Device: Kobo Clara HD
|
Could you explain what I need to change on code to activate battery level display please?
Thank you |
|
|
|
|
|
#161 |
|
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
see .addons/miniclock/miniclock.cfg (example file included)
add {battery} to the format string set battery_max=100 (unless you're like me and only want to know about the battery when it's actually low - by default {battery} only shows min-max 0-50%) Last edited by frostschutz; 12-30-2018 at 08:16 AM. |
|
|
|
|
|
#162 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2018
Device: Kobo Clara HD
|
Thank you Frostschutz, all is okay
:-) |
|
|
|
|
|
#163 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jul 2017
Device: Kobo Elipsa, Kobo Forma, Kobo Glo, Sony PRS-350
|
negative offsets on Forma?
|
|
|
|
|
|
#164 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@leonmoonen: Try with a larger negative top margin (i.e., 1870 actually corresponds to -50 in Portrait on the Forma [screen resolution is 1440x1920])?
EDIT: Incidentally, 50px is *exactly* the height I need with my tweaked Bookerly at the default size (... for most glyphs) on 300ppi devices like the Forma. c.f., fbink's verbose output on the CLI: Code:
Max LW: 1440 Max LH: 53 Max BL: 41 FntSize: 50 (Metrics are purposely borked on my Bookerly to limit lineheights, which explains the discrepancy). So, with -50, printing is *right* at the bottom edge (... for most glyphs, in my example, I'd actually need -53). Last edited by NiLuJe; 01-03-2019 at 10:37 PM. |
|
|
|
|
|
#165 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jul 2017
Device: Kobo Elipsa, Kobo Forma, Kobo Glo, Sony PRS-350
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I (almost) spend more time reading about e-readers than e-reading | Antoinekamel | General Discussions | 15 | 02-25-2013 11:48 AM |
| 360 PB360 display gets "stripes" from time to time | klaetsch | PocketBook | 1 | 01-05-2011 05:49 AM |
| How to get the time to display | synic | Sony Reader | 9 | 06-10-2009 07:05 PM |
| Time Display | Jenny123 | Sony Reader | 2 | 04-23-2009 03:06 PM |
| Time Display? | MickeyC | Sony Reader | 3 | 02-11-2008 12:57 AM |