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 09-28-2018, 04:06 PM   #466
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by CH23 View Post
With file size, are you referring to dimensions, or bytes?
I was referring to bytes, because this is important for patching, but the dimensions should also remain the same of course.
Before you invest to much work, try the test version (in the next) post, maybe it is not worth it. I find the white flashes of the screen refresh unbearable, especially with the black nightmode version. But I usually never use the front light and also do not like nightmode in general, so maybe it is just something one has to get used to,
tshering is offline   Reply With Quote
Old 09-28-2018, 04:32 PM   #467
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
This is the night mode package that can be installed over KBStartMenu_09_plus_update_001.zip. It does not matter whether KSM09_update002.zip has been applied or not. The package contains a bit more than is necessary for the nightmode. (I believe that KBStartMenu_09_nightmode.zip together with KBStartMenu_09_plus_update_001.zip can be combined to a KSM 09 package ready to be installed on Clara. Maybe somebody would like to try it.).

The default nightmode version is the gray one. In order to try the black one, select:
Code:
configure > [general] > add item > ksmColorsNight="-bg black -fg white -btn black"
and then
Code:
return > save and exit
To return to the default version just delete the entry again with "configure".

When installing the package, choose "install uncontrolled".
Attached Files
File Type: zip KBStartMenu_09_nightmode.zip (28.8 KB, 342 views)
tshering is offline   Reply With Quote
Advert
Old 09-28-2018, 04:41 PM   #468
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
I was referring to bytes, because this is important for patching, but the dimensions should also remain the same of course.
Before you invest to much work, try the test version (in the next) post, maybe it is not worth it. I find the white flashes of the screen refresh unbearable, especially with the black nightmode version. But I usually never use the front light and also do not like nightmode in general, so maybe it is just something one has to get used to,
It's very difficult to change things while keeping the same filesize, but I managed to reduce size for most of the images, however 3 have become larger in filesize. I'm not sure if it's possible to 'shift' bits in a binary file (which is probably what you're referring to with 'patching'?)

I haven't made a lot of adjustments as I feel that your icons are quite nice, though I did resize the pictures, kept the 128×128 px resolution.

I have rotated the USB icon to official USB logo specifications, and I have replaced the moon icon. And I have added a +/- 2px border around all icons, and colour-matched them all (to dark grey) as some were already dark grey, and others black.

If it's not possible to use these images, I'll see that I reduce the size of the 3 larger images.

I will also test the package in your other message.

ksm_images_redux.zip
CH23 is offline   Reply With Quote
Old 09-28-2018, 05:04 PM   #469
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by CH23 View Post
It's very difficult to change things while keeping the same filesize, but I managed to reduce size for most of the images, however 3 have become larger in filesize. I'm not sure if it's possible to 'shift' bits in a binary file (which is probably what you're referring to with 'patching'?)
Thank you for you work! By patching I meant inserting the png files into the existing binary executable, exactly where the old png files have been. Therefore the byte size must not be larger.
If you test the nightmode, and you think it is worth keeping it, I will re-activate my old stuff and compile the kobomenu anew with your new pngs (size does then not matter), when I get chance. Certainly not in the next weeks.
I am away from internet during this weekend. I hope there are no problems with the nightmode package.

Last edited by tshering; 09-28-2018 at 05:07 PM.
tshering is offline   Reply With Quote
Old 09-28-2018, 05:22 PM   #470
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
This is the night mode package that can be installed over KBStartMenu_09_plus_update_001.zip. It does not matter whether KSM09_update002.zip has been applied or not. The package contains a bit more than is necessary for the nightmode. (I believe that KBStartMenu_09_nightmode.zip together with KBStartMenu_09_plus_update_001.zip can be combined to a KSM 09 package ready to be installed on Clara. Maybe somebody would like to try it.).

The default nightmode version is the gray one. In order to try the black one, select:
Code:
configure > [general] > add item > ksmColorsNight="-bg black -fg white -btn black"
and then
Code:
return > save and exit
To return to the default version just delete the entry again with "configure".

When installing the package, choose "install uncontrolled".
it works, nice!

I use the nightmode almost all the time, both in koreader, and in nickel. The only time I don't use it is when reading manga, because the nightmode used in koreader and nickel inverts the screen.

