Multimedia Key Shutdown/Restart Shortcuts

One of my old keyboards had a shutdown key. I thought that was kinda handy, and through some geekery and my current keyboard’s multimedia keys, I created ways of shutting down and restarting my computer that are almost as easy:

Ctrl+Stop: Shutdown
Ctrl+PreviousTrack: Restart

To set these up in Windows, I added a few lines to an AutoHotKey script that I have set up to run when my computer starts:

Shutdown, 1+8

Shutdown, 2

The shortcuts were even easier to make in KDE, because it already has the software needed to pull that stuff off. To set them up, open System Settings and head for Keyboard & Mouse > Global Keyboard Shortcuts. Change the KDE component to "The KDE Session Manager", and you should find awfully hard-to-remember shortcuts for "Halt Without Confirmation" and "Reboot Without Confirmation". Change them to the easy-to-remember ones and you’re all set.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s