$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

MX Linux Xfce Black Screen When Idle Troubleshooting Guide

January 14, 2022 | By the+gnu+linux+evangelist.

Solving Black Screen When Idle in MX GNU/Linux

Hi! This Guide try to Solve the Blank Screen When Idle for 5 Minutes Issue in MX GNU/Linux Desktop.

And this Issue come from a ineffective interaction between the Debian OS and the Xfce Desktop in managing the Screensaver.

So to solve it we provide to make a Shell Script to run on the System Startup.

MX Linux Xfce Black Screen When Idle Troubleshooting Guide - Featured
  1. 1. Enabling Display Manager

    First, Enable Display Management
    So search for “power” in the Menu, and then Run the Power Manager:

    Power Manager Launcher
    Check that the Display Management is Enabled:
    Display Management Enabled
  2. 2. Shell Scripting QuickStart

    How to QuickStart with Shell Script on GNU/Linux:

    Shell Script QuickStart Guide
  3. 3. Making Shell Script

    Now Make Shell Script
    With the nano Editor make a File in your Home’s Documents Directory:

    nano ~/Documents/autostart.sh
    This said for Example, then you are free to Put it in whatever Location you choose.
    Copy and Paste in the following Content:
    #!/bin/bash
    sleep 1; xset s off
    sleep 1; xset s noblank
    
    Ctrl+Shift+v to Paste in with nano.
    Finally, Ctrl+x to Save & Exit from nano Editor.
    Next give Execution Permission with:
    chmod +x ~/Documents/autostart.sh
    Then you are ready to Run it with:
    ~/Documents/autostart.sh
  4. 4. Disabling Screensaver at Boot

    So to Disable Blank Screen
    Search for “start“, and Run Session and Startup:

    Session and Startup Launcher
    Then choose :
    Add
    Last Set the entry Command like:
    sh ~/Documents/autostart.sh
    Done
  5. Thanks to: georgeeipi