I would say that I could drop the white edge of the icons, and go for a slightly lighter grey, making them viewable in black and grey nightmode, as well as in regular. I haven't been able to test these, so I hope they're light/dark enough to be visible in all modes.

ksm_images_redux2.zip

All images reduces in filesize!
CH23 is offline   Reply With Quote
Advert
Old 09-28-2018, 07:15 PM   #471
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
For those really wanting to start using KSM09 on their devices, I have combined KBStartMenu_09_plus_update_001 with the just posted nightmode.

I then set up a new SD card with an untouched copy of the Clara HD system, and installed it, tested it as well.

It works, has wifi, nightmode, can access nickel. KOReader works as well.
Attached Files
File Type: zip KBStartMenu_09_plus_update_001_and_nightmode.zip (7.09 MB, 2157 views)

Last edited by CH23; 09-28-2018 at 07:30 PM.
CH23 is offline   Reply With Quote
Old 09-30-2018, 03:16 PM   #472
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by CH23 View Post
For those really wanting to start using KSM09 on their devices, I have combined KBStartMenu_09_plus_update_001 with the just posted nightmode.

I then set up a new SD card with an untouched copy of the Clara HD system, and installed it, tested it as well.

It works, has wifi, nightmode, can access nickel. KOReader works as well.
Thank you for testing and for uploading the package. I will put a link to it from the first post of this thread.

I attach the patched kobomenu binary that use your redux2 icons. It is very nice with the black version of nightmode.
Attached Files
File Type: zip kobomenu_redux2.zip (80.6 KB, 248 views)
tshering is offline   Reply With Quote
Old 09-30-2018, 06:20 PM   #473
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
Thank you for testing and for uploading the package. I will put a link to it from the first post of this thread.

I attach the patched kobomenu binary that use your redux2 icons. It is very nice with the black version of nightmode.
I feel like they should be lighter, to also have a better contrast with the grey version, but indeed with the black theme they're very nice. Let me know what you think.

I did notice that the black buttons were still in the 'configure' menu, rather than the 'redux2' version.

I've made a 3rd version, with the icons being lighter. Hopefully light enough for the grey theme, not too light for the white theme:
Attached Files
File Type: zip ksm_images_redux3.zip (16.4 KB, 218 views)

Last edited by CH23; 09-30-2018 at 07:39 PM.
CH23 is offline   Reply With Quote
Old 10-01-2018, 03:37 AM   #474
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by CH23 View Post
I feel like they should be lighter, to also have a better contrast with the grey version, but indeed with the black theme they're very nice. Let me know what you think.
I did notice that the black buttons were still in the 'configure' menu, rather than the 'redux2' version.
The names of the three color related entries are inherited from qt and may appear somehow misleading in our case. Button color, for instance, defines the background color of the menu entries and of the buttons (not the icons, also not the arrow-icons that sit in the center of the buttons), and background color defines the color of the frames around the buttons and the menu. As for the icons there is only one set embedded into the binary. This set has to be used for day- and nightmode. It might not be easy to find a gray value for the icons that is appropriate for both, even though I made the colors for day-mode also configurable which should help a little. Maybe we should take the black version as the default night mode version. I think redux2 is okay for day- and nightmode, redux3 might be too light for day mode (I have not yet tried it).

Quote:
Originally Posted by CH23 View Post
I've made a 3rd version, with the icons being lighter. Hopefully light enough for the grey theme, not too light for the white theme:
Thank you. I upload a new binary with redux3 and an image that illustrates to which parts the three configuration values relate this evening.

Last edited by tshering; 10-01-2018 at 03:56 AM.
tshering is offline   Reply With Quote
Old 10-01-2018, 05:26 AM   #475
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
[...]As for the icons there is only one set embedded into the binary. This set has to be used for day- and nightmode.[...]
Sorry, that's what I meant; when I enter the 'configure' menu, the arrows are not visible, all I can see is the text, and when i tap inside a field, or tap/slide on the bottom buttons, their outline becomes visible.

Is there a way to take screenshots either straight from the device or via telnet/ssh?



