Page 1 of 1

"overbrite" screen brightness slider

Posted: Mon Aug 17, 2020 8:51 pm
by greengeek
When adjusting screen brightness i prefer to adjust the backlight if possible, rather than gamma.
But not every system allows that and not every backlight goes as bright as i need on a sunny day.

So here is a brightness slider that works for me on most of my systems - it allows me to push the brightness beyond unity - in other words it pushes the screen into an "overbrightness" condition.

(Some systems do not report a "brightness" parameter within xrandr and will require a different script).

I usually only use it for short periods when a particular webpage is too dark or has poor contrast or i'm in bright light and my old eyes cant make out details on screen.

The original script was written by MochiMoppel to allow brightness control where the user has multiple monitors and all i initially did was to alter the "range" setting so that the slider can be pushed beyond "1.00"

As far as i know there was no original thread so consider this "not officially supported". Of course i will help answer any questions if i can...

Click on the script and push the slider as high or as low as you want.
Returning the slider to 1.00 resets the brightness to the original setting.

The slider appears at the location of the mouse pointer when the script is run.

When the slider is displayed you can make it disappear by clicking on it once, then clicking into whitespace.
overbrite.jpg
overbrite.jpg (5.15 KiB) Viewed 863 times
Remove .gz suffix and make executable
overbrite-0.5.gz
(1.75 KiB) Downloaded 143 times
Remove .gz suffix and make executable

Changelog:
v0.1 and 0.2 would not run on some systems incl Fatdog
v0.3 worked better but did not read current brightness correctly
v0.4 Working well but code & comments untidy
v0.5 Tidied script comments & consulted MM re code to accommodate lowercase screen names. (Thx!)

Re: "overbrite" screen brightness slider

Posted: Tue Aug 18, 2020 7:43 am
by stemsee
Hi. This doesn't work on my acer chromebook 714 running fatdog64-810. Neither does it close.

Re: "overbrite" screen brightness slider

Posted: Tue Aug 18, 2020 8:14 am
by greengeek
Hi stemsee, thanks for the report.

Ordinarily i only run puppys but i just booted Fatdog 810 and have exactly the same problem you describe.

Unfortunately i don't have an answer for Fatdog at this stage. I will report back if I can work out why this happens.
(Maybe something to do with GTK version perhaps? Not sure yet)

cheers!

Re: "overbrite" screen brightness slider

Posted: Tue Aug 18, 2020 8:43 am
by MochiMoppel
greengeek wrote: Mon Aug 17, 2020 8:51 pmThe original script was written by MochiMoppel and all i did was to alter the "range" setting so that the slider can be pushed beyond "1.00"
Me? Can't remember but checked the archive.

Hmm..must have been me:
http://www.murga-linux.com/puppy/viewto ... 27#1006827
Note that this version triggered bug reports. A few posts down I posted a fixed version. Claims stopped, so may work now.

Re: "overbrite" screen brightness slider

Posted: Tue Aug 18, 2020 9:03 am
by greengeek
Hi MochiMoppel,

thank you for the pointer to the modified version of the original code. I had not seen that.

Replaced original version in first post with a new version of overbrite based on that update. Not tested yet on Fatdog but i will give that a go later tonight.

Many thanks!


EDIT : Just tested on Fatdog64-810 and it worked perfectly. Than you Mochi for bringing that updated code to my attention.

Re: "overbrite" screen brightness slider

Posted: Tue Aug 18, 2020 2:09 pm
by bigpup
greengeek,

It is best if you just edit the first post.
Put the overbrite v0.2 attachment there.

Keep the first post, always having the latest version.

Also, for the attachment overbrite v0.2
Does this still apply?
Remove fake .gz suffix and make executable.

Re: "overbrite" screen brightness slider

Posted: Tue Aug 18, 2020 4:17 pm
by stemsee
It closes ok now, but nothing else ...zip...nada!

Re: "overbrite" screen brightness slider

Posted: Tue Aug 18, 2020 8:16 pm
by greengeek
bigpup wrote: Tue Aug 18, 2020 2:09 pm It is best if you just edit the first post.
Put the overbrite v0.2 attachment there.
Keep the first post, always having the latest version.
Done

Also, for the attachment overbrite v0.2
Does this still apply?
Remove fake .gz suffix and make executable.
Yes, it's a fake .gz suffix.

Re: "overbrite" screen brightness slider

Posted: Tue Aug 18, 2020 8:22 pm
by greengeek
stemsee wrote: Tue Aug 18, 2020 4:17 pm It closes ok now, but nothing else ...zip...nada!
Does your xrandr output list brightness or Brightness as a parameter for your active monitor? I have noticed that some Puppies do not show that parameter.

Re: "overbrite" screen brightness slider

Posted: Wed Aug 19, 2020 2:22 am
by greengeek
stemsee wrote: Tue Aug 18, 2020 4:17 pm It closes ok now, but nothing else ...zip...nada!
I think there was an issue on some combinations of hardware/O.S - particularly 64bit - that was causing a problem in identifying the correct connected monitor.

If you don't mind i wonder if you would be able to try v0.3 and see if this runs ok?

cheers!

EDIT : Attachment removed as it still had an issue with reading current brightness value. Please try v0.4 in first post if poss.
thx!

Re: "overbrite" screen brightness slider

Posted: Wed Aug 19, 2020 7:57 am
by greengeek
I think v 0.4 has solved the earlier problems and seems to work well on all of the hardware/puppy combinations i have tested today (incl Fatdog64-810).

Uploaded to first post.

Re: "overbrite" screen brightness slider

Posted: Wed Aug 19, 2020 12:05 pm
by stemsee
Output of my laptop's xrandr command.
xscreenshot-20200819T130434.png
xscreenshot-20200819T130434.png (54.08 KiB) Viewed 490 times

Re: "overbrite" screen brightness slider

Posted: Wed Aug 19, 2020 12:09 pm
by stemsee
Latest version is working !

Re: "overbrite" screen brightness slider

Posted: Wed Aug 19, 2020 2:41 pm
by sheldonisaac
greengeek (in part) wrote: I think v 0.4 has solved the earlier problems and seems to work well on all of the hardware/puppy combinations i have tested today (incl Fatdog64-810).
Thanks a lot, greengeek; works on this Latitude E6410 laptop, BusterPup 32-bit.

Re: "overbrite" screen brightness slider

Posted: Mon Sep 21, 2020 12:48 am
by DixieDog
Thank s. Puppy no offer much for the eyes

Re: "overbrite" screen brightness slider

Posted: Tue Oct 27, 2020 8:32 pm
by soniabu
thank you very much the software also works well with the FossaDog live 86_64
sonia
Image