Brightness Controller Software

1 view
Skip to first unread message

Amabella Batton

unread,
Aug 5, 2024, 2:16:02 PM8/5/24
to nyaflatbalse
Inever installed this app before, in spite of recommending it a lot to others. For the first time, I installed it in order to ensure I was giving you accurate information... And it Works Like A Charm.

I use qt5ct which makes it use my custom gtk theme.


Four quick ways to fix the everlasting Laptop brightness problem in Ubuntu. Ubuntu plus most of the Linux distributions always had issues with Laptop brightness. The default hardware controllers never in the Laptop keyboard worked most of the time...


ACPI is a power interface management standard which is implemented inoperating system kernels. By default Linux kernel uses an inbuiltdriver for keyboard keys, which is often non compatible with somekeyboards.


Hence, we specify the option acpi_backlight=vendor which tells thekernel to take precedence of vendor driver over kernel driver. Theoption acpi_osi=linux tells the kernel to enable inbuilt ACPIworkarounds for Linux drivers; which can be the case if the devicedriver has issues for Linux architecture.


My computer is a Lenovo Legion Y740-15I with a nvidia GeForce RTX 2060.I have tried all solutions available but none worked. One day by chance when I installed tensorflow I had to install CUDA Toolkit 11.0 and his compiler.


Obviously, you should run this with the package of your current boot kernel. If you are unsure, run uname -r to get the kernel name. Moreover, package names after dpkg-reconfigure auto-complete in my bash, but your settings may vary.


Note that Nvidia drivers on MacBook Air 3,2 have a whole set of other, unrelated issues, some specifically related to brightness control. In particular, you need to add X-related device option settings EnableBrightnessControl=1 as per Brightness not working after installing NVIDIA driver. Also, MacBook Air 3,2 by default may fail to boot usable graphics altogether in Nvidia drivers, which is fixed by setting certain PCI-E registers in grub as per Proprietary NVidia drivers with EFI on Mac, to prevent overheating. Both were applied before on my machine and remained active after the upgrade, so not related.


I had much easier solution. Somehow unintentionally I've disabled "Handle display brightness keys" option in Xfce Power Manager. When pressing the brightness keys, the notification popup was displayed but the brightness bar wasn't moving. I took quite a while before I realized this.


Open the "Ubuntu Mainline Kernel Installer" app. Select the latest Kernel version which is at the very top of the list and click the Install button. As of this writing, version 5.15.1 is the latest. Restart the computer and the brightness keys work.


This worked for me. Ubuntu's own brightness control and keyboard brightness control work. Even when I turn the computer off and on, the setting does not change. This is real brightness control. When I lowered the brightness in third party programs, the screen became slightly bluish.


As a reference, my GRUB_CMDLINE_LINUX_DEFAULT is set to be that of the original one, i.e. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash". In addition, I installed the brightness-controller, but I'm not sure whether it helped me or not.


For a Lenovo Legion 5 with AMD Ryzen and Nvidia 1060Ti on Ubuntu 21.04 I tried multiple fixes listed by others in this thread (adding EnableBrightnessControl=1 in xorg.conf, updating kernel - yes, I was desperate, etc.), however that what helped was the following:


