soft-brightness icon indicating copy to clipboard operation
soft-brightness copied to clipboard

Add support for Gnome 43

Open steve-todorov opened this issue 1 year ago • 26 comments

Are there any plans for Gnoem 43 support ? :)

steve-todorov avatar Oct 08 '22 10:10 steve-todorov

Yes, please update for gnome 43, Please!

fastrizwaan avatar Oct 11 '22 02:10 fastrizwaan

Friends, till Gnome 43 is supported, we can use https://github.com/LordAmit/Brightness

pip install brightness-controller-linux

brightness-controller

fastrizwaan avatar Oct 15 '22 03:10 fastrizwaan

Friends, till Gnome 43 is supported, we can use https://github.com/LordAmit/Brightness

pip install brightness-controller-linux

brightness-controller

Thank you.

On Fedora I had to do this beforehand in order for it to build correctly: sudo dnf install python3-devel ddcutil

Unfortunately it didn't work on desktop. The toggles do nothing.

Turbine1991 avatar Oct 19 '22 04:10 Turbine1991

friends another extension exists, https://extensions.gnome.org/extension/4167/custom-hot-corners-extended/

We can set shortcuts to that... Screenshot from 2022-10-28 21-08-38

fastrizwaan avatar Oct 29 '22 12:10 fastrizwaan

friends another extension exists, https://extensions.gnome.org/extension/4167/custom-hot-corners-extended/

We can set shortcuts to that... Screenshot from 2022-10-28 21-08-38

Good one, it works a treat on my desktop. Thanks! This extension seems to be a whole lot more than just hot corners.

Turbine1991 avatar Oct 30 '22 09:10 Turbine1991

image

Gnome Accessiblity - > zoom ->Color effects can be used directly

fastrizwaan avatar Nov 02 '22 12:11 fastrizwaan

I'm pretty used to adjusting my brightness setting throughout the day with this extension. It is just so easy to use. I cannot wait for it to get ported to 43.

I appreciate both options fastrizwaan suggests, but I'd rather have the brightness slider right up there on the Gnome Shell menu instead of having to drill down the settings menu several times a day, or learning a new key combo to make use of the Hot Corners extension extended functionality (which I guess I'll have to do in the mean time since it seems to be the most sensible solution for now).

sergiotca avatar Nov 14 '22 18:11 sergiotca

Yes, I also use soft brightness slider always. I am really missing it. Waiting for it. I am daily visiting this github repo to check on updates.

fastrizwaan avatar Nov 15 '22 02:11 fastrizwaan

Can someone make a slider for gnome-shell? One can get the values from gsettings and change them as required.

rizvan@debian:~$ cat set_brighness.sh 

gsettings set org.gnome.desktop.a11y.magnifier mag-factor 1 ;# do not magnify
gsettings set org.gnome.desktop.a11y.magnifier brightness-red $1
gsettings set org.gnome.desktop.a11y.magnifier brightness-green $1
gsettings set org.gnome.desktop.a11y.magnifier brightness-blue $1
gsettings set org.gnome.desktop.a11y.applications screen-magnifier-enabled true ;#enable accessiblity

Usage:

rizvan@debian:~$ sh set_brighness.sh -0.80 ; # 20% brightness
rizvan@debian:~$ sh set_brighness.sh -0.70 ; # 30% brightness
rizvan@debian:~$ sh set_brighness.sh -0.50 ; # 50% brightness
rizvan@debian:~$ sh set_brighness.sh -0.00 ; # 100% brightness

Screenshot from 2022-11-15 23-36-35

fastrizwaan avatar Nov 15 '22 18:11 fastrizwaan

Please try: https://github.com/fastrizwaan/gnome-set-brightness

fastrizwaan avatar Nov 15 '22 20:11 fastrizwaan

https://github.com/daitj/gnome-display-brightness-ddcutil works well for me.

azzamsa avatar Nov 16 '22 23:11 azzamsa

im desperate all other solution either don't work for me or look like crap.

i tried fixing but i got :

nuh

i have sadly no experience nor clue how to debug it. (sadly limited time to look into it)

white knight, where are you ? i need to proper dim my screen to fight climate change lmao

zh54tg234f avatar Nov 21 '22 13:11 zh54tg234f

I have created a pull request with GNOME 43 support here: https://github.com/F-i-f/soft-brightness/pull/59

