How to hide desktop or to show black screen so I can display images and videos by fbi and omxplayer without seeing desktop when next image is loaded?

  • Like Milliways said, dont use the desktop. you can disable automatic desktop starting in raspi-config->boot options. Apr 9, 2018 at 14:52

2 Answers 2


You can try to switch off the backlight if available for your display. On the command line you can do it with:

rpi ~$ sudo /bin/sh -c 'echo "0" > /sys/class/backlight/soc\:backlight/brightness'

and on again:

rpi ~$ sudo /bin/sh -c 'echo "1" > /sys/class/backlight/soc\:backlight/brightness'

fbi doesn't need a GUI so don't use one.

  • I need to run browser after fbi. I managed to blank the screen by opening black image by pqiv pqiv -f -i blank.png&
    – JPX
    Apr 13, 2018 at 5:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.