Skip to main content

FAQ

Q: How do I completely turn the screen off or on in Raspberry Pi OS Trixie?

A: In the Wayland environment of Raspberry Pi OS Trixie, you can control the screen display state using the wlr-randr command. First run wlr-randr to check the actual output name; the following uses DSI-2 as an example. During operation, replace it with the DSI output recognized on your machine.

# Turn off the screen
wlr-randr --output DSI-2 --off
# Turn on the screen
wlr-randr --output DSI-2 --on
Q: How do I change the boot logo in my Raspberry Pi OS Trixie?

A:

  1. Check the current theme and available themes, and verify the Pix theme files:

    sudo plymouth-set-default-theme
    sudo plymouth-set-default-theme --list
    ls /usr/share/plymouth/themes/pix/pix.plymouth /usr/share/plymouth/themes/pix/pix.script /usr/share/plymouth/themes/pix/splash.png

    The first command shows the current theme, and the second command lists the available themes. If pix is not in the list, the theme files do not exist, or the command is unavailable, stop the operation and first confirm the system image and theme installation status; do not create an empty directory and continue replacing the image.

  2. Back up the original boot image. If a backup with the same name already exists, do not overwrite it; choose another backup file name.

    sudo cp -i /usr/share/plymouth/themes/pix/splash.png /usr/share/plymouth/themes/pix/splash.png.bak
  3. Name your custom PNG image splash.png, place it in the terminal's current directory, and then replace the Pix theme image:

    sudo cp ./splash.png /usr/share/plymouth/themes/pix/splash.png
  4. Explicitly select the Pix theme and rebuild initramfs. After the command completes successfully, check the current theme again; the output should be pix:

    sudo plymouth-set-default-theme --rebuild-initrd pix
    sudo plymouth-set-default-theme

    For parameter descriptions, see the Plymouth Theme Setting Command Manual. If the theme setting or initramfs rebuild reports an error, resolve the error first and do not reboot directly.

  5. Reboot the Raspberry Pi and check whether the boot screen displays the custom image:

    sudo reboot