Note to anyone trying to do a minimal install, (example being me rocking DWM with no display manager gang gang) or potentially any install of Linux-based OS as I have regarding problems with dedicated keyboard shortcuts and display brightness.
I will revise this as I am not entirely sure if every step is necessary.
-
Install
acpi
withsudo pacman -Syu acpi
-
Edit the GRUB bootloader configuration file with a text editor and admin permissions.
For me, that’s sudo nano /etc/default/grub
. Go to the line GRUB_CMDLINE_LINUX=""
and in-between the ""
(two quotes) input acpi_backlight=
, with any of the three variables after the equals (=
) sign: video
, vendor
, or native
.
For me native
worked, but it will probably be either of the former for you.
-
Update the GRUB config and reboot. The easiest way to do this is executing
update-grub
with administrator permissions and rebooting via inputingsudo grub-update; reboot
in the terminal. You may have to useyay
to installgrub-update
from the AUR withyay -Sy grub-update
-
Install
xfce4-power-manager
via the commandsudo pacman -Syu xfce4-power-manager
. You can testxfce4-power-manager
in the terminal by itself by running the command, and seeing if your brightness controls work. Try a GUI app orxbacklight
or something of the sort if the actual keyboard doesn’t yield results. -
Edit your
.xinitrc
with a text editor and administrative permissions. This will executexfce4-power-manager
automatically at startup every time you boot your system. If you don’t have an.xinitrc
, create one. Addxfce4-power-manager
as a separate line to execute at startup. If you have nothing within your.xinitrc
, you can get away with addingexec xfce4-power-manager
and saving the file. -
Reboot and test your brightness. Everything should be set and ready to go. Congrats!