"overbrite" screen brightness slider

Moderator: Forum moderators

Post Reply
User avatar
greengeek
Posts: 1218
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 349 times
Been thanked: 146 times

"overbrite" screen brightness slider

Post 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 848 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!)
Last edited by greengeek on Thu Aug 20, 2020 3:23 am, edited 14 times in total.
User avatar
stemsee
Posts: 658
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 162 times
Been thanked: 104 times
Contact:

Re: "overbrite" screen brightness slider

Post by stemsee »

Hi. This doesn't work on my acer chromebook 714 running fatdog64-810. Neither does it close.
User avatar
greengeek
Posts: 1218
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 349 times
Been thanked: 146 times

Re: "overbrite" screen brightness slider

Post 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!
User avatar
MochiMoppel
Posts: 1135
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 18 times
Been thanked: 369 times

Re: "overbrite" screen brightness slider

Post 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.
User avatar
greengeek
Posts: 1218
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 349 times
Been thanked: 146 times

Re: "overbrite" screen brightness slider

Post 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.
Last edited by greengeek on Wed Aug 19, 2020 7:58 am, edited 2 times in total.
User avatar
bigpup
Moderator
Posts: 6405
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 760 times
Been thanked: 1326 times

Re: "overbrite" screen brightness slider

Post 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.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
stemsee
Posts: 658
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 162 times
Been thanked: 104 times
Contact:

Re: "overbrite" screen brightness slider

Post by stemsee »

It closes ok now, but nothing else ...zip...nada!
User avatar
greengeek
Posts: 1218
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 349 times
Been thanked: 146 times

Re: "overbrite" screen brightness slider

Post 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.
User avatar
greengeek
Posts: 1218
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 349 times
Been thanked: 146 times

Re: "overbrite" screen brightness slider

Post 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.
User avatar
greengeek
Posts: 1218
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 349 times
Been thanked: 146 times

Re: "overbrite" screen brightness slider

Post 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!
Last edited by greengeek on Wed Aug 19, 2020 8:01 am, edited 2 times in total.
User avatar
greengeek
Posts: 1218
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 349 times
Been thanked: 146 times

Re: "overbrite" screen brightness slider

Post 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.
User avatar
stemsee
Posts: 658
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 162 times
Been thanked: 104 times
Contact:

Re: "overbrite" screen brightness slider

Post by stemsee »

Output of my laptop's xrandr command.
xscreenshot-20200819T130434.png
xscreenshot-20200819T130434.png (54.08 KiB) Viewed 474 times
User avatar
stemsee
Posts: 658
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 162 times
Been thanked: 104 times
Contact:

Re: "overbrite" screen brightness slider

Post by stemsee »

Latest version is working !
sheldonisaac
Posts: 9
Joined: Fri Dec 13, 2019 8:09 pm
Location: Philadelphia, PA
Has thanked: 1 time
Been thanked: 1 time

Re: "overbrite" screen brightness slider

Post 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.
Latitude E6410: BusterPup 8.0 etc
Vostro 430: BionicPup64 8.0
DixieDog
Posts: 28
Joined: Sun Sep 20, 2020 8:24 pm
Location: Under my JEEP
Has thanked: 18 times
Been thanked: 1 time
Contact:

Re: "overbrite" screen brightness slider

Post by DixieDog »

Thank s. Puppy no offer much for the eyes
User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: "overbrite" screen brightness slider

Post by soniabu »

thank you very much the software also works well with the FossaDog live 86_64
sonia
Image
Post Reply

Return to “Utilities”