You're Probably Doing Screen Brightness in Arch Linux Wrong
Ғылым және технология
Want to change your screen brightness on Arch Linux but you're not using a desktop environment? Install xbacklight, right? An annoying issue I had with my backlight was that the brightness barely changes when the screen is bright but changes way too quickly when the screen gets darker. Not only that but at the bottom the screen turned completely black. What a pain! In this video, I'll go over how I fixed these issues using brillo and more. No more backlight annoyances ever again...
Article: konradstrack.ninja/blog/chang...
Brillo GitLab: gitlab.com/cameronnemo/brillo
changebrightness script: github.com/ericmurphyxyz/arch...
Watch my videos on Odysee: odysee.com/$/invite/@ericnmur...
My website: ericmurphy.xyz
My GitHub: github.com/ericmurphyxyz
Get a VPS and host a website with Vultr: www.vultr.com/?ref=9005580-8H (affiliate link)
0:00 The problem with command line backlight utilities
1:53 How to fix it (with science)
3:25 A better backlight utility (brillo)
3:58 Installing brillo
5:14 Basic usage
5:56 Adding keybindings
6:52 Notifications
7:29 Setting a minimum brightness level
8:50 Fade effect
9:41 Conclusion
Пікірлер: 50
I've got a MacBook with a window manager setup, and your utility videos (multiple monitors with bspwm, screen brightness, Rofi as a Wi-Fi and power menu, etc.) have been immensely helpful for getting it into a machine I enjoy using. Thanks so much!
Really good and to the point. I was struggling with broken xbacklight symlinks for hours, then just followed your tutorial and everything went fine
The algorithm isn't doing this video justice. Nicely done. Thanks for sharing.
@EricMurphyxyz
Жыл бұрын
Appreciate it!
I appreciate your help, Eric. I had been facing difficulties with xbacklight in my Arch installation on my ThinkPad while trying to control the brightness. The solution you provided resolved my issue effectively.
Thank you so much, Eric, I was searching for something exactly like this!
Thanks a lot, Eric. I was looking for this for a long time
Really cool video Eric! I had heard about the screen brightness curve in an old LTT video that turning your brightness from max to half max brightness(50%)... would save upto like +16% more battery capacity... So if it were linear then setting it to minimum brightness(1%ish) should save up upto double like +32%.... but actually does a measly +20%. So yeah not the brightest idea to set your backlight to minimum if you have like quarter of battery remaining it'd still be fine at 20-50% range
@EricMurphyxyz
2 жыл бұрын
Interesting, I hadn't even considered the battery angle. That makes sense. I may have to find that LTT video.
@Axlefublr
5 ай бұрын
lol "not the **brightest** idea" I love that
Thanks a lot I have gone through a lot of hassles to set up and fix brightness using xbacklight on bspwm, but this video helped me fix that issue and also help me learn some bash scripting
Thanks Eric! Another very useful tutorial. Thanks for all of your effort.
@EricDongh2p
Жыл бұрын
No problem!
Thank's a lot, Eric.
this was helpful, thanks man
This is a issue I have on windows, when I bought the lenovo legion 5, the reviews said that the brightness wasn't very linear and hard to have a decent brightness, I'm glad that this can be fixed on linux.
good video, learnt something new today
Thanks, very helpful
In Xfce you can change the brightness control to exponential in the power management settings. Doing so also seems to allow the screen to get to a lower brightness before going black. I don't know nothing about nothing, but that simple toggle made my experience better.
great tutorial man, thx
this is awesome thanks a lot!!!!
thanks. great as usual :)
Thanks Eric for this much needed one. I was wondering about the situation with audio. Is it already on a logarithmic scale? Could you make a similar video about that?
@EricMurphyxyz
2 жыл бұрын
Hey Linn, you are right in that audio works the same way, but I believe this is already handled most of the time. I believe pulseaudio at least handles volume changes logarithmically so I've never noticed the same issue with audio.
Thank you, how about setting up the power supply and closing the laptop lid, what are you using? :)
Can't we use xfce4-power-manager it gives the xfce plugin you can add it on your system tray and it give more functionality like display sleep time and power button function etc etc.... It's more simple to use. What's your thoughts???
Amazing video
xrandr: I'm a joke to you!?
@edmund3504
Жыл бұрын
much easier with xrandr
when I first installed arch it was too bright and I didn't know there were scripts for all this and I wanted to keep my system minimal as possible idk what i was thinking but basically I had to create a bash script on the tty to controll brightness by echoing into the brightness file before I installed dwm
Got brillo Error: could not find an accessible controller Error: initialization failed. I am on desktop
Hello ! I've been trying to reduce the brightness below the lowest level allowed by my monitor (below 0) But i did find anything that could make it work, i saw a post talking about reducing RGB levels with ddcutil, i tried it but it didn't work. If anyone knows how to do that, it would be very helpful ! Thank you
@Guishan_Lingyou
8 ай бұрын
That's what I came to this video looking for. I use my laptop in the dark a lot and it is much brighter than I would like at the minimum brightness.
hi. I tried this but I always put sudo on the command. how can I remove it being in sudo?
@EricMurphyxyz
Жыл бұрын
When you install it make sure you run the make command as make install.setgid to allow access for all users. Alternatively you can add your user to the video group.
how do i uninstall this?
I was trying achieve this behaviour on fedora, the `brightnessctl` program has this feature with `-e` exponent flag, and with XF86 keys on my xmonad, it's works like charm.
@EricMurphyxyz
Жыл бұрын
Interesting, I remember using brightnessctl before but I guess I never found that option. Good to know!
@iampraneetverma
Жыл бұрын
@@EricMurphyxyz I was so relieved 😅 to discover this, now the brightness curve is much better than linear one
@EricMurphyxyz
Жыл бұрын
@@iampraneetverma Glad it helped!
@Degist
9 ай бұрын
Thank you very much. This is works perfect. I have a plan to remove brightnessctl and install brillo but your option is much better for me :D. I just add "-e" to i3 config.
can you help me i am really stuck i followed everyting it still stuck i cant change brightness since the reboot
@EricMurphyxyz
Жыл бұрын
Not sure what's wrong. Are you getting any errors when you try to run the command from the terminal?
@Moha-bb7xm
Жыл бұрын
@@EricMurphyxyz it does change the value but there is no actual change on brightness it's still too bright also there is nothing except acpi_light0 on blacklight folder
@EricMurphyxyz
Жыл бұрын
@@Moha-bb7xm Strange. Are you using brillo? Does xbacklight work? You could also try using a python script with xbacklight, there is a script in the blog post in the description you could try.
how do you run brillo without sudo?
@EricMurphyxyz
Жыл бұрын
Before you build it, run make install.setgid GROUP=_brillo, I go over it in the video
@wejesuss-1104
Жыл бұрын
@@EricMurphyxyz Sorry, I must have forgotten, I built the program without the setgid options initially, as I was not sure how to uninstall the program (as we built it manually) as ran `make install.setgid` installing it again, and I added my user to the 'video' group. It seems to work. I just am not sure if installing it on top of the previous installation is a good idea
Hey, can I get your dotfiles Please.
@EricMurphyxyz
2 жыл бұрын
They're in my github, link in the description