In the meantime, feel free to clone the forked repository and follow the build instructions: https://github.com/jkitching/soft-brightness

jkitching avatar Nov 21 '22 15:11 jkitching

FYI

While there was no fix for Gnome 43 I stumbled upon a tool called ddccontrol that changes your actual screen brightness (without a fake dim effect). It offers a GUI and CLI.

While it of course doesn't integrate as nicely into Gnome as soft-brightness it might still be interesting to some (and works independently of your desktop environment).

va1entin avatar Nov 22 '22 16:11 va1entin

FYI

While there was no fix for Gnome 43 I stumbled upon a tool called ddccontrol that changes your actual screen brightness (without a fake dim effect). It offers a GUI and CLI.

While it of course doesn't integrate as nicely into Gnome as soft-brightness it might still be interesting to some (and works independently of your desktop environment).

Thankfully gddccontrol works with regular monitor (VESA) too. will be useful for gnome 44 ;-) till then @jkitching is the man!

fastrizwaan avatar Nov 22 '22 16:11 fastrizwaan

I have created a pull request with GNOME 43 support here: #59

In the meantime, feel free to clone the forked repository and follow the build instructions: https://github.com/jkitching/soft-brightness

Would it be possible for you to share releases too? As owner has either abandoned this or took better things in Life ..

newinnov avatar Dec 19 '22 14:12 newinnov

Hi @F-i-f, I saw you made some commits a couple days ago. Any chance you could take a look at pull request #59 for GNOME 43 support?

jkitching avatar Dec 25 '22 07:12 jkitching

@newinnov here's a build of Soft Brightness which includes GNOME 43 support in the meantime. soft-brightness_gnome-43-support.zip

jkitching avatar Jan 02 '23 07:01 jkitching

@newinnov here's a build of Soft Brightness which includes GNOME 43 support in the meantime. soft-brightness_gnome-43-support.zip

Thank you @jkitching for sharing build. It will be very useful for anyone who comes across this thread. I reverted back to Ubuntu LTS from bi-annual release, hence not able to test it right now. Regardless, it will be very useful for other on same boat.

newinnov avatar Jan 02 '23 15:01 newinnov

Is someone going to update this extension for gnome 43 already? I'm using 3 monitors and it is a chore to have them on good brightness level, and changing that in the evening and in the mornings. This extension was a God send.

Bucov avatar Apr 05 '23 16:04 Bucov

Is someone going to update this extension for gnome 43 already? I'm using 3 monitors and it is a chore to have them on good brightness level, and changing that in the evening and in the mornings. This extension was a God send.

jkitching did ; it works great. Look at two posts over yours.

sheepdestroyer avatar Apr 06 '23 04:04 sheepdestroyer

@jkitching Could you maybe publish your fork on https://extensions.gnome.org/ ?

sheepdestroyer avatar Apr 06 '23 04:04 sheepdestroyer

now gnome 44 support?

fastrizwaan avatar Apr 06 '23 05:04 fastrizwaan

Hey @F-i-f, since there is still demand for a working version of your excellent extension, I am going to start making releases on the forked repo, and submit an entry to the official GNOME extensions site. Please let me know if you want to move development back to this repo!


I've updated the fork at https://github.com/jkitching/soft-brightness to support GNOME 44.

Here is the "official" v31 release: https://github.com/jkitching/soft-brightness/releases/tag/v31

I've also uploaded the extension to the official GNOME extensions directory website: https://extensions.gnome.org/extension/5880/soft-brightness/ The URL won't work quite yet, since it is still under review.

jkitching avatar Apr 06 '23 12:04 jkitching

@jkitching IMHO, the issue tab needs to be enabled in your forked repo.

azzamsa avatar Apr 20 '23 00:04 azzamsa

I didn't realize the issues tab had to be explicitly enabled (: I've added it, thanks!

On Thu, Apr 20, 2023, 08:44 Azzam S.A @.***> wrote:

@jkitching https://github.com/jkitching IMHO, the issue tab needs to be enabled in your forked repo.

— Reply to this email directly, view it on GitHub https://github.com/F-i-f/soft-brightness/issues/58#issuecomment-1515554882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD5RF5MXMZMGFVKMD4JPPDXCCBFXANCNFSM6AAAAAARAGDBSU . You are receiving this because you were mentioned.Message ID: @.***>

jkitching avatar Apr 20 '23 02:04 jkitching