Custom command modification for Power button option in GNOME

Hi team,

We wanted to modify the command of the poweroff button, by default it is performing the shutdown operation. But we wanted to set a custom bash command to run when we press the poweroff option in the GUI.
Any support on this will be appreciated.

Regards,
Sharath.K

1 Like