What you can do is create a script that sets the variable, then launches Firefox.
Just run 'sudo gedit /usr/local/bin/firefox'. Then paste the following into the file and save: #!/bin/bash export PULSE_LATENCY_MSEC=20 exec /usr/bin/firefox "$@" Then run 'sudo chmod a+x /usr/local/bin/firefox'. This will intercept launches of firefox and set the environment variable first. -- PulseAudio causes sound latency in 8.10 https://bugs.launchpad.net/bugs/294666 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs