12-12-2020, 07:03 PM | #676 |
Grateful Plebe
Posts: 39
Karma: 13638
Join Date: Dec 2012
Device: Kindle 3, Kobo Libra H2O
|
On other thing I am trying to accomplish: I found this thread for cleaning up the info panel when the device is asleep or powered off and using a custom screensaver: https://www.mobileread.com/forums/sh...7#post=3220397
I have been struggling to translate this into something that the yaml files can understand. I attempted this: Code:
Changing the info panel in full size screensaver: - Enabled: yes - Description: # Multi-version patch: 3.13.1-3.19.5761+ # ## Warning if you charge in sleep mode the text "sleeping" is cut # https://www.mobileread.com/forums/showthread.php?p=3220397#post=3220397 - ReplaceBytes: find_base_address = `QWidget[qApp_deviceIsDragon="true"] {\n\tmin-height: 1000px;` #QWidget-height from the top-Kobo Aura HD\H2O #To move the info pannel to the botten corner change 0000px to 1290px replace_string = 0027, `min-height: 1000px;`, `min-height: 0000px;` replace_string = 003C, `max-height: 1000px;`, `max-height: 0000px;` # #QWidget-height from the top-Kobo glo+Kobo Aura #To move the info pannel to the botten corner change 000px to 904px replace_string = 007B, `min-height: 680px;`, `min-height: 000px;` replace_string = 008F, `max-height: 680px;`, `max-height: 000px;` # #QWidget-height from the top-Kobo Mini #To move the info pannel to the botten corner change 000px to 700px replace_string = 00CD, `min-height: 510px;`, `min-height: 000px;` replace_string = 00E1, `max-height: 510px;`, `max-height: 000px;` # # find_base_address = `#infoWidget {\n\tbackground-color: rgba(255, 255, 255, 234);` #background-color transparent replace_string = 000F, `background-color: rgba(255, 255, 255, 234);`, `background-color: rgba(255, 255, 255, 120);` replace_string = 0062, `background-color: rgba(0, 0, 0, 234);`, `background-color: rgba(0, 0, 0, 120);` # # find_base_address = `#infoWidget[qApp_deviceIsDragon="true"] {\n\tmin-width: 470px;` # infoWidget-box width height-Kobo Aura HD\H2O replace_string = 002B, `min-width: 470px;`, `min-width: 350px;` replace_string = 003E, `min-height: 260px;`, `min-height: 150px;` replace_string = 0052, `max-height: 260px;`, `max-height: 150px;` # infoWidget-box width height-Kobo glo+Kobo Aura replace_string = 0094, `min-width: 380px;`, `min-width: 260px;` replace_string = 00A7, `min-height: 230px;`, `min-height: 120px;` replace_string = 00BB, `max-height: 230px;`, `max-height: 120px;` # infoWidget-box width height-Kobo Mini replace_string = 00FD, `min-width: 300px;`, `min-width: 200px;` replace_string = 0110, `min-height: 160px;`, `min-height: 100px;` replace_string = 0124, `max-height: 160px;`, `max-height: 100px;` # # find_base_address = `#infoFrame {\n\tborder-top: 1px solid black;` # infoFrame-Margin-Kobo Aura HD\H2O replace_string = 0144, `qproperty-leftMargin: 60;`, `qproperty-leftMargin: 02;` replace_string = 015F, `qproperty-topMargin: 25;`, `qproperty-topMargin: 02;` replace_string = 0179, `qproperty-bottomMargin: 25;`, `qproperty-bottomMargin: 02;` # infoFrame-Margin-Kobo glo+Kobo Aura replace_string = 01C3, `qproperty-leftMargin: 40;`, `qproperty-leftMargin: 02;` replace_string = 01DE, `qproperty-topMargin: 20;`, `qproperty-topMargin: 02;` replace_string = 01F8, `qproperty-bottomMargin: 20;`, `qproperty-bottomMargin: 02;` # infoFrame-Margin-Kobo Mini replace_string = 0242, `qproperty-leftMargin: 30;`, `qproperty-leftMargin: 02;` replace_string = 025D, `qproperty-topMargin: 10;`, `qproperty-topMargin: 02;` replace_string = 0277, `qproperty-bottomMargin: 10;`, `qproperty-bottomMargin: 02;` |
12-12-2020, 07:11 PM | #677 | |
Grateful Plebe
Posts: 39
Karma: 13638
Join Date: Dec 2012
Device: Kindle 3, Kobo Libra H2O
|
Quote:
Having said that, when I read your replies I mostly just feel bad for the project I'm working on, so I'd appreciate it if you didn't keep implying my approach is wrong. If you have ideas for how I can help my elderly veteran friend that aren't "this person is stupid" or how if your mother can do it then everyone else should be able to, as well, I'm eager to listen. |
|
Advert | |
|
12-12-2020, 08:24 PM | #678 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
The CSS resource that needs to be patched to change the look of the full-sized sleep screen is FullScreenDragonPowerView.qss. It's current content in fw 4.25 is: Spoiler:
This is a personal (i.e. not published in standard kobopatch pack) patch of mine. It probably doesn't meet your needs but perhaps there's enough to get your experiments started. Spoiler:
|
|
12-12-2020, 08:43 PM | #679 | |
Grateful Plebe
Posts: 39
Karma: 13638
Join Date: Dec 2012
Device: Kindle 3, Kobo Libra H2O
|
Quote:
|
|
12-12-2020, 08:52 PM | #680 |
Grateful Plebe
Posts: 39
Karma: 13638
Join Date: Dec 2012
Device: Kindle 3, Kobo Libra H2O
|
Hmm, so when I put that into libnickel.so.1.0.0.yaml and enable it, the .bat file won't complete and so there is no .tgz file created. I looked at the log file and found this:
Code:
kobopatch.FindZlib index=3 line=1182 | FindZlib("#infoFrame") | hex:23696e666f4672616d65 | could not apply patch "jackie_w Screensaver full": line 1182: inst 3: FindZlib: could not find string --> could not apply patch "jackie_w Screensaver full": line 1182: inst 3: FindZlib: could not find string |
Advert | |
|
12-12-2020, 08:55 PM | #681 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
12-12-2020, 09:26 PM | #682 |
Grateful Plebe
Posts: 39
Karma: 13638
Join Date: Dec 2012
Device: Kindle 3, Kobo Libra H2O
|
|
12-13-2020, 08:45 AM | #683 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Since then Kobo have consolidated much of the GUI-related CSS stuff into nickel. A few small CSS streams still remain in libnickel.so.1.0.0, e.g. the one controlling the style of text content in the dictionary widget(s). Don't ask me to explain the rationale, because I can't. TL, DNR: I should have been more explicit. |
|
12-13-2020, 09:21 AM | #684 |
Resident Curmudgeon
Posts: 74,044
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
@jackie_w do you know if the My Books a the bottom line of the home screen can have something else done with it? Since we have two of them, it would make sense if something else can be done with it.
|
12-13-2020, 10:43 AM | #685 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Speaking with zero "Kobo insider" knowledge, I do wonder whether the fact that 'My Books' and 'Kobo Store' are now present in both Navbuttons and the Home 3x2 grid means that Kobo are due to review the whole Home screen layout situation again. Cue the MR hyperbole if/when they do. |
|
12-13-2020, 11:46 AM | #686 |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
|
12-13-2020, 12:43 PM | #687 | |
Grateful Plebe
Posts: 39
Karma: 13638
Join Date: Dec 2012
Device: Kindle 3, Kobo Libra H2O
|
Quote:
|
|
12-13-2020, 02:11 PM | #688 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
|
|
12-13-2020, 10:43 PM | #689 |
Grateful Plebe
Posts: 39
Karma: 13638
Join Date: Dec 2012
Device: Kindle 3, Kobo Libra H2O
|
Got it, thanks for saving me the trouble. I wonder, is it instead possible to restore the older screensaver screen? The one with "Sleeping" etc at the top of the screen, and "X% read • Expires in Y days" etc at the bottom.
|
12-14-2020, 08:19 AM | #690 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Do you mean the 'not-fullscreen screensaver'? If so, that's just a standard checkbox in Settings>Energy saving and privacy
|
Tags |
kobopatch, patches, patching, request, requests |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Request for PW3 kernel [posted in another thread] | mustdie | Kindle Developer's Corner | 5 | 10-21-2015 04:28 PM |
Kobobooks.com future feature request thread | Mrs_Often | Kobo Reader | 47 | 11-08-2012 11:59 AM |
[Old Thread] Calibre 'feature request' thread | Waba | Calibre | 2 | 02-10-2010 07:52 PM |
Feature request thread? | Dahak | Calibre | 1 | 08-02-2009 12:51 AM |
3rd party software request thread | Adam B. | iRex | 23 | 11-28-2008 01:08 PM |