I have been trying to find a way to interrupt a NANO .service I have set up to let a splash screen play for 1 minute no matter if the desktop is fully loaded or not and I have been having trouble figuring out how to make a script be able to let me kill the delay if the Desktop is fully loaded and there is a user input.
P.S. it’s like that one guy that put the full Shrek movie on the Steam deck and had to watch the whole thing before he was allowed to go to the desktop all over again
1 Like
What’s the goal behind this custom service you set up? I think you might need to just stop using it.
The purpose of the service file was to delay the desktop because I made a Splash screen but the issue was it would instantly load to Plasmashell and I wanted to play the whole animation but with my older PC it takes longer to load the plasmashell so I wanted to use a longer custom Splash and I wanted to know if there’s a way to detect user input and skip to desktop if the both the conditions Plasmashell is loaded and user input is true on login
I’m kinda new to linux but I have been trying to learn what’s possible and what’s not and How the OS process stuff
This is what’s in my .Service file I made for the Plasmashell delay
[Unit]
Description=Wait for Splash Animation
Before=plasma-plasmashell.service plasma-ksmserver.service
StartLimitIntervalSec=0
#If it restarts more than 5 times in 10 seconds, STOP it.
StartLimitBurst=5
StartLimitIntervalSec=10
[Service]
Type=oneshot
ExecStart=/usr/bin/sleep 10
RemainAfterExit=yes
# redirect any output from the sleep command to null
StandardOutput=null
StandardError=null
LogLevelMax=3
[Install]
WantedBy=plasma-workspace.target
1 Like
why not just shorten the time to the exact length of the animation?
i’m not knowledgeable enough to tell you how to do what you’re asking for, sadly.
that post script is hilarious 