Raspberry Pi 4: Shutdown and Reboot Keyboard Shortcut

Channel:
Subscribers:
2,830
Published on ● Video Link: https://www.youtube.com/watch?v=GnYcObSuiQM



Duration: 2:21
2,591 views
17


This video will show how to create a keyboard shortcut to shutdown and reboot raspberry pi running in desktop mode (LXDE GUI).

+++++++++++++++++++++++++++++++++++
Steps:
SHUTDOWN/REBOOT KEYBOARD SHORCUT ON RASPBERRY OS/ RASPBIAN

Step 1: On Pi Desktop, Open a terminal.

Step 2: Backup and Edit /etc/xdg/openbox/lxde-pi-rc.xml file.

sudo cp -p /etc/xdg/openbox/lxde-pi-rc.xml /etc/xdg/openbox/lxde-pi-rc.xml.bkp

sudo vi /etc/xdg/openbox/lxde-pi-rc.xml

Step 3: Scroll down to the keybind section

Step 4. Create a comment such as My SHUTDOWN/REBOOT SHORCUTS
under the chainQuitKey
Step 5: Enter your preferred keybind code

6. Save the file and reboot. Done.
Your keyboard shorcute should now work after the reboot.


#Raspberry Pi Shutdown Keyboard Shortcut







Tags:
raspberry pi
raspberry pi OS
shutdown shortcut raspberry pi
reboot shortcut raspberry pi
raspberry pi shutdown button
raspberry pi reboot button