Warning: Cannot use bool as array in /var/www/it4home.dk/public_html/wp-content/plugins/w3-total-cache/Cache_File.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at /var/www/it4home.dk/public_html/wp-content/plugins/w3-total-cache/Cache_File.php:237) in /var/www/it4home.dk/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1904
{"id":593,"date":"2025-07-16T12:47:39","date_gmt":"2025-07-16T10:47:39","guid":{"rendered":"https:\/\/it4home.dk\/?p=593"},"modified":"2025-07-16T13:58:06","modified_gmt":"2025-07-16T11:58:06","slug":"automatically-switch-raspberry-hdmi-between-magicmirror2-and-a-desktop","status":"publish","type":"post","link":"https:\/\/it4home.dk\/index.php\/2025\/07\/16\/automatically-switch-raspberry-hdmi-between-magicmirror2-and-a-desktop\/","title":{"rendered":"Automatically switch Raspberry\u202fHDMI between MagicMirror2 and a desktop"},"content":{"rendered":"
<\/a>\"image_print\"<\/a><\/div>\n

Running a MagicMirror on a Raspberry\u202fPi alongside a desktop PC? Tired of manually changing inputs when the PC boots or shuts down? Here\u2019s a simple Bash script plus systemd service that:<\/p>\n\n\n\n