icewm icon indicating copy to clipboard operation
icewm copied to clipboard

Only startup.wav works with icewm-session --sound (icesound)

Open hunter2k01 opened this issue 2 years ago • 7 comments

Hello,

I've been doing a lot of tweaking with my favorite window manager today. I only recently found out there is a sound theme system (icesound) and I've enabled it via .xinitrc when launching my icewm-session with the --sound flag:

exec dbus-launch --exit-with-session icewm-session --sound --nobg ^ My .xsession & .xinitrc

I downloaded the "warp" theme from the icewm website and managed to get it semi-working by extracting all the sounds to $HOME/.icewm/sounds. I say semi-working because only the "startup.wav" works when there are all sorts of other sounds that came with it.

This is icewm 2.9.4 on FreeBSD 13.0-RELEASE. Any help or clarity is appreciated. :-)

hunter2k01 avatar Mar 09 '22 16:03 hunter2k01

What sound interface?

icesound --list-interfaces

Does this work?

for f in $(icesound --list-sounds) ; do if test -f ~/.icewm/sounds/$f ; then echo "Playing $f"; icesound -p $f; else echo "Skipping $f"; fi ; done

gijsbers avatar Mar 09 '22 20:03 gijsbers

What sound interface? OSS.

Does this work? Says "illegal variable name"

ghost avatar Mar 10 '22 01:03 ghost

What shell do you use?

gijsbers avatar Mar 10 '22 06:03 gijsbers

What shell do you use?

It's tcsh. I just ran the command in a terminal emulator because I assumed that's what you meant.

ghost avatar Mar 13 '22 15:03 ghost

It is a bash script. Can you start bash and run it?

gijsbers avatar Mar 13 '22 17:03 gijsbers

It works. It played all of the sounds.

ghost avatar Mar 14 '22 15:03 ghost

Good. Monitor sound events with icesh guievents. For each line icesound should play a sound.

gijsbers avatar Mar 14 '22 17:03 gijsbers