Changing the power button functions in the Argon One Pi 4 case

  • Hi all,


    Recently purchased a Raspberry Pi 4 and the Argon40 Argon ONE case for it.

    I've installed succesfully the script following the instructions and I can change the fan speed with the command "argonone-config".


    My question is, is it possible to change the power button functions too?


    By default the functions are the following (see table). I need to have the shutdown function with the short press (<3s). Is it possible?



    Shutdown Press Start
    Working Long-press (>3s) Shutdown
    Working Press(<3s) No function
    Working Double-click Restart
    Working Long-press(>5s) Force shutdown
    • Official Post

    Function calls are part of the script(s) you've been installed. Edit it.

    DNB music-addicted finger drummer.

  • Function calls are part of the script(s) you've been installed. Edit it.

    Sorry but I'm a newie... What is the script that I need to edit?


    Only info that I can see in the configuration file (argoned.conf) is related to the temperature and to the fan speed... Nothing about the power button behaviour :(


    forum.libreelec.tv/core/attachment/6648/


    Thank you so much for you help.

  • Finally, I've got an answer from the @argon_forty twitter account:


    "Power button behaviour cannot be configured via argon-one config. We'll update our github soon so that advance users can write their own script".