10-19-2018, 09:47 AM | #16 | |
350 Hoarder
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
Quote:
Anyone using this on a Glo HD, the positions I used are 867 and 1405. The positioning will probably be slightly different depending on if you patch or not (I patch) and if you use epub or kepub (epub in my case). I also dropped the day and date and changed it to a 12 hour clock with am/pm by changing the format to %l:%M%P (that's a lower case L in the format). Last edited by Ripplinger; 10-19-2018 at 09:52 AM. |
|
10-19-2018, 10:15 AM | #17 |
Librocubicularist
Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
|
That looks really cool. I'd love to have the time displayed on my screen.
Could someone give me step-by-step instructions on how to get this running on my Clara? Do I need to install FBInk first? |
Advert | |
|
10-19-2018, 10:39 AM | #18 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
no, fbink is included... so just drop the KoboRoot.tgz onto the Kobo
|
10-19-2018, 11:18 AM | #19 |
Librocubicularist
Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
|
Thanks! I had to rename the .tgz, but it works fine.
Are the available fonts displayed somewhere with their names? It would be really good to have a matching font... maybe access the Kobo fonts? |
10-19-2018, 12:39 PM | #20 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@frostschutz,
Nice addition to the Kobo bag of tweaks I was wondering whether it is possible to add an option to make the background colour transparent, so that it integrates better with the Nightmode hack. |
Advert | |
|
10-19-2018, 01:09 PM | #21 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
not really possible without that causing flashing or visual fragments
you can change the color but if you turn night mode on/off then it will be wrong for one not sure if I could/should query nightmode's current on/off state you can make the font size smaller... size is 0 (autodetect), 1 (8 pixels), 2 (16 pixels), 3 (24 pixels), ... |
10-19-2018, 01:17 PM | #22 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Yes, I've been playing with that this afternoon. Thanks for the explanation of what the font sizes actually mean. |
|
10-19-2018, 03:07 PM | #23 |
350 Hoarder
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
I had settled on UNSCII for now, but with changing the font sizes, I might be able to get closer with others and will have to do a bit of retesting. For now, this is with UNSCII with font size at 3.
|
10-19-2018, 04:26 PM | #24 |
Grand Sorcerer
Posts: 6,283
Karma: 11806357
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I'm creating the tgz, dropping it into .kobo, the device restarts (Clara), but no clock appears. Any idea what can I check?
Edit: I have the directory .addons in the Kobo root directory Forget it: the offset was wrong and, although I had changed it, it wasn't update. Editing the file and restarting the device has made the trick. Last edited by Terisa de morgan; 10-19-2018 at 04:30 PM. |
10-19-2018, 04:34 PM | #25 | |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Are you on Mac or Windows? Don't create a tgz. Use the one inside the zip as-is.
This requires unpacking the zip, without unpacking the tgz inside the zip. I'd attach tgz directly but the forum software won't let me. (Invalid file) Quote:
Last edited by frostschutz; 10-19-2018 at 04:41 PM. |
|
10-19-2018, 04:55 PM | #26 |
Grand Sorcerer
Posts: 6,283
Karma: 11806357
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you very much, frostschutz. I have it working now. Only my OCD bothering me because the line it's a but under the number of page... but as restarting the ereader is a bit tricky with Clara, I'll leave it as is for now.
Ah, and I'm in Windows, but the tgz is created with cygwin |
10-25-2018, 10:38 PM | #27 |
BLAM!
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@all:
Hi everyone! Just caught this thread pretty much by chance (I don't check the main Kobo forum as often as the dev one). So, a few answers, in no particular order: * You can automagically start on the bottom row by using relative positioning instead of absolute offsets (i.e., -x/-y instead of -X/-Y), in which case negative values will start counting backwards (as in, from the other edge). TL;DR: fbink -y -1 "Hello" will print on the bottom of the screen, without having to know the exact resolution of the device. It might not be the *very* bottom, because there's a bit of trickery involved to handle weird font height/resolution combos. If that bothers you too much, add a -V to the command, that'll bypass that bit of trickery. (Or do *both*, absolute offsets will be appended to whatever the relative one resolves to (and they also honor negative values)). There's another solution to do this automagically with absolute offsets, but it requires a bit of shell maths, via the bunch of info dumped via fbink -qe, which includes screen/viewport/font resolution, and is designed to be consumed by eval Obviously, that kind of pixel-perfect tweaking is easier if you can run fbink in a shell manually, and follow stuff "live". In which case the -v flag might make you run away screaming, but it'll include all the gory details you'd ever want to know about what's being done ;p. * You can get a "transparent" background by adding a -O to the command. * Yeah, no arbitrary vector fonts for now, only the bundled old-school bitmap ones . * Shameless plug: You can help me get it working properly on the Forma by taking a look at this post. Last edited by NiLuJe; 10-25-2018 at 10:52 PM. |
10-25-2018, 11:49 PM | #28 | |
Grand Sorcerer
Posts: 6,283
Karma: 11806357
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
10-26-2018, 12:00 AM | #29 |
BLAM!
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Terisa de morgan:
Random lightbulb moment: in your case, using -o (instead of -O) should also do the job, and will work whether nightmode is enabled or not (because it's both backgroundless, like -O, but with the added fact that foreground color is then dynamic, based on the inverse of what's on the screen, pixel per pixel [this obviously means it ignores whatever -C/-B are set to]). That'll work if the script never tries to print the same thing twice over itself, because then that'd just make it erase itself, since the inverse of the inverse of the background is the background again . EDIT: c.f., the snapshots, printing the text "Invisible Ink" over the eInk logo in this mode would basically toggle between these two . Last edited by NiLuJe; 10-26-2018 at 12:38 AM. |
10-26-2018, 12:20 AM | #30 |
Grand Sorcerer
Posts: 6,283
Karma: 11806357
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you, I'll test it (mainly in Forma, that I still have to patch as my Clara is ready from the day the FW appeared )
|
|
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 10:48 AM |
360 PB360 display gets "stripes" from time to time | klaetsch | PocketBook | 1 | 01-05-2011 04:49 AM |
How to get the time to display | synic | Sony Reader | 9 | 06-10-2009 06:05 PM |
Time Display | Jenny123 | Sony Reader | 2 | 04-23-2009 02:06 PM |
Time Display? | MickeyC | Sony Reader | 3 | 02-10-2008 11:57 PM |