Page 1 of 1

Clean startup

Posted: Thu Nov 20, 2025 3:32 pm
by Twardowsky29
I have another question that neither I nor chatGPT knows the answer to: I it possible to make RPI do a clean startup? When I power it on I get cursor blink for a second and just a little bit of text before HUDIY loads and I tried removing it but without success. Let me know if there's any solution.

Re: Clean startup

Posted: Thu Nov 20, 2025 5:42 pm
by hudiy
Any kind of console cursor should disappear after adding vt.global_cursor_default=0 to /boot/firmware/cmdline.txt. This parameter is added automatically during the Hudiy installation.

Another parameter that should hide all text printed during startup is quiet which is included in cmdline.txt by default.

Could you please paste the contents of /boot/firmware/cmdline.txt?

Re: Clean startup

Posted: Thu Nov 20, 2025 6:01 pm
by Twardowsky29
cmdline.txt:

Code: Select all

console=tty1 root=PARTUUID=6a14ba1a-02 rootfstype=ext4 fsck.repair=yes rootwait  silent quiet splash loglevel=0 logo.nologo cfg80211.ieee80211_regdom=PL plymouth.ignore-serial-consoles vt.global_cursor_default=0
I've been fighting that cursor for a long time now... :)

Re: Clean startup

Posted: Thu Nov 20, 2025 6:20 pm
by hudiy
cmdline.txt looks good. These parameters should silence everything during Raspberry Pi OS boot. Could you take a photo of the exact cursor you mean?

Or do you perhaps mean diagnostic information printed by the firmware (before Linux starts)?

https://www.raspberrypi.com/documentati ... iagnostics

It can be disabled by editing eeprom config:

https://www.raspberrypi.com/documentati ... SABLE_HDMI

https://www.raspberrypi.com/documentati ... figuration

Re: Clean startup

Posted: Thu Nov 20, 2025 7:14 pm
by Twardowsky29
Sure, here's the pic:
20251120_201040.jpg
20251120_201040.jpg (2.04 MiB) Viewed 835 times

Re: Clean startup

Posted: Thu Nov 20, 2025 8:25 pm
by hudiy
Ah, so you mean the mouse cursor. The mouse cursor is managed by labwc, which is the default window compositor on Raspberry Pi OS.

There isn't a perfect way to hide the cursor in labwc (no simple config option), but starting from version 0.8.4 labwc includes a HideCursor action that can be bound to a keyboard shortcut or a windowRule.

As a workaround you can assign HideCursor and WarpCursor to keyboard shortcut in $HOME/.config/labwc/rc.xml like (take the touch node from your current config):

Code: Select all

<?xml version="1.0"?>
<openbox_config xmlns="http://openbox.org/3.4/rc">
  <touch deviceName="WaveShare WS170120" mapToOutput="HDMI-A-1" mouseEmulation="no"/>

  <keyboard>
    <keybind key="A-W-h">
      <action name="HideCursor" />
      <action name="WarpCursor" x="-1" y="-1" />
    </keybind>
  </keyboard>
</openbox_config>
then using the wtype tool you can simulate defined key binding e. g. in /etc/xdg/labwc/autostart:

Code: Select all

sudo apt install wtype
sudo nano /etc/xdg/labwc/autostart

Code: Select all

/usr/bin/wtype -M alt -M logo h -m alt -m logo
/usr/bin/lwrespawn /usr/bin/pcmanfm-pi &
/usr/bin/lwrespawn /usr/bin/wf-panel-pi &
/usr/bin/kanshi &
/usr/bin/lxsession-xdg-autostart
More details about labwc configuration:
https://labwc.github.io/labwc-config.5.html
https://labwc.github.io/labwc-actions.5.html

Re: Clean startup

Posted: Fri Nov 21, 2025 9:04 am
by Twardowsky29
Okay, I managed to get it working, looks great now , thanks a lot.