Ok, Something I just discovered is if I disable the soundcard for
pulseaudio in pavucontrol. Clicking on the script works. I still find it
strange however that this is not the case if I run the script on the
command line. It runs regardless.
Jim
On 2021-11-06 11:29 p.m., William Park via talk wrote:
My guess is environment variable. Maybe you got some variable as
"normal shell variable" instead of "environment variable". Script
will get environment variables, but not normal shell variables.
--William
On 11/6/21 8:25 AM, Jim Ruxton via talk wrote:
Hello,
I'm having trouble with a simple script. It adds a second sounccard.
This command works on the command line but not in a script. Any ideas
why?
The command line is:
alsa_out -j secondInterface -d hw:3 -c 6
or in a script :
#!/bin/bash
alsa_out -j secondInterface -d hw:3 -c 6
I have also tried the shebang #!/bin/sh with the same result.
alsa_out is in /usr/bin . I'm on Ubuntu 20.04.
Thanks for any advice here.
Jim
---
Post to this mailing list [email protected]
Unsubscribe from this mailing list
https://gtalug.org/mailman/listinfo/talk
---
Post to this mailing list [email protected]
Unsubscribe from this mailing list
https://gtalug.org/mailman/listinfo/talk
---
Post to this mailing list [email protected]
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk