rschroll / beru

The Basic Epub Reader for Ubuntu
http://rschroll.github.io/beru/
GNU General Public License v3.0
25 stars 12 forks source link

Screen timeout #84

Open ghost opened 9 years ago

ghost commented 9 years ago

Using beru on nexus7 - with the devel-proposed channel.

currently Ubuntu15.04 (r184)

So - when I'm reading a book, the screen dims before I manage to get to page end and click to move to next page.

Touching the screen to get the brightness back - moves the page back or forward - depending on where I touch it.

Am I missing a setting somewhere that can set that.

If not - unsure if this is a bug or wishlist.

rschroll commented 9 years ago

Well, the obvious solution is to increase the font size so you can get to the end of the page more quickly. :)

I would have thought that the touch to wake the screen would be caught by the OS and not passed through to the app, but that doesn't seem to be the case. I'll check to see if this is considered a bug at the OS level or not. If not, we can see if Beru can increase that timeout or sense when the screen dims.

In the meantime, you can wake the screen without causing a page turn by doing a short back-and-forth drag. The initial drag will initiate a page turn, but releasing the drag when you're moving the opposite way cancels it. Not ideal, but it's something.

ghost commented 9 years ago

well yea, I lost patience with Janet and John size fonts about 50 years ago ;)

it does appear that different apps dim at different speeds

In not any where close to exhaustive tests beru - screen dim ~30 seconds browser - ~1 minute dekko - ~ 1 minute

lovely app though - thanks :) System set to 10 minutescreen lock

rschroll commented 9 years ago

On Mon, Apr 27, 2015 at 3:06 AM, elfyesq notifications@github.com wrote:

well yea, I lost patience with Janet and John size fonts about 50 years ago ;)

Give it a few more years, and you may change your mind again.

Word from upstream is that this is a bug in the OS. The dimming should always occur 10s before the screen locks. See https://bugs.launchpad.net/ubuntu/+source/unity-system-compositor/+bug/1437510.

We'll keep this bug open for now, but hopefully we can close it without any work on Beru.

Stanley00 commented 8 years ago

Please add an option to keep screen on while reading ebook. Currently, I have to use this standalone app https://code.launchpad.net/~mpredotka/active-screen/trunk

Can you see its source code and integrate this function?