Silence and Appliance-ify your RetroPie Installation (i.e. Make it Startup and Shutdown Like a Console) **UPDATED FOR RetroPie v4.4.8**
-
NOTICE!! THESE TWEAKS IN NO WAY HARM THE OPERATION OF YOUR INSTALLATION, THEY ARE JUST COSMETIC TWEAKS TO REMOVE ANNOYING TEXT INFORMATION THAT POPS UP DURING BOOTUP AND SHUTDOWN WHICH WILL BEAUTIFY AND STREAMLINE YOUR RETROPIE PROJECT BE IT CONSOLE OR ARCADE
NOTICE, IT IS ASSUMED THAT YOU ARE USING NOTEPAD++ TO MAKE THESE CHANGES
cmdline.txt tweaks to silence cursor and various screen outputs
take care to only replace the differences, keep anything else.
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty3 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet loglevel=3 vt.global_cursor_default=0 consoleblank=0 logo.nologo plymouth.enable=0
then add this to config.txt
disable_splash=1
avoid_warnings=1
Stop MOTD and autologin user info from displaying
use command: touch ~/.hushlogin
then
edit /etc/pam.d/login
#hashtag out the following:
session optional pam_lastlog.so
session optional pam_motd.so motd=/run/motd.dynamic
session optional pam_motd.so noupdate
then
edit /etc/motd delete information inside, may reappear when system updates
Remove linux version info displaying:
edit /etc/issue and delete all text within the file then save.
Remove: raspberrypi login: pi (automatic login)
Change the auto login in systemd (Hides the login message when auto-login happens)
sudo nano /etc/systemd/system/autologin@.service
Change ExecStart located at [Service] from:
ExecStart=-/sbin/agetty --autologin pi --noclear %I $TERM
To:
ExecStart=-/sbin/agetty --skip-login --noclear --noissue --login-options "-f pi" %I $TERM
Tell dmesg to be quiet and silence of the 'watchdog watchdog0: watchdog did not stop!' message
sudo nano /etc/rc.local
Add this before 'exit 0':
#Suppress Kernel Messages
dmesg --console-offRemove Emulationstation Boot Logo Splash:
add the argument to
opt/retropie/configs/all/autostart.sh
--no-splash
place before #auto
i.e. emulationstation --no-splash #auto
Stop shutdown/reboot messages onscreen during shutdown
NOT USING POWERBLOCK OR CONTROL BLOCK:
and /opt/retropie/supplementary/emulationstation/emulationstation.sh
find sudo reboot and sudo poweroff and replace with sudo reboot --no-wall and sudo poweroff --no-wall
USING POWERBLOCK OR CONTROLBLOCK:
edit powerblock or controlblock shutdown script at /etc/controlblockswitchoff.sh or /etc/powerblockswitchoff.sh
find shutdown -h now replace with shutdown -h now --no-wall
(WILL DISAPPEAR IF DRIVER IS UPDATED AND SHUTDOWN/REBOOT MESSAGES WILL REAPPEAR)Super Kuma 9000 system specific tweaks:
(if driver is updated tweaks will need to be reapplied)Driver: sudo wget -O - https://goo.gl/22RsN3 | bash
edit opt/kintaro/pcb.py
under def check_powerbutton():
find the line os.system("sudo shutdown -h now") change it to os.system("sudo shutdown -h now --no-wall")
delete the line os.system("killall emulationstation") including the blank space on it's leftunder def check_resetbutton()
find the line os.system("sudo reboot") change it to os.system("sudo reboot --no-wall")
delete the line os.system("killall emulationstation") including the blank space on it's left -
@LinuxArcadeGuy said in Silence and Appliance-ify your RetroPie Installation (i.e. Make it Startup and Shutdown Like a Console) **UPDATED FOR RetroPie v4.4.8**:
/etc/pam.d/login
I followed your steps, but am still seeing the terminal upon safe shutdown of my retroflag script. Any other advice to hide this text upon shutdown?
Thanks
-
I can't help you, I tried to remove the console outputs and after modifying the files it wouldn't boot. This discouraged me from trying it again.
It would be nice if this could be configurable on the GUI to be honest.
-
@cnoto goto command prompt or ssh in and type:
sudo nano /opt/RetroFlag/SafeShutdown.py
find this line:
os.system("sudo killall emulationstation && sleep 5s && sudo shutdown -h now")
add --no-wall after the word "now", just before the double quotes so it looks like this:
os.system("sudo killall emulationstation && sleep 5s && sudo shutdown -h now --no-wall")
Ctrl-O to save the changes
Ctrl-X to ExitBasically you are making the same change as OP showed but to the file that handles RetroFlag's safe shutdown. It will work with all of their cases including the GPi Case.
-
How do I know if i'm using a "POWERBLOCK" or "CONTROLBLOCK" ?
I have the Nespi case + with the safeshutdown thing. Is that a powerblock or a controlblock? Or netiher? xD -
@lesk said in Silence and Appliance-ify your RetroPie Installation (i.e. Make it Startup and Shutdown Like a Console) **UPDATED FOR RetroPie v4.4.8**:
Or netiher? xD
Neither. Powerblock/Controlblock - https://blog.petrockblock.com, created by RetroPie's creator @petrockblog.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.