How can i disable sleep button of my keyboard in Gnome DE in manjaro OS?
The way I know ~ You can edit the logind.conf
file to alter the action of sleep/shutdown buttons & close lid.
sudo nano /etc/systemd/logind.conf
Look for the line below, duplicate it, uncomment with a new behaviour.
#HandleSuspendKey=suspend
HandleSuspendKey=ignore
& then restart & test it.