I had just the same problem with Vimprobable. The thing to do is call it with a script. So in Alpine's settings, where you now have lynx, substitute "lynx_launcher". Then create the file lynx_launcher somewhere in your path (by convention, /usr/local/bin), remembering to make it executable:
- Code: Select all
/usr/bin/vimprobable2 "$@" 2> /dev/null &
The second line is because I use privoxy, so if you don't leave it out. But the key thing is the '&' at the end which backgrounds the process, so you return to Alpine. The "$@" passes an argument to the app, in this case the URL.
Obviously replace "vimprobable2" with the app name - it's almost certainly in /usr/bin
Actually, lynx is a CLI app, isn't it, so that means you need to call it in an xterm:
/usr/bin/xterm -e lynx "$@" 2> /dev/null &
I'm pretty sure that's the correct way.
EDIT not quite - tested and corrected. This works here.