I have a similar problem on Ubuntu 22 (brightness slider doesn't change anything) and tried the proposed solution without success. So I tried to change acpi_backlight=video instead acpi_backlight=vendor (as other answer propose) and brightness slider start to work.


2 From all the options choose the latest one (the one that has the greater number) and you'll see that there are lots of the, some end in -server, others end in -open; what you have to do is choose the one that ends in nothing, for example, in the picture above I used the first one 'Using NVIDIA ... nvidia-driver-535 (propietary)' and then I clicked on apply changes, it made me restart and voila!


I tried every method described in this post (How to adjust screen brightness in Ubuntu 14.04?) to no success.Installing and using the xbacklight has no effect, same for editing the brightness file in the "intel_backlight" file.


Note: This does not decrease the intensity of backlight, so won't save your batteries. But you can use this as a last resort to save your eyes. This also works in desktops, where there is no option to control brightness.


Hi everyone, so i've been searching for quite a while for an applet or aplication to regulate brightness in my Solus Budgie, and didn't find nothing recent or useful in my situation since the keyboard of my notebook is unfunctional and i can't use the "fn" key to regulate brightness. I'll be glad with any information.


What just worked for me, (on a laptop, not sure for desktop) is to mess with the settings in the BIOS that control the Fn key behavior. i.e. function keys work as function keys and secondary controls are while holding the fn key+F key. With this I can now control the brightness with fn+f4/f5. be warned not to spam it, because it will get stuck in the adjustment cycle, displaying the brightness bar in the GUI, if that makes sense.


brent We had this once in our Repo, but it had issues for some people with NVIDIA cards. Because of that we removed it. Later this applet was reworked to fix that issue and I included it again in budgie-extras package.

A preview of the applet is here.


Well, that's embarrassing. I thought I was taking a screen shot of my Budgie VM, but I always do that using Spectacle on the host, because the "shared clipboard" feature of VirtualBox doesn't always work for me. I didn't realize I'd accidentally clicked on the Plasma menu! Thanks for catching that.


WetGeek About differences. There will max three sliders to regulate brightness instead of one that you have in Plasma Settings. Since you use both systems you will see what differences will be there.




That's looking nice. And as an applet, it won't require launching a menu and searching through settings to make a change, right? That would be another advantage for folks who would like to make changes frequently. Looking good so far!


The closest I found so far is the code below

(but this only let you choose from specific colors with the pushbutton and then change the brightness with a pot. I wish I could add the rainbow mode to the "menu" and be able to choose the hue through the pot, instead of the button)


neopixels_controller.jpg801503 127 KB

You have the led strip connected to the Vin pin. That's probably not correct. But it's hard to say because we don't know how you will power the circuit when away from the PC.


A li-ion battery such as 18650 size or a li-po pack. These are around 3.7V and you can power the Nano and led strip directly from it. On the Nano, connect the battery to the 5V pin, not the Vin pin. Of course, you need a special charger for this type of battery. Also they can be damaged by over-discharging. Some 18650 batteries have a built-in protection circuit. For li-po packs, you can buy a small charging and protection board.


+1 karma for using code tags in your first post. If would be helpful if you can get into the habit of using Tools->Auto Format before you post your code. Auto Format does not change how the code works at all, but makes it much more readable and easier to spot mistakes.


Of your 2 sketches, a guess the first one will make a better starting point. It has code to read and debounce the button. You can modify that and move parts of the other sketch into it. If also has code to control the switching between modes. It currently has 10 modes for 10 different colours. You will only need 2 modes.


The second sketch is not so good. It is written in a style we call "blocking code" because it uses the delay() command inside a loop. This makes it respond to button pressed and pot adjustments very slowly or not at all. So need to adapt parts copied over the new sketch carefully to avoid this problem.


Hello there, I noticed that my function keys to dim my laptop screen don't actually work. They register a change, and the slide bar appears and moves but he screen brightness stays the same.

I've done some digging, installed xbacklight and followed the information here on passing kernel parameters to get things going.

Nothing has worked so far. I've removed the kerenal parameters, so I'm back to default.


LVDS1 was used in your command and had the effect of jacking up the gamma.

While this will be helpful it's not as nice as being able to lower the screens output brightness.

i tried this but to no effect, subbing in my identifier from running xrandr --verbose


My Toshiba has an internal toshiba-acpi that only works with Windows and conflicts with xbacklight and other linux tools.. I was able to go into the BIOS and disable it. You can check to see if your model has something similar.


If it's there you can blacklist the module. Reboot and xbacklight should be working. If it's not, you can try a different backlight control. I don't know what's in the Debian repos these days; xfce-power-manager and acpibacklight work on my Toshiba.


In standard installation, xfce4-power-manager, is used to manage powersavings, included diming of screen on laptops. It is autostarted from /etc/xdg/autostart/xfce4-power-manager.desktop.

You can choose if you want to have an icon in tint2, for easy managment. Else, you can stant the ui from the menu => Preferences => Power managment.

If you temporarily want to dim the screen, just right click the icon and draw the meter to left.


@rbh the Fn keyed brightness controls and slide bar do NOT effect brightness of the screen. I'm running vanilla Lithium here with xfce4-power-management starting at boot

Some of the other functions keys DO work, at least the ones I would commonly use, Volume control, numlock, wifi toggle.

There are a few that do not, such as touchpad toggle, and a few i don't recognize the symbols of.

edit: I should stress, the keys and slider function and register a change in the /sys/class/backlight/intel_backlight/actual_brightness, but this change does not produce any results on the screen's brightness level,

3a8082e126
Reply all
Reply to author
Forward
0 new messages