A simple Qt GUI that adjusts the display brightness for Linux desktop using ddcutil.
- Install ddcutil:
dnf install ddcutil
- Intall qt5 and qxt:
dnf install sudo dnf install qt5-qtbase-devel qt5-qtmultimedia-devel qt5-qtwebkit-devel qt5-qttools-devel libqxt-qt5-devel
- You may need to change the Qt version in CMakeLists.txt to the one you are using.
- ddcutil requires sudo. You may need to adjust your system settings to avoid entering password. One method could be:
sudo visudo
in terminal, comment out%wheel ALL=(ALL) ALL
and comment in%wheel ALL=(ALL) NOPASSWD: ALL
.
This app has only been tested on my own Fedora 37 with GNOME 43, Fefora 38 with GNOME 44 and Fedora 40 with GNOME 46. I wrote this because the other extensions/apps did not meet my personal requirement of simplicity, less lagging and customizable shortcuts when adjusting the brightness.
Note: The default keyboard shortcuts for increasing and decreasing brightness are F6 and F5, respectively.
-
Following errors may occur on Wayland due to its compatibility issues with GNOME:
QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
QxtGlobalShortcut failed to register: "F5"
QxtGlobalShortcut failed to register: "F6"
You may also see "Night Light Unavailable", "This could be the result of the graphics driver being used, or the desktop being used remotely" in System Display Setting.
So please use Xorg instead! To switch to Xorg, please log out and select Xorg from the bottom-right corner of the login screen.
Note: for the tray icon of lumid and other Apps to show up, you need to install 3rd-party gnome extensions like Appindicator. However, the new version the author mentioned in the comment section does not work with lumid properly so please stick to the current version on GNOME Extension for now.
-
Unlike GNOME Extensions Soft Brightness Plus, Lumid does not change Brightness instantly when slider value changes. This is due to lagging of ddcutil, not the app itself.