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

Brightness controls - missing #110

Closed
Jopp-gh opened this issue Apr 30, 2019 · 9 comments · Fixed by #251
Closed

Brightness controls - missing #110

Jopp-gh opened this issue Apr 30, 2019 · 9 comments · Fixed by #251

Comments

@Jopp-gh
Copy link

Jopp-gh commented Apr 30, 2019

I have an issue with brightness controls, they are completely missing.
I already posted my issue on stack-exchange and got very nice support. But we were not able to solve the issue

https://elementaryos.stackexchange.com/questions/18860/no-brightness-controls-after-fresh-install/18862?noredirect=1#comment21738_18862

My Computer: Mac OsX,
Elementary: Juno, i installed the newest updates,
Plugins: purged some plugins on stack-exchange

Current context (With Tweaks installed ^^ )
Screenshot from 2019-04-30 18-20-46-github

I tried to install 3rd party plugins to add brightness settings by my own. These applications were outdated and did not work anymore. The only application available in the AppCenter does not dim enough, not even on max, and interferes with NightLight. If dimmer is on, NightLight switches off and vice-versa

@IamLizu
Copy link

IamLizu commented Apr 30, 2019

I think the correct link to the Stack Exchange post is - https://elementaryos.stackexchange.com/questions/18860/no-brightness-controls-after-fresh-install

Your link is not working.

@peteruithoven
Copy link
Collaborator

Not sure why you're showing the Nightlight indicator. That's something else.
The power indicator menu with brightness control:
Screenshot from 2019-04-30 20 21 19@2x

I'm assuming it won't show up for you there seeing it's not visible in the System Settings.

Mac OsX is a operating system. It tells us 0 about your hardware.

@Jopp-gh
Copy link
Author

Jopp-gh commented Apr 30, 2019

The nightlight wingpanel is also a kind of screen luminosity control, so i assumed Brightness controls share the same panel.
I used Juno for 2 days out of the box, but after looking thouroughly for brightness controls which i could not find, i tried to install some 3rd pary app to get some brightness control.
The beauty of Juno is its clean uncluttered interface. There is nothing confusing.

Secondly i thought…Maybe the battery panel is surpressed because my computer is not a laptop.

Screenshot from 2019-04-30 18-53-28

@peteruithoven
Copy link
Collaborator

peteruithoven commented Apr 30, 2019

A relevant Stack Exchange question: https://elementaryos.stackexchange.com/questions/5465/how-to-reduce-the-brightness-of-a-desktop-pc
Another one for Ubuntu: https://askubuntu.com/questions/894465/changing-the-screen-brightness-of-the-external-screen

Looks like the power settings look for a file in /sys/class/backlight/, see:
https://github.com/elementary/switchboard-plug-power/blob/master/src/MainView.vala#L257-L277
Do you have something in /sys/class/backlight/?
It's not dependent, as far as I understand it on whether the computer is a laptop.

@Jopp-gh
Copy link
Author

Jopp-gh commented Apr 30, 2019

There is nothing inside /sys/class/backlight/
ok, i will create a file there, logout and report back
Sorry, what is the name of this file? MainView.vala ?

@peteruithoven
Copy link
Collaborator

That's not how that works. You can't just add a file and have it work.

Please read for example: https://askubuntu.com/questions/894465/changing-the-screen-brightness-of-the-external-screen

I guess the question would be whether we can integrate Brightness Controller into the power settings, but then I wonder why even Ubuntu didn't do that.

@Jopp-gh
Copy link
Author

Jopp-gh commented Apr 30, 2019

indeed it does not work this way. I created the file in Downloads and tried to move it to dest directory. Access denied even with sudo

cd Downloads
sudo cp MainView.vala /sys/class/backlight/MainView.vala

Ahhh…i see
I already stumbled myself over this topic. Correcting brightness via shell command. Not really exciting, as for now i dont know how to code a snippet to which i could assign a shortcut

@Jopp-gh
Copy link
Author

Jopp-gh commented Apr 30, 2019

i read somewhere online that Ubuntu derivatives suffer from common problems, like the one controlling brightness adjustments. My battery preference is surpressed somehow, but this issue were there from day one on. Following the installer process, i noted that Juno had ignored various packages during its first install.

I configured nothing special in the Juno installer on my USB stick (then installing over my HD partition), except the reformatting of my Fat partition i had created before on my Mac, to a linux partition - ext4 to be exact.

@Jopp-gh
Copy link
Author

Jopp-gh commented Apr 30, 2019

should i see something useful in: systemctl list-units --type service ?
the only line with error is:
xpra.service loaded failed failed Xpra System Server
could not find anything related by searching for keywords like: battery, brightness or their like :(

another topic is to change kernel to get brightness back. Not sure if this is THE way to go for me
https://www.youtube.com/watch?v=yOmIldZYLFk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants