user environment diff btwn firefox launched from cli & firefox launched from the menu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Recently I was some implementing some LXC desktop environments and came across a difference regarding Firefox when started from the CLI or started from a Menu.
In my use-case I use the Pulseaudio module module-
in particular... this is done by adding the following to /etc/pulse/
Then in each LXC container user's .bashrc I add:
Which redirects sound in the LXC container to 10.0.3.1 which is the Host & the Host's Pulseaudio server.
aplay /usr/share/
However, I found that only with Firefox (and Chrome) launched from the Ubuntu menu there was no sound/audio.
If I launched either Firefox or Chrome from the CLI where the User environment had the PULSE_SERVER=
After digging around I found that launching from the Ubuntu menu doesn't execute the Firefox binary directly but via a shell script in /var/lib/
If I add: "export PULSE_SERVER=
I decided to file a bug on this because I'd expect that the User "environment" for Firefox should be the same whether launched from CLI or from the menu.