diff --git a/Slax/debian/modules/03-desktop/rootcopy/root/.fluxbox/startup b/Slax/debian/modules/03-desktop/rootcopy/root/.fluxbox/startup index 1bf7aac..5219a2d 100644 --- a/Slax/debian/modules/03-desktop/rootcopy/root/.fluxbox/startup +++ b/Slax/debian/modules/03-desktop/rootcopy/root/.fluxbox/startup @@ -16,11 +16,7 @@ xsetroot -solid '#000000' -cursor_name watch # this is a bit tricky SND=/usr/share/sounds/startup.wav if [ -r $SND ]; then - sleep 1 & - SLEEPID=$! - cat $SND > /dev/null # preload whole file aplay $SND & - wait $SLEEPID fi # Applications you want to run with fluxbox. diff --git a/Slax/debian/modules/03-desktop/rootcopy/usr/bin/fblogout b/Slax/debian/modules/03-desktop/rootcopy/usr/bin/fblogout index 4f50577..1526f08 100755 --- a/Slax/debian/modules/03-desktop/rootcopy/usr/bin/fblogout +++ b/Slax/debian/modules/03-desktop/rootcopy/usr/bin/fblogout @@ -10,9 +10,8 @@ exec xlunch --input /etc/xlunch/logout.dsv --noprompt \ SND=/usr/share/sounds/shutdown.wav if [ "$LINE" != "" -a -r $SND ]; then - cat $SND > /dev/null # precache aplay $SND & - sleep 2 + sleep 1 fi if [ "$LINE" = "logout" ]; then diff --git a/Slax/debian/modules/03-desktop/rootcopy/usr/share/sounds/shutdown.wav b/Slax/debian/modules/03-desktop/rootcopy/usr/share/sounds/shutdown.wav new file mode 100644 index 0000000..f25e698 Binary files /dev/null and b/Slax/debian/modules/03-desktop/rootcopy/usr/share/sounds/shutdown.wav differ diff --git a/Slax/debian/modules/03-desktop/rootcopy/usr/share/sounds/startup.wav b/Slax/debian/modules/03-desktop/rootcopy/usr/share/sounds/startup.wav new file mode 100644 index 0000000..ce9dbca Binary files /dev/null and b/Slax/debian/modules/03-desktop/rootcopy/usr/share/sounds/startup.wav differ