I have been trying to replicate the following in a script:
# optirun bash # wine steam
I have tried using
optirun bash -c "command"
but apparently wine spawns programs as a child process and then terminates which exits the bash shell with optirun on it. Is there a way to keep the child processes inside the same shell too?
Last edited by b4bblefish (2013-03-04 00:50:45)
Aren't they still optirun'd?
Don't think so. I have tried the nvidia fix for it, but it doesn't work, but that might be because i'm using the bumblebee-nvidia package
Last edited by b4bblefish (2013-03-03 20:19:08)
Try something like
optirun bash -c 'wine steam; while pgrep wine; do sleep 5; done'
Awesome that works! Thanks!