Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App now gets display names from display EDID #253

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

Soggy-Pancake
Copy link
Contributor

The app now sets the correct connection for xrandr in self.displays. self.displays now is a nested array contaning the connection and the monitor name (ex: ["dp-1", "monitor"]), which should solve #220.

I also fixed the imports as it would crash upon trying to import anything under brightness_controler_linux as the init.py had been moved to the same folder some time back.

Soggy_Pancake added 2 commits March 21, 2024 18:05
sets the correct connection for xrandr in self.displays.
self.displays now is a nested array contaning the connection
and the monitor name (ex: ["dp-1", "monitor"])
@Soggy-Pancake Soggy-Pancake changed the title App correctly gets display names from display EDID App now gets display names from display EDID Mar 22, 2024
@LordAmit
Copy link
Owner

Hey! Thanks for the pull request and for addressing #220 !

Right now, I do not have a Linux machine to test this. @archisman-panigrahi , can you please help me by taking a look at it? Since the import statements changed a bit, your scripts to build packages might break, so I want your attention on this part!

monitor name extraction fails
@Soggy-Pancake
Copy link
Contributor Author

I just added a protection for when the display doesnt give EDID or the name cant be found for some reason. It will fall back to the connection name (ex. DP-0) if the name extraction fails for any reason.

@archisman-panigrahi
Copy link
Contributor

Sorry about the delay responding. I will review it this weekend.

your scripts to build packages might break, so I want your attention on this part!

The ddcutil version is not in PPA because I am yet to figure out how to package this new version.

Soggy_Pancake added 7 commits August 1, 2024 16:45
…ent combo boxes being filled with the original xrandr screen order. I also fixed the display update to respect combo box selections as well as updating display sliders after changing either combo box.
… names are now gotten on wayland! DDC control now functions on both x11 and wayland.
@Soggy-Pancake
Copy link
Contributor Author

Wayland crashes have been fixed as I just managed to get wayland working yesterday. The original software brightness doesn't work on Wayland but ddc now will.

Soggy_Pancake added 10 commits September 7, 2024 21:24
make this a ui popup instead of only in the terminal,
but at least there will be a more definitive way of telling
if users are on wayland.
…ill be disabled if it is a laptop display and there is another check in the setBrightness function as well just in case. The subprocess.run is now also wrapped in a try block as a last resort.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants