On Mon, Dec 23, 2024 at 07:17:49 -0500, Greg Wooledge wrote:
>  1) Verify that "snap run brave" is the right invocation by typing
>     that into a shell.
> 
>  2) If that's working, then create a shell script:
> 
>     mkdir -p ~/bin
>     printf '#!/bin/sh\nexec snap brave run\n' > ~/bin/brave
>     chmod 755 ~/bin/brave

Actually, you may need to be able to pass additional arguments to the
browser, so:

    mkdir -p ~/bin
    printf '#!/bin/sh\nexec snap brave run "$@"\n' > ~/bin/brave
    chmod 755 ~/bin/brave

That should be more flexible.

Reply via email to