Is there any way to make my PC hibernate when I press the power button? By power button I meant my CPU's power button. Obviously when I press this button somewhere some signal is sent which I don't know about since I am new to Linux. Can it be intercepted to enable my PC to hibernate?
You probably (could) use
If, however, you use GNOME, there other (also GUI) ways, see this comprehensive thread on