Jim accidently sent this to me privately instead of to the list.  He 
confirmed this in further private email.  (I normally don't like copying 
private email to a public list.)

---------- Forwarded message ----------
From: Jim Ruxton <[email protected]>
Date: Sat, 6 Nov 2021 10:24:43 -0400
Subject: Re: [GTALUG] Command doesn't work in script but works on command line?

I am running the script by double clicking on it after making it executable and
setting scripts to run this way via nautilus.  All the other scripts I wrote run
fine this way. I tried running the script from the command line and that does
work. So it is only not running correctly when activated by the mouse? Still a
mystery.

Jim

On 2021-11-06 10:04 a.m., D. Hugh Redelmeier wrote:
> | From: Jim Ruxton via talk <[email protected]>
>
> | 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?
>
> How are you running that script?  Is it from a cron script or something
> like it?  Does your script work when invoked from your command line?
>
> I haven't paid attention to JACK, but I assume that each Linux user
> session has some kind of jack context -- plumbing done by one user should
> not affect the plumbing of another user.  I don't really see this issue
> addressed in the first few jack documents I read.
>
> My guess is that your script is modifying a different context from the one
> you are observing.  That's really vague and hand-wavy, but that's the
> direction I'd investigate.
---
Post to this mailing list [email protected]
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk

Reply via email to