F2/F3 Brightness Keys Not Working on Ubuntu (Argon ONE UP, CM5)

Hi Argon team,

I’m using a CM5-based Argon ONE UP laptop with Ubuntu (version). I ran the official installer:

curl https://download.argon40.com/argononeup.sh | bash

Everything seems to work well except the F2/F3 screen brightness keys do not work. I see the installer gives these errors:

Updating configuration ...
Installing/Updating scripts and services ...
Initializing Services ...
Failed to connect to user scope bus via local transport: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
Failed to connect to user scope bus via local transport: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
Failed to connect to user scope bus via local transport: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)

It seems the brightness hotkey daemon did not start on Ubuntu.

Could you please advise:

  1. Is there an official method to enable the brightness keys on Ubuntu?

  2. Should a user-session service be running, or is there an alternative way to map F2/F3 for Linux users?

Thank you for your guidance — happy to provide any logs or outputs you need.

Best regards,
Ilkka

Try these lines before running the argon script

sudo usermod -aG input $USER

sudo usermod -aG i2c $USER

export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus

export XDG_RUNTIME_DIR=/run/user/$(id -u)

Somehow I managed to get it working on my Ubuntu instance. But am not sure what exactly I did to get it working. It works for me after logging in but not on the log in screen

Hi, thanks for the help. Now it is OK. Not sure if your tips or a system update helped.

It is a great laptop.

1 Like