OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Hardware => Topic started by: Ibrahim Hakeem on July 03, 2018, 07:32:24 pm

Title: Ways to make Arca OS wait until shutdown sound plays?
Post by: Ibrahim Hakeem on July 03, 2018, 07:32:24 pm
As the title states, my current Thinkpad goes through the shutdown sequence too quickly to even start playing a shutdown sound. I was hoping to see if there's any way to force a delay that would allow the sound to play or a similar remedy.

The Thinkpad I'm running is an X220i with the UniAud driver.

Thank you
Title: Re: Ways to make Arca OS wait until shutdown sound plays?
Post by: Dave Yeo on July 04, 2018, 08:07:52 am
You might be able to do something with the settings under the XShutdown tab in the Desktop properties (right click the desktop) or even add a small script to play the sound in the Xshutdown folder (create it in the above tab).
Title: Re: Ways to make Arca OS wait until shutdown sound plays?
Post by: Ibrahim Hakeem on July 06, 2018, 07:08:05 pm
xShutdown would be the first thing I'd have checked, however I don't have any of the xwp enhancements installed in my setup :(
Title: Re: Ways to make Arca OS wait until shutdown sound plays?
Post by: roberto on July 06, 2018, 11:47:00 pm
You can install OS/4 kernel.
More info https://www.os2world.com/wiki/index.php/Phoenix_OS/4
saludos
Title: Re: Ways to make Arca OS wait until shutdown sound plays?
Post by: Dave Yeo on July 07, 2018, 01:22:48 am
xShutdown would be the first thing I'd have checked, however I don't have any of the xwp enhancements installed in my setup :(

Usually ArcaOS does have xwp installed so I took it for granted that it was.
Title: Re: Ways to make Arca OS wait until shutdown sound plays?
Post by: André Heldoorn on July 10, 2018, 09:33:51 am
I'm not an ArcaOS user, nor are all OS changes publicly known: append a few seconds of silence to the sound file? Use one of the lesser shutdown utilities to play an own sound with e.g. Rexx (and MCPAPI.DLL), wait for it to finish and - if still needed - pause for a few milliseconds?

If the OS doesn't wait now, then appending silence may be useless. Instead of a test with a prefix or suffix of silence, you'd better try an existing file (e.g. a song) which lasts longer first.