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

  • @st0rmw1ndz
    @st0rmw1ndz5 ай бұрын

    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!

  • @HubertRozmarynowski
    @HubertRozmarynowski Жыл бұрын

    Really good and to the point. I was struggling with broken xbacklight symlinks for hours, then just followed your tutorial and everything went fine

  • @y9tw0t
    @y9tw0t Жыл бұрын

    The algorithm isn't doing this video justice. Nicely done. Thanks for sharing.

  • @EricMurphyxyz

    @EricMurphyxyz

    Жыл бұрын

    Appreciate it!

  • @vimalvarghese8997
    @vimalvarghese8997 Жыл бұрын

    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.

  • @erlonpb
    @erlonpb2 жыл бұрын

    Thank you so much, Eric, I was searching for something exactly like this!

  • @moalshakoush8720
    @moalshakoush87202 жыл бұрын

    Thanks a lot, Eric. I was looking for this for a long time

  • @saumitit944
    @saumitit9442 жыл бұрын

    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

    @EricMurphyxyz

    2 жыл бұрын

    Interesting, I hadn't even considered the battery angle. That makes sense. I may have to find that LTT video.

  • @Axlefublr

    @Axlefublr

    5 ай бұрын

    lol "not the **brightest** idea" I love that

  • @sahaskamble4467
    @sahaskamble4467 Жыл бұрын

    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

  • @markring40
    @markring402 жыл бұрын

    Thanks Eric! Another very useful tutorial. Thanks for all of your effort.

  • @EricDongh2p

    @EricDongh2p

    Жыл бұрын

    No problem!

  • @gunawnjs
    @gunawnjs Жыл бұрын

    Thank's a lot, Eric.

  • @Sleir_
    @Sleir_2 жыл бұрын

    this was helpful, thanks man

  • @PatalJunior
    @PatalJunior Жыл бұрын

    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.

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars2 жыл бұрын

    good video, learnt something new today

  • @torphedo6286
    @torphedo6286 Жыл бұрын

    Thanks, very helpful

  • @Guishan_Lingyou
    @Guishan_Lingyou8 ай бұрын

    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.

  • @mateusnascimento1989
    @mateusnascimento19899 ай бұрын

    great tutorial man, thx

  • @666sinney
    @666sinney Жыл бұрын

    this is awesome thanks a lot!!!!

  • @domtheruggeda
    @domtheruggeda Жыл бұрын

    thanks. great as usual :)

  • @MrLinNew
    @MrLinNew2 жыл бұрын

    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

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

  • @wolf4ok
    @wolf4ok2 жыл бұрын

    Thank you, how about setting up the power supply and closing the laptop lid, what are you using? :)

  • @techtude
    @techtude Жыл бұрын

    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???

  • @gettriggered_ian3269
    @gettriggered_ian32692 жыл бұрын

    Amazing video

  • @D0F4M1N3
    @D0F4M1N32 жыл бұрын

    xrandr: I'm a joke to you!?

  • @edmund3504

    @edmund3504

    Жыл бұрын

    much easier with xrandr

  • @alankjohn9263
    @alankjohn92632 жыл бұрын

    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

  • @consciousmi4842
    @consciousmi48423 ай бұрын

    Got brillo Error: could not find an accessible controller Error: initialization failed. I am on desktop

  • @ajaxmaxxer
    @ajaxmaxxer8 ай бұрын

    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

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

  • @noel_curray
    @noel_curray Жыл бұрын

    hi. I tried this but I always put sudo on the command. how can I remove it being in sudo?

  • @EricMurphyxyz

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

  • @r4ng3l56
    @r4ng3l56 Жыл бұрын

    how do i uninstall this?

  • @iampraneetverma
    @iampraneetverma Жыл бұрын

    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

    @EricMurphyxyz

    Жыл бұрын

    Interesting, I remember using brightnessctl before but I guess I never found that option. Good to know!

  • @iampraneetverma

    @iampraneetverma

    Жыл бұрын

    @@EricMurphyxyz I was so relieved 😅 to discover this, now the brightness curve is much better than linear one

  • @EricMurphyxyz

    @EricMurphyxyz

    Жыл бұрын

    @@iampraneetverma Glad it helped!

  • @Degist

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

  • @Moha-bb7xm
    @Moha-bb7xm Жыл бұрын

    can you help me i am really stuck i followed everyting it still stuck i cant change brightness since the reboot

  • @EricMurphyxyz

    @EricMurphyxyz

    Жыл бұрын

    Not sure what's wrong. Are you getting any errors when you try to run the command from the terminal?

  • @Moha-bb7xm

    @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

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

  • @wejesuss-1104
    @wejesuss-1104 Жыл бұрын

    how do you run brillo without sudo?

  • @EricMurphyxyz

    @EricMurphyxyz

    Жыл бұрын

    Before you build it, run make install.setgid GROUP=_brillo, I go over it in the video

  • @wejesuss-1104

    @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

  • @pwnwriter
    @pwnwriter2 жыл бұрын

    Hey, can I get your dotfiles Please.

  • @EricMurphyxyz

    @EricMurphyxyz

    2 жыл бұрын

    They're in my github, link in the description

Келесі