View Single Post
Old 12-12-2020, 07:03 PM   #676
mxbndr
Grateful Plebe
mxbndr is a rising star in the heavensmxbndr is a rising star in the heavensmxbndr is a rising star in the heavensmxbndr is a rising star in the heavensmxbndr is a rising star in the heavensmxbndr is a rising star in the heavensmxbndr is a rising star in the heavensmxbndr is a rising star in the heavensmxbndr is a rising star in the heavensmxbndr is a rising star in the heavensmxbndr is a rising star in the heavens
 
Posts: 40
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;`
but it crashes the .bat file. Any ideas on how to do this? Also, my device is obviously none of the ones above, but I'm hoping I can just mess with the pixel settings to fix any issues with that.
mxbndr is offline   Reply With Quote