Quote:
It might not be easy to find a gray value for the icons that is appropriate for both, even though I made the colors for day-mode also configurable which should help a little. Maybe we should take the black version as the default night mode version. I think redux2 is okay for day- and nightmode, redux3 might be too light for day mode (I have not yet tried it).

Thank you. I upload a new binary with redux3 and an image that illustrates to which parts the three configuration values relate this evening.
Screenshotting would help here as well, as I don't know the exact values used on-device, versus what I see on the physical screen.
CH23 is offline   Reply With Quote
Old 10-01-2018, 07:18 AM   #476
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by CH23 View Post
Is there a way to take screenshots either straight from the device or via telnet/ssh?
There is now a button "screenshot" in the webinterface. When you press it a screenshot is written to the root of the user partition. The file name indicates date and time.
tshering is offline   Reply With Quote
Old 10-01-2018, 03:49 PM   #477
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by CH23 View Post
Sorry, that's what I meant; when I enter the 'configure' menu, the arrows are not visible, all I can see is the text, and when i tap inside a field, or tap/slide on the bottom buttons, their outline becomes visible.
Thank you for the clarification. The problem should be solved with the package I upload to this post.
The redux3 version looks nice in the gray nightmode version too. In daymode the icons are a little pale, but for me it is fine.

Edit: I should mention that night- and day-mode settings have no effect on kbterminal, and the bouncer.
Attached Files
File Type: zip kobomenu_kbconfsel_redux3.zip (114.5 KB, 255 views)

Last edited by tshering; 10-01-2018 at 04:54 PM.
tshering is offline   Reply With Quote
Old 10-02-2018, 03:18 AM   #478
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
Thank you for the clarification. The problem should be solved with the package I upload to this post.
The redux3 version looks nice in the gray nightmode version too. In daymode the icons are a little pale, but for me it is fine.

Edit: I should mention that night- and day-mode settings have no effect on kbterminal, and the bouncer.
I just finished uploading my screenshots when this message appeared. :P

I was confused by the grey version of the nightmode being green, is that just easier to make that way?

EDIT:

I have tested the update, and it works nicely. i'm quite happy with the result.

Would it be possible to have the nightmode on through reboots as well? currently it reverts to the normal state.

For those who'd like to see what the 3 modes look like: (normal, day, night)

Click image for larger version

Name:	screen_20181002_092721.png
Views:	287
Size:	123.8 KB
ID:	166651 Click image for larger version

Name:	screen_20181002_092701.png
Views:	281
Size:	132.3 KB
ID:	166652 Click image for larger version

Name:	screen_20181002_092633.png
Views:	271
Size:	122.2 KB
ID:	166653

Last edited by CH23; 10-02-2018 at 03:31 AM.
CH23 is offline   Reply With Quote
Old 10-02-2018, 03:42 AM   #479
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by CH23 View Post
I just finished uploading my screenshots when this message appeared. :P

I was confused by the grey version of the nightmode being green, is that just easier to make that way?
I thought it is easier to use Qt's predefined color names in the configuration file and see how these colors appear on the screen. You could also use the hex representations of the shades of gray. I know that hex values do work when you set them in the webinterface (see this post). They should also work when set in the configuration file, but I did not try.
tshering is offline   Reply With Quote
Old 10-02-2018, 03:55 AM   #480
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by CH23 View Post
Would it be possible to have the nightmode on through reboots as well? currently it reverts to the normal state.
I could easily make it a configurable option. One could also simply exchange the color values of ksmColorsDay and ksmColorsNight in the configuration file.
Thank you for uploading the images.

I have seen there is a new version of plato that works for Clara HD. Are you using plato?

Last edited by tshering; 10-02-2018 at 03:57 AM.
tshering is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Start Menu 08 tshering Kobo Developer's Corner 1021 06-29-2020 04:59 PM
Kobo-Adding alternative readers using Kobo Start Menu Ken Maltby KOReader 75 01-10-2020 01:35 PM
Kobo Start Menu tshering Kobo Developer's Corner 918 10-12-2017 02:32 PM
Start KOReader automatically with Kobo Start Menu checcousero KOReader 2 03-07-2017 11:42 AM
Kobo Start Menu 07 tshering Kobo Developer's Corner 644 03-02-2017 06:40 AM


All times are GMT -4. The time now is 07:04 AM.


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