View Single Post
Old 05-18-2023, 09:37 AM   #997
isarl
Addict
isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.
 
Posts: 295
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
Quote:
Originally Posted by acrobat View Post
Where i can show this ?
First off: if you have a NickelMenu entry to toggle screenshots, just try using that. It will be easier.

If you don't, then…

Look for the file Kobo eReader.conf, located in the .kobo/Kobo/ directory on your device.

This file contains a bunch of options organized into sections. Each option is given as a “key” (a setting name) and a “value” (the current setting for that option), like this:

Code:
[SectionHeader]
key1=value1
key2=value2

[NewSectionHeader]
anotherkey=anothervalue
You are looking for the “Screenshots” option in the [FeatureSettings] section. It might look like this:

Code:
[FeatureSettings]
Screenshots=true
I have an extra setting, and I also have screenshots disabled at the moment, so mine looks like this:

Code:
[FeatureSettings]
ExcludeSyncFolders=\\.kobo/screensaver_old
Screenshots=false
(My ExcludeSyncFolders option is not relevant to this discussion, but ask if you're curious.)

NB: Your [FeatureSettings] section, or the Screenshots line, may be absent. If they are, it is safe to add them in yourself, if you are careful to match the syntax in the rest of the file.

If it says “Screenshots=true” then that's why your power button won't put your device to sleep. Make sure to check your device storage to find all the screenshots you have inadvertently taken, which you may wish to delete. Changing it to “Screenshots=false”, saving, and disconnecting your Kobo should restore the expected functionality of your power button.

You may find the following NickelMenu entries, taken from the config I use on my own device, helpful. “Screenshot Status” displays a popup which simply informs you whether they are enabled or disabled. “Toggle Screenshots” does what it says: it turns them on if they're off, and it turns them off if they're on. Feel free to adjust the whitespacing if you like; these are what I find most readable in my own config file but your tastes may differ. If you rearrange them in your own config file, be sure to keep the chain_success and chain_failure lines as immediately following the Screenshot Status menu_item line.

Code:
menu_item : main    : Screenshot Status  : cmd_output         : 500 : quiet : grep -q '^Screenshots=true$' "/mnt/onboard/.kobo/Kobo/Kobo eReader.conf"
      chain_success                      : dbg_toast          : Screenshots are enabled
      chain_failure                      : dbg_toast          : Screenshots are disabled
menu_item : main    : Toggle Screenshots : nickel_setting     : toggle : screenshots

Last edited by isarl; 05-18-2023 at 09:59 AM. Reason: Significantly rewrite explanation for much added clarity.
isarl is offline   Reply